Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aes_encrypt_cbc() + AES_CYPHER_256 w/ *data len < 24 == bad encrypt/decrpt #5

Open
MattDralle opened this issue Aug 13, 2022 · 0 comments

Comments

@MattDralle
Copy link

Maybe I'm missing something, but when I use aes_encrypt_cbc() || aes_encrypt_ecb + AES_CYPHER_256 + 32 byte key with a *data that is <= 23 bytes long, the encrypt/decrpt doesn't work right. If I increase *data to 24 or greater, works great. Also, if I use a 24 or 16 byte key with AES_CYPHER_256, it works with *data < 24 bytes.

Bug, or me?

Thanks,

Matt Dralle

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

No branches or pull requests

1 participant