diff options
author | Dave Watson <davejwatson@fb.com> | 2018-12-10 20:59:26 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-23 04:52:42 +0100 |
commit | ec8c02d9a30b8324d7aae9e4e7a08973a8eaa8b4 (patch) | |
tree | c02c25aaf62e53d68b66a754356315502e3c98fb /arch/powerpc | |
parent | crypto: aesni - Move ghash_mul to GCM_COMPLETE (diff) | |
download | linux-ec8c02d9a30b8324d7aae9e4e7a08973a8eaa8b4.tar.xz linux-ec8c02d9a30b8324d7aae9e4e7a08973a8eaa8b4.zip |
crypto: aesni - Introduce READ_PARTIAL_BLOCK macro
Introduce READ_PARTIAL_BLOCK macro, and use it in the two existing
partial block cases: AAD and the end of ENC_DEC. In particular,
the ENC_DEC case should be faster, since we read by 8/4 bytes if
possible.
This macro will also be used to read partial blocks between
enc_update and dec_update calls.
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions