diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-16 13:54:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-17 15:35:08 +0800 |
commit | f2147b88b2b17d4c04738c75cc5a1d0dea60fa76 (patch) | |
tree | a0dace2ec3fc5b310968eab62ab8e9dbeec93816 /crypto | |
parent | 6c94711cbdf595766bc3295e437c3579943cd846 (diff) | |
download | blackbird-op-linux-f2147b88b2b17d4c04738c75cc5a1d0dea60fa76.tar.gz blackbird-op-linux-f2147b88b2b17d4c04738c75cc5a1d0dea60fa76.zip |
crypto: caam - Convert GCM to new AEAD interface
This patch converts the caam GCM implementations to the new AEAD
interface. This is compile-tested only.
Note that all IV generation for GCM algorithms have been removed.
The reason is that the current generation uses purely random IVs
which is not appropriate for counter-based algorithms where we
first and foremost require uniqueness.
Of course there is no reason why you couldn't implement seqiv or
seqniv within caam since all they do is xor the sequence number
with a salt, but since I can't test this on actual hardware I'll
leave it alone for now.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions