diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-04-17 14:54:08 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-21 09:14:38 +0800 |
commit | a73b9524f62b17b2f24e8ed3063f398a1412eeae (patch) | |
tree | 6853b0aa7ad72665b52849cb952af225ca7eba46 /crypto/pcrypt.c | |
parent | d6648305e24043502a8b44b913ca32bef4884674 (diff) | |
download | linux-crypto-a73b9524f62b17b2f24e8ed3063f398a1412eeae.tar.gz linux-crypto-a73b9524f62b17b2f24e8ed3063f398a1412eeae.zip |
cryoto: drbg - clear all temporary memory
The buffer uses for temporary data must be cleared entirely. In AES192
the used buffer is drbg_statelen(drbg) + drbg_blocklen(drbg) as
documented in the comment above drbg_ctr_df.
This patch ensures that the temp buffer is completely wiped.
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions