[CRYPTO] api: Add crypto_attr_alg_name
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Dec 2007 12:18:17 +0000 (20:18 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:40 +0000 (08:16 +1100)
commit68b6c7d6919be7c732fc6229c55e35d0166e9258
tree137eabe7eaf127c2f1460490733dee415aa7b339
parent551a09a7a954f720067f207657bbbd26a3fe156a
[CRYPTO] api: Add crypto_attr_alg_name

This patch adds a new helper crypto_attr_alg_name which is basically the
first half of crypto_attr_alg.  That is, it returns an algorithm name
parameter as a string without looking it up.  The caller can then look it
up immediately or defer it until later.

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