feat(libSceLibreSsl): implement EVP_aes_{128,192,256}_wrap #16539
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16539"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-07T02:11:08Z.
What
Implements
EVP_aes_128_wrap,EVP_aes_192_wrapandEVP_aes_256_wrap(RFC 3394 AES key wrap) in libSceLibreSsl, and replaces the threeNotImplementedstubs in libSceLibreSsl3 with forwards to the parent export, as the GCM ciphers already do.obj_mac.num), block and IV 8 bytes, key 16/24/32 bytes, flags follow LibreSSL 2.5.4e_aes.cWRAP_FLAGS.EVP_CipherInit_exkeeps theEVP_CIPHER_CTX_FLAG_WRAP_ALLOWbit across a cipher change and rejects wrap-mode ciphers without it, as upstream does.docs/dev/debt/libSceLibreSsl.md.Tested
guest_libressl_evp_cipher_ctxon Linux (Debian, GCC, archive build on this host),BUILD-EXIT 0,1/1 Test #3133: guest_libressl_evp_cipher_ctx ... Passed.NotImplemented, so the new test is expected to fail there, but that has not been measured.Checklist
tools/check_conventions.pypassesgit diff --checkcleanAI-assisted: yes