diff options
author | Tudor-Dan Ambarus <[email protected]> | 2018-03-23 12:42:19 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-03-31 01:33:12 +0800 |
commit | cc4ccaafcbddb88d661143c779af08d4ed8798ae (patch) | |
tree | a87700ae3612c4e3c7de2ff00dfae9d3fb34d4a0 /lib/test_overflow.c | |
parent | 61dab9726050b0ffa826f1b540e9518768914b76 (diff) |
crypto: caam/qi - don't leak pointers to authenc keys
In caam/qi's aead_setkey we save pointers to the authenc keys in
a local variable of type struct crypto_authenc_keys and we don't
zeroize it after use. Fix this and don't leak pointers to the
authenc keys.
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions