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