14 Commits

Author SHA1 Message Date
ffcac9caca feat(util): add AES XTS and its unit test 2019-09-24 15:12:08 +08:00
98a46e435f feat(util): Add ARC4 algorithm to util 2019-08-02 18:01:34 +08:00
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
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
0b571f4c58 feat(util): Use independent "util_assert" instead of "assert" 2019-04-24 14:58:58 +08:00
1c835ba08a feat(util): Add faster AES for ESP8266 SoC 2019-04-22 16:46:20 +08:00
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
17fc3ab6ba feat(util): Refactor CRC algorithm 2019-04-01 16:09:16 +08:00
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
01bc5bff4e feat(util): Add base64 codec to util 2018-11-08 11:19:50 +08:00
03476f16c5 feat(util): use const table to calculate crc8 2018-11-04 17:19:41 +08:00
52648d915d feat(util): add crc16 support 2018-09-07 16:02:31 +08:00
1f2f10c7d4 feat(util): add esp_crc8 for efuse check 2018-06-28 19:40:04 +08:00
b1a9eccf28 feat(nvs_flash): Add CRC32 for NVS 2018-06-08 19:46:09 +08:00