summaryrefslogtreecommitdiff
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2015-06-16 11:34:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-17 15:35:11 +0800
commit7d35919a760407365c337d7550d6e63d34adff6b (patch)
tree59d5315a4128e7855767f6476685d3e0afca0188 /crypto/salsa20_generic.c
parentdb1ae17ec0edbbcad46efc14fa8ef35f3fc426fc (diff)
downloadlinux-crypto-7d35919a760407365c337d7550d6e63d34adff6b.tar.gz
linux-crypto-7d35919a760407365c337d7550d6e63d34adff6b.zip
crypto: poly1305 - Pass key as first two message blocks to each desc_ctx
The Poly1305 authenticator requires a unique key for each generated tag. This implies that we can't set the key per tfm, as multiple users set individual keys. Instead we pass a desc specific key as the first two blocks of the message to authenticate in update(). Signed-off-by: Martin Willi <martin@strongswan.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions