diff options
author | Eric Biggers <ebiggers@google.com> | 2019-10-12 21:39:15 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-23 19:46:58 +1100 |
commit | 7740bd51efd697fe3750c7317229ec83571f5d98 (patch) | |
tree | 2e40c28085ac630f59d207bd5029a832ab01fe67 /drivers/siox/siox-bus-gpio.c | |
parent | 713b2e7203354a52ec65a913e89c957bfc8d9220 (diff) |
crypto: nx - don't abuse blkcipher_desc to pass iv around
The NX crypto driver is using 'struct blkcipher_desc' to pass the IV
around, even for AEADs (for which it creates the struct on the stack).
This is not appropriate since this structure is part of the "blkcipher"
API, which is deprecated and will be removed.
Just pass around the IV directly instead.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/siox/siox-bus-gpio.c')
0 files changed, 0 insertions, 0 deletions