diff options
author | Catalin Vasile <cata.vasile@nxp.com> | 2016-08-31 14:57:55 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-07 15:08:28 +0200 |
commit | 5ba1c7b5ffc16ecf245f41805e46f7351c115e57 (patch) | |
tree | 69daadd2272b89761435c2ca559dafc34d949bc8 /crypto/algif_hash.c | |
parent | crypto: engine - permit to enqueue ashash_request (diff) | |
download | linux-5ba1c7b5ffc16ecf245f41805e46f7351c115e57.tar.xz linux-5ba1c7b5ffc16ecf245f41805e46f7351c115e57.zip |
crypto: caam - fix rfc3686(ctr(aes)) IV load
-nonce is being loaded using append_load_imm_u32() instead of
append_load_as_imm() (nonce is a byte array / stream, not a 4-byte
variable)
-counter is not being added in big endian format, as mandatated by
RFC3686 and expected by the crypto engine
Signed-off-by: Catalin Vasile <cata.vasile@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions