Daniel Pouzzner 5d9ee97530 WOLFSSL_AES_CBC_LENGTH_CHECKS: add gated logic to aes.c wc_AesCbc{En,De}crypt() to return BAD_LENGTH_E when input length is not a multiple of AES_BLOCK_SIZE; add gated tests of new functionality in test_wc_AesCbcEncryptDecrypt(); fix first encrypt-decrypt-memcmp in test_wc_AesCbcEncryptDecrypt() to span all of test vector and extend test vector length to be block-multiple; add ungated logic in platform-specific wc_AesCbc{En,De}crypt() routines to return with early success when blocks == 0 (also mitigates buffer overrun on short (less-than-AES_BLOCK_SIZE) input); add BAD_LENGTH_E error code; update documentation. | 3 years ago | |
---|---|---|
.. | ||
dox_comments | 3 years ago | |
formats | 3 years ago | |
images | 6 years ago | |
README.txt | 4 years ago | |
README_DOXYGEN | 5 years ago | |
check_api.sh | 5 years ago | |
generate_documentation.sh | 5 years ago | |
include.am | 6 years ago |