commit | ec8c02d9a30b8324d7aae9e4e7a08973a8eaa8b4 | [log] [tgz] |
---|---|---|
author | Dave Watson <davejwatson@fb.com> | Mon Dec 10 19:59:26 2018 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sun Dec 23 11:52:42 2018 +0800 |
tree | c02c25aaf62e53d68b66a754356315502e3c98fb | |
parent | 517a448e09846732d46e983a2195002d05857919 [diff] |
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>