crypto: shash - Add shash_attr_alg2 helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jul 2009 09:56:28 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jul 2009 10:58:30 +0000 (18:58 +0800)
commit7d6f56400a695af497a8b7c23ea0ff9c3d9d99f4
tree53447ff76fda984ca3fb59aca2bd5f3454842b14
parentd06854f0243d91badabaab14503f7f3bb770061d
crypto: shash - Add shash_attr_alg2 helper

This patch adds the helper shash_attr_alg2 which locates a shash
algorithm based on the information in the given attribute.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/shash.c
include/crypto/internal/hash.h