LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
In current design of GCM encryption scheme, the memory space for gcm_state only gets freed at the end of gcm_memory(), which might have a potential risk of key leakage during a crash. A call of gcm_reset() was added to prevent this leakage.
In current design of GCM encryption scheme, the memory space for gcm_state only gets freed at the end of gcm_memory(), which might have a potential risk of key leakage during a crash. A call of
gcm_reset()
was added to prevent this leakage.Checklist