summaryrefslogtreecommitdiffstats
path: root/crypto/tgr192.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
commit7ba683a6deba70251756aa5a021cdaa5c875a7a2 (patch)
tree80f63039b56bef0287fdf878163a5fe109821e58 /crypto/tgr192.c
parente29bc6ad0e84e3157e0f49130a15b278cb232c72 (diff)
downloadblackbird-op-linux-7ba683a6deba70251756aa5a021cdaa5c875a7a2.tar.gz
blackbird-op-linux-7ba683a6deba70251756aa5a021cdaa5c875a7a2.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/tgr192.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud