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. | před 3 roky | |
---|---|---|
.. | ||
dox_comments | před 3 roky | |
formats | před 3 roky | |
images | před 6 roky | |
README.txt | před 4 roky | |
README_DOXYGEN | před 6 roky | |
check_api.sh | před 5 roky | |
generate_documentation.sh | před 5 roky | |
include.am | před 6 roky |