Added gcm_reset() to gcm_memory() to avoid key leakage
This commit is contained in:
parent
f37aad3f06
commit
9bb2608aa1
@ -106,6 +106,7 @@ int gcm_memory( int cipher,
|
||||
err = CRYPT_INVALID_ARG;
|
||||
}
|
||||
LTC_ERR:
|
||||
gcm_reset(gcm);
|
||||
XFREE(orig);
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user