[CRYPTO] aead: Add givcrypt operations
Herbert Xu authored
This patch adds the underlying givcrypt operations for aead and associated
support elements.  The rationale is identical to that of the skcipher
givcrypt operations, i.e., sometimes only the algorithm knows how the
IV should be generated.

A new request type aead_givcrypt_request is added which contains an
embedded aead_request structure with two new elements to support this
operation.  The new elements are seq and giv.  The seq field should
contain a strictly increasing 64-bit integer which may be used by
certain IV generators as an input value.  The giv field will be used
to store the generated IV.  It does not need to obey the alignment
requirements of the algorithm because it's not used during the operation.

The existing iv field must still be available as it will be used to store
intermediate IVs and the output IV if chaining is desired.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
743edf57
Name Last commit Last update
..
async_tx async_tx: fix dma_wait_for_async_tx
Kconfig [CRYPTO] seqiv: Add Sequence Number IV Generator
Makefile [CRYPTO] seqiv: Add Sequence Number IV Generator
ablkcipher.c [CRYPTO] skcipher: Create default givcipher instances
aead.c [CRYPTO] aead: Add givcrypt operations
aes_generic.c [CRYPTO] aes-generic: Make key generation exportable
algapi.c [CRYPTO] api: Add crypto_attr_alg_name
anubis.c cleanup asm/scatterlist.h includes
api.c [CRYPTO] skcipher: Create default givcipher instances
arc4.c [CRYPTO] api: Get rid of flags argument to setkey
authenc.c [CRYPTO] authenc: Use crypto_grab_skcipher
blkcipher.c [CRYPTO] skcipher: Create default givcipher instances
blowfish.c cleanup asm/scatterlist.h includes
camellia.c [CRYPTO] camellia: Move more common code into camellia_setup_tail
cast5.c [CRYPTO] api: Get rid of flags argument to setkey
cast6.c [CRYPTO] api: Get rid of flags argument to setkey
cbc.c [CRYPTO] cbc: Require block size to be a power of 2
chainiv.c [CRYPTO] chainiv: Add chain IV generator
cipher.c [CRYPTO] api: Add missing headers for setkey_unaligned
compress.c cleanup asm/scatterlist.h includes
crc32c.c [CRYPTO] api: Get rid of flags argument to setkey
cryptd.c [CRYPTO] cryptd: Use geniv of the underlying algorithm
crypto_null.c cleanup asm/scatterlist.h includes
cryptomgr.c [CRYPTO] cryptomgr: Fix parsing of recursive algorithms
ctr.c [CRYPTO] seqiv: Add Sequence Number IV Generator
deflate.c [CRYPTO] api: Added cra_init/cra_exit
des_generic.c [CRYPTO] hifn_795x: Detect weak keys
digest.c [CRYPTO] scatterwalk: Restore custom sg chaining for now
ecb.c [CRYPTO] templates: Pass type/mask when creating instances
eseqiv.c [CRYPTO] eseqiv: Add Encrypted Sequence Number IV Generator
fcrypt.c crypto: convert "crypto" subdirectory to UTF-8
gcm.c [CRYPTO] gcm: Use crypto_grab_skcipher
gf128mul.c [CRYPTO] xts: XTS blockcipher mode implementation without partial blocks
hash.c [CRYPTO] api: Add missing headers for setkey_unaligned
hmac.c [CRYPTO] scatterwalk: Restore custom sg chaining for now
internal.h [CRYPTO] skcipher: Create default givcipher instances
khazad.c cleanup asm/scatterlist.h includes
lrw.c [CRYPTO] templates: Pass type/mask when creating instances
lzo.c [CRYPTO] lzo: Add LZO compression algorithm support
md4.c [CRYPTO] all: Pass tfm instead of ctx to algorithms
md5.c [CRYPTO] all: Pass tfm instead of ctx to algorithms
michael_mic.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi
pcbc.c [CRYPTO] pcbc: Use crypto_xor
proc.c Make crypto API use seq_list_xxx helpers
salsa20_generic.c [CRYPTO] salsa20_generic: Fix multi-page processing
scatterwalk.c [CRYPTO] scatterwalk: Restore custom sg chaining for now
seed.c [CRYPTO] seed: New cipher algorithm
seqiv.c [CRYPTO] seqiv: Add Sequence Number IV Generator
serpent.c [PATCH] serpent: fix endian warnings
sha1_generic.c cleanup asm/scatterlist.h includes
sha256_generic.c
sha512.c
tcrypt.c
tcrypt.h
tea.c
tgr192.c
twofish.c
twofish_common.c
wp512.c
xcbc.c
xor.c
xts.c