crypto: aead - Split out geniv into its own module
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Nov 2019 10:41:58 +0000 (18:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:38 +0000 (09:02 +0800)
commit20cc01baa33463e9e8b202b0cbaeafbac0f9202c
tree4a9536ede3bb5ff4be249e89845b97e06e96be86
parent8ab23d547f652979bafd710d9e34983aaceea517
crypto: aead - Split out geniv into its own module

If aead is built as a module along with cryptomgr, it creates a
dependency loop due to the dependency chain aead => crypto_null =>
cryptomgr => aead.

This is due to the presence of the AEAD geniv code.  This code is
not really part of the AEAD API but simply support code for IV
generators such as seqiv.  This patch moves the geniv code into
its own module thus breaking the dependency loop.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Makefile
crypto/aead.c
crypto/geniv.c [new file with mode: 0644]