Commit 0390e6aecf571ddac934e6c0644bb4038167b698
1 parent
cde6263fa9
Exists in
master
and in
7 other branches
crypto: shash - Add __crypto_shash_cast
This patch adds __crypto_shash_cast which turns a crypto_tfm into crypto_shash. It's analogous to the other __crypto_*_cast functions. It hasn't been needed until now since no existing shash algorithms have had an init function. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
include/crypto/internal/hash.h