summaryrefslogtreecommitdiffstats
path: root/crypto/crc32.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
commitc2b7b20aedfa10de3634877c3e4b7bc9a7d6461e (patch)
treeccc9c1ac23ae8669a5860a3e50ed8f13bbd1704b /crypto/crc32.c
parent8f69b763877a20fe06cb8d89b031a7ae73b269f2 (diff)
downloadop-kernel-dev-c2b7b20aedfa10de3634877c3e4b7bc9a7d6461e.zip
op-kernel-dev-c2b7b20aedfa10de3634877c3e4b7bc9a7d6461e.tar.gz
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/crc32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud