Commit Graph

27 Commits

Author SHA1 Message Date
Dong Heng
b19da4ffcd feat(util): support SHA224/SHA384 calculation although call sha256/sha512 APIs 2020-01-06 16:57:02 +08:00
Dong Heng
b22182f70f Merge branch 'feature/mbedtls_using_util_algorithm_v3.3' into 'release/v3.3'
mbedtls: mbedtls using SHA/AES of util component instead of its raw algorithm (backport v3.3)

See merge request sdk/ESP8266_RTOS_SDK!1240
2019-12-26 10:48:01 +08:00
Dong Heng
ffaaf07089 feat(mbedtls): mbedtls using SHA/AES of util component instead of its raw algorithm 2019-12-26 10:36:55 +08:00
Dong Heng
0f7eacd772 fix(util): fix sha384/512 data calculation overflow 2019-12-23 17:01:39 +08:00
Dong Heng
b29087fd5c feat(util): refactor SHA algorithm of util components 2019-12-17 15:27:26 +08:00
dongheng
ca3e701001 feat(util): add AES OFB calculation 2019-10-09 17:50:20 +08:00
dongheng
ffcac9caca feat(util): add AES XTS and its unit test 2019-09-24 15:12:08 +08:00
Dong Heng
73e3a7d4d6 Merge branch 'feature/add_rc4_algorithm_in_util' into 'master'
feat(util): Add ARC4 for ESP8266 SoC

See merge request sdk/ESP8266_RTOS_SDK!1028
2019-08-07 12:11:31 +08:00
Dong Heng
3aa6377476 Merge branch 'feature/add_md5_algorithm_in_util' into 'master'
feat(util): Add md5 algorithm to util

See merge request sdk/ESP8266_RTOS_SDK!1024
2019-08-07 12:10:00 +08:00
yuanjm
98a46e435f feat(util): Add ARC4 algorithm to util 2019-08-02 18:01:34 +08:00
yuanjm
6f86c07c49 feat(util): Add faster MD5 for ESP8266 SoC 2019-08-02 15:58:49 +08:00
dongheng
114d2b5b86 feature(script): update compiling script for new make and cmake 2019-08-02 14:02:45 +08:00
yuanjm
d5532a270c feat(util): Add md5 algorithm to util and use memcpy to replace some "=" value assignment
Use memcpy can reduce md5 cost time from 64us to 49us once, improve 23% performance
2019-08-01 11:15:17 +08:00
dongheng
cca13e0f99 feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
2019-05-16 16:22:11 +08:00
dongheng
0fa41f1fb9 fix(util): Fix unaligned access to the flash if some LUT is type of "uint8_t" or "uint16_t"
Make the "uint8_t" or "uint16_t" LTU 4-byte-align.
2019-05-06 10:54:22 +08:00
dongheng
0b571f4c58 feat(util): Use independent "util_assert" instead of "assert" 2019-04-24 14:58:58 +08:00
Dong Heng
1c835ba08a feat(util): Add faster AES for ESP8266 SoC 2019-04-22 16:46:20 +08:00
dongheng
768afde238 feat(util): Add extra SHA and unit test
1. wpa_supplicatn use extra SHA default
2. mbedtls use extra SHA default
3. bootloader use extra SHA default
4. user code can use extra SHA default

Above all, using unified module is easy to maintenance code and save rom or ram.
2019-04-15 16:18:21 +08:00
Dong Heng
17fc3ab6ba feat(util): Refactor CRC algorithm 2019-04-01 16:09:16 +08:00
dongheng
2449523a8e feat(util): Add IBus get data function
Using the macro to get uint8_t/uint16_t type data from IBus is much faster.
2019-03-29 19:38:22 +08:00
Dong Heng
01bc5bff4e feat(util): Add base64 codec to util 2018-11-08 11:19:50 +08:00
Zhang Jun Hao
03476f16c5 feat(util): use const table to calculate crc8 2018-11-04 17:19:41 +08:00
Zhang Jun Hao
52648d915d feat(util): add crc16 support 2018-09-07 16:02:31 +08:00
Wu Jian Gang
a411ce44c9 feat(esp8266): add phy APIs
1. support save cal data in nvs;
2. support use phy partition to store init data;

In old SDK, we use (max_sec - 3) as init data sector, and (max_sec - 4) as cal data sector. This is changed in IDF style SDK, and these 2 sectors can be used for other perpose.
2018-07-06 10:52:43 +08:00
Wu Jian Gang
1f2f10c7d4 feat(util): add esp_crc8 for efuse check 2018-06-28 19:40:04 +08:00
Dong Heng
b1a9eccf28 feat(nvs_flash): Add CRC32 for NVS 2018-06-08 19:46:09 +08:00
Dong Heng
652607b9a8 feat(util): Bring esp_err.h from esp-idf 2018-06-01 11:26:33 +08:00