aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/twofish.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-22 23:11:53 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:30 +1100
commite236d4a89a2ffbc8aa18064161f4f159c4d89b4a (patch)
tree5688f2fd39c734c10b6d1fda791a87d7a19dee3b /include/crypto/twofish.h
parent[CRYPTO] aead: Make authsize a run-time parameter (diff)
downloadlinux-dev-e236d4a89a2ffbc8aa18064161f4f159c4d89b4a.tar.xz
linux-dev-e236d4a89a2ffbc8aa18064161f4f159c4d89b4a.zip
[CRYPTO] authenc: Move enckeylen into key itself
Having enckeylen as a template parameter makes it a pain for hardware devices that implement ciphers with many key sizes since each one would have to be registered separately. Since the authenc algorithm is mainly used for legacy purposes where its key is going to be constructed out of two separate keys, we can in fact embed this value into the key itself. This patch does this by prepending an rtnetlink header to the key that contains the encryption key length. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/twofish.h')
0 files changed, 0 insertions, 0 deletions