Searched hist:"856 e3f4092cfd9ea6d6564e73f5bce5a0ac3cae3" (Results 1 – 2 of 2) sorted by relevance
/linux/include/crypto/internal/ |
H A D | aead.h | diff 856e3f4092cfd9ea6d6564e73f5bce5a0ac3cae3 Thu May 21 09:11:13 CEST 2015 Herbert Xu <herbert@gondor.apana.org.au> crypto: seqiv - Add support for new AEAD interface
This patch converts the seqiv IV generator to work with the new AEAD interface where IV generators are just normal AEAD algorithms.
Full backwards compatibility is paramount at this point since no users have yet switched over to the new interface. Nor can they switch to the new interface until IV generation is fully supported by it.
So this means we are adding two versions of seqiv alongside the existing one. The first one is the one that will be used when the underlying AEAD algorithm has switched over to the new AEAD interface. The second one handles the current case where the underlying AEAD algorithm still uses the old interface.
Both versions export themselves through the new AEAD interface.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
/linux/crypto/ |
H A D | seqiv.c | diff 856e3f4092cfd9ea6d6564e73f5bce5a0ac3cae3 Thu May 21 09:11:13 CEST 2015 Herbert Xu <herbert@gondor.apana.org.au> crypto: seqiv - Add support for new AEAD interface
This patch converts the seqiv IV generator to work with the new AEAD interface where IV generators are just normal AEAD algorithms.
Full backwards compatibility is paramount at this point since no users have yet switched over to the new interface. Nor can they switch to the new interface until IV generation is fully supported by it.
So this means we are adding two versions of seqiv alongside the existing one. The first one is the one that will be used when the underlying AEAD algorithm has switched over to the new AEAD interface. The second one handles the current case where the underlying AEAD algorithm still uses the old interface.
Both versions export themselves through the new AEAD interface.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|