commit | ce6795593ba572ace9195b8e573e15f86fb411dd | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Mon May 14 15:10:59 2018 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sun May 27 00:11:38 2018 +0800 |
tree | 03e9396fd0178b1b0e9a75abfdeae85c8f5e977e | |
parent | fef0cfe577e9c8c75ba574d669eec55ac6ab0bad [diff] |
crypto: inside-secure - make the key and context size computation dynamic This patches makes the key and context size computation dynamic when using memzero_explicit() on these two arrays. This is safer, cleaner and will help future modifications of the driver when these two parameters sizes will changes (the context size will be bigger when using AEAD algorithms). Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>