Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Fix to AES-CMAC bug #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix to AES-CMAC bug #34

wants to merge 3 commits into from

Conversation

mpp-owainc
Copy link

@mpp-owainc mpp-owainc commented Oct 16, 2018

My colleague @mpp-anasa and I discovered that in certain scenarios where tc_cmac_update is called multiple times, an extra padding block can be created causing an invalid MAC to be generated.

I've included a modified version of the 512bit test that will fail on the existing version.

mczraf and others added 3 commits January 24, 2018 11:10
…ed if the second to last call to update `leftover` and the final update call `remaining` equalled the size of the AES block.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants