summaryrefslogtreecommitdiffstats
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-27 14:37:26 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-28 11:23:16 +0800
commit693b549d39ea755abea721eb53b4262f75f41fb9 (patch)
tree565cefc1fb3824e8eecc269e939946385126ef6d /crypto/scatterwalk.c
parent6d7e3d89954af773c70948a54cfa2aaa15907c1c (diff)
downloadlinux-693b549d39ea755abea721eb53b4262f75f41fb9.tar.gz
linux-693b549d39ea755abea721eb53b4262f75f41fb9.tar.xz
crypto: aead - Document behaviour of AD in destination buffer
This patch defines the behaviour of AD in the new interface more clearly. In particular, it specifies that if the user must copy the AD to the destination manually when src != dst if they wish to guarantee that the destination buffer contains a copy of the AD. The reason for this is that otherwise every AEAD implementation would have to perform such a copy when src != dst. In reality most users do in-place processing where src == dst so this is not an issue. This patch also kills some remaining references to cryptoff. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions