OpenSSL AES Decryption fails randomly C++

WuJinze 294843472 at qq.com
Sat Nov 12 10:17:31 UTC 2022


Dear OpenSSL Group,
    Greetings. I was working on writing simple aes encrypt/decrypt wrapper function in c++ and running into a strange problem. The minimal reproducible examples in gist seems working fine but when i uncomment lines 90-92, it will fail to decrypt randomly. Can someone help me to figure out what's wrong with the code?    Here is my code: OpenSSL AES Decryption fails randomly C++ (github.com). OpenSSL version is OpenSSL 1.1.1f. G++ version is 9.4.0.Regards, Jinze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20221112/1d490e41/attachment.htm>


More information about the openssl-users mailing list