commit | 30e4c010aefdbb81b2aaf64758850432eb289f47 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri May 22 16:30:48 2015 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon May 25 18:41:25 2015 +0800 |
tree | 430936c4d6c4aa50c14d3d37c438c54f73a526fd | |
parent | 445a8e0df3ef80f3696014187a463d6c0772331b [diff] |
crypto: aead - Add crypto_aead_alg_ivsize/maxauthsize AEAD algorithm implementors need to figure out a given algorithm's IV size and maximum authentication size. During the transition this is difficult to do as an algorithm could be new style or old style. This patch creates two helpers to make this easier. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>