Closed dineshchitlangia closed 2 years ago
Thanks for reporting @dineshchitlangia.
From experimenting with encode lengths it looks like small buffers are fine but openssl EVP_EncryptUpdate() now has a size limit of 16777216 bytes = 2^24 and only for xts. I don't see this in the openssl documentation but if true, we may have to loop the update() for large sizes.
Also from the openssl docs they don't support streaming.
The XTS implementation in OpenSSL does not support streaming. That is there must only be one EVP_EncryptUpdate(3) call per EVP_EncryptInit_ex(3) call
So a direct comparison for a very large buffer may be impossible.
Thanks @gbtucker for looking into this and the pointers. Appreciate it.
After we build successfully on a machine with OpenSSL 3.0.2, only the following functions fail:
We get the following error: