diff options
author | Martin Willi <martin@strongswan.org> | 2015-06-16 11:34:16 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-17 15:35:11 +0800 |
commit | 7d35919a760407365c337d7550d6e63d34adff6b (patch) | |
tree | 59d5315a4128e7855767f6476685d3e0afca0188 /crypto/camellia_generic.c | |
parent | db1ae17ec0edbbcad46efc14fa8ef35f3fc426fc (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions