diff options
author | Dave Watson <[email protected]> | 2018-02-14 09:40:19 -0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-02-22 22:16:49 +0800 |
commit | ae952c5ec655b2b8bb337acb554d53481b0e01bc (patch) | |
tree | ef96fbbe5a3a2edfb7d96bf89e874cc1f74f1aa2 /lib/string.c | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions