Skip to content

Conversation

fishilico
Copy link

@fishilico fishilico commented May 29, 2022

Hello,

While testing Pull Request #7, projects/WjCryptLibTest/WjCryptLibTest was failing. Investing why led me to discovering a problem with the size of a stack buffer in the code which tests AES-CBC.

On x86-64, the AES-CBC test fails because the vector local buffer is to small to hold the encrypted test vector: the vector was created with 64 bytes while the buffer can only hold 48.

This Pull Requests increases TEST_VECTOR_OUTPUT_SIZE to 64 to fix this issue.

On x86-64, the AES-CBC test fails because the `vector` local buffer is
to small to hold the encrypted test vector: the vector was created with
64 bytes while the buffer can only hold 48.

Increase `TEST_VECTOR_OUTPUT_SIZE` to 64 to fix this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant