diff options
author | Martin Willi <martin@strongswan.org> | 2015-06-16 12:34:16 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-17 10:35:11 +0300 |
commit | c2b7b20aedfa10de3634877c3e4b7bc9a7d6461e (patch) | |
tree | ccc9c1ac23ae8669a5860a3e50ed8f13bbd1704b /crypto/crypto_user.c | |
parent | 8f69b763877a20fe06cb8d89b031a7ae73b269f2 (diff) | |
download | linux-c2b7b20aedfa10de3634877c3e4b7bc9a7d6461e.tar.xz |
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/crypto_user.c')
0 files changed, 0 insertions, 0 deletions