Repository navigation
Fix AES and OAEP parameter checks and output lengths - #238
Open
aidangarske wants to merge 127 commits into
Open
aidangarske wants to merge 127 commits into
aidangarske wants to merge 127 commits into
Conversation
18 tasks
aidangarske
force-pushed
the
fenrir-fixes-10377-10393
branch
2 times, most recently
from
October 9, 2026 02:00
3bec609 to
222c6dc
Compare
aidangarske
force-pushed
the
fenrir-fixes-10377-10393
branch
from
October 10, 2026 03:20
222c6dc to
51df5b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
F-10377- ec18cbe - C_EncryptFinal for AES-CBC-PAD now sets *pulLastEncryptedPartLen after a successful final block.F-10393- 65ebde2 - WP11_Session_SetOaepParams now returns CKR_MECHANISM_PARAM_INVALID for a NULL label with a non-zero length.F-11513- 7cd84ca - The AES-CCM nonce length is now limited to 7 through 13 bytes.F-3143- 17adc77 - The AES-CTR arm of C_Decrypt now checks the output buffer pointer for the size query instead of the input pointer.F-2378- 153270c - Single-part C_Encrypt and C_Decrypt for AES-CBC and AES-ECB now return CKR_DATA_LEN_RANGE or CKR_ENCRYPTED_DATA_LEN_RANGE for data that is not block aligned, and end the operation.F-12459- 3e37277 - GetEcbCheckValue now encrypts a single stack zero block instead of key-length heap bytes, and zeroizes the result.F-4963- ffeca7c - AES-GCM encrypt and decrypt init now reject an IV or AAD length above INT_MAX and a tag size above 128 bits, and WP11_Session_SetGcmParams rejects negative values.F-4959- 6a72c9e - AES-CCM encrypt and decrypt init now reject any length field above INT_MAX, and WP11_Session_SetCcmParams requires an even MAC size from 4 to 16 and non-negative data and AAD sizes.F-4735- 222c6dc - OAEP encrypt and decrypt init now reject a source data length above INT_MAX, and the setter rejects a negative label size.