mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-07 11:09:06 +00:00
tpm2: Add 'libtpms bugfix' comment to CMAC fix
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
08ede08509
commit
271b05fdcf
@ -87,7 +87,7 @@ CryptCmacStart(
|
||||
//
|
||||
if(macAlg != TPM_ALG_CMAC)
|
||||
return 0;
|
||||
MemorySet(cState, 0, sizeof(*cState));
|
||||
MemorySet(cState, 0, sizeof(*cState)); // libtpms bugfix
|
||||
// set up the encryption algorithm and parameters
|
||||
cState->symAlg = def->algorithm;
|
||||
cState->keySizeBits = def->keyBits.sym;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user