Skip to content

AES256 zeroIV length Issue in CMAC#261

Open
mhamid99 wants to merge 1 commit intobcgit:masterfrom
mhamid99:bugfix/aes256_iv_length
Open

AES256 zeroIV length Issue in CMAC#261
mhamid99 wants to merge 1 commit intobcgit:masterfrom
mhamid99:bugfix/aes256_iv_length

Conversation

@mhamid99
Copy link

@mhamid99 mhamid99 commented Oct 1, 2025

CMAC gets wrong zeroIV length when keyParams.key.length is used. Because of this, _cipher.blockSize should be used to fix the issue.

@emiliano-certezia
Copy link

Hi! This is the correct solution to the issue AFAIK. Why is this PR still a draft? When can we expect for this to be merged to master?

@mhamid99 mhamid99 marked this pull request as ready for review December 16, 2025 02:38
@mhamid99
Copy link
Author

mhamid99 commented Dec 16, 2025

Hi! This is the correct solution to the issue AFAIK. Why is this PR still a draft? When can we expect for this to be merged to master?

Hello @emiliano-certezia! thank you for your comment. It's now ready for review and can be merged.

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

Successfully merging this pull request may close these issues.

2 participants

Comments