diff options
author | Dave Watson <davejwatson@fb.com> | 2018-02-14 09:40:19 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-22 22:16:49 +0800 |
commit | ae952c5ec655b2b8bb337acb554d53481b0e01bc (patch) | |
tree | ef96fbbe5a3a2edfb7d96bf89e874cc1f74f1aa2 /fs/ext4/mballoc.h | |
parent | 1476db2d129d5e4fc59e93a7abd22edcb26b52f5 (diff) |
crypto: aesni - Introduce partial block macro
Before this diff, multiple calls to GCM_ENC_DEC will
succeed, but only if all calls are a multiple of 16 bytes.
Handle partial blocks at the start of GCM_ENC_DEC, and update
aadhash as appropriate.
The data offset %r11 is also updated after the partial block.
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/ext4/mballoc.h')
0 files changed, 0 insertions, 0 deletions