diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-05-21 15:34:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-30 09:30:05 +0200 |
commit | e345177ded17611e36c067751d63d64bf106cb54 (patch) | |
tree | b0528386bee2050f73c785599c4da184ef510d01 /Documentation/crypto | |
parent | crypto: talitos - Align SEC1 accesses to 32 bits boundaries. (diff) | |
download | linux-e345177ded17611e36c067751d63d64bf106cb54.tar.xz linux-e345177ded17611e36c067751d63d64bf106cb54.zip |
crypto: talitos - fix AEAD processing.
This driver is working well in 'simple cases', but as soon as
more exotic SG lists are provided (dst different from src,
auth part not in a single SG fragment, ...) there are
wrong results, overruns, etc ...
This patch cleans up the AEAD processing by:
- Simplifying the location of 'out of line' ICV
- Never using 'out of line' ICV on encryp
- Always using 'out of line' ICV on decrypt
- Forcing the generation of a SG table on decrypt
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: aeb4c132f33d ("crypto: talitos - Convert to new AEAD interface")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/crypto')
0 files changed, 0 insertions, 0 deletions