summaryrefslogtreecommitdiff
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-02 18:49:21 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:29 +1100
commit9767b6cbb085b14bda4db28c474301f4d2fee66c (patch)
tree1978442f3ca88b4e10ca2166db3213f0e637acbb /crypto/sha256_generic.c
parent7de9fbe41669a97856264894ad710e93a09dd469 (diff)
downloadlinux-crypto-9767b6cbb085b14bda4db28c474301f4d2fee66c.tar.gz
linux-crypto-9767b6cbb085b14bda4db28c474301f4d2fee66c.zip
[CRYPTO] aead: Make authsize a run-time parameter
As it is authsize is an algorithm paramter which cannot be changed at run-time. This is inconvenient because hardware that implements such algorithms would have to register each authsize that they support separately. Since authsize is a property common to all AEAD algorithms, we can add a function setauthsize that sets it at run-time, just like setkey. This patch does exactly that and also changes authenc so that authsize is no longer a parameter of its template. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions