diff options
author | Dave Watson <davejwatson@fb.com> | 2018-12-10 19:59:26 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-23 11:52:42 +0800 |
commit | ec8c02d9a30b8324d7aae9e4e7a08973a8eaa8b4 (patch) | |
tree | c02c25aaf62e53d68b66a754356315502e3c98fb /fs/fcntl.c | |
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>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions