]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: api - Add crypto_type_has_alg helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 23 Jan 2016 05:51:01 +0000 (13:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 Jan 2016 14:42:12 +0000 (22:42 +0800)
commitf2aefdab5dff83d3c801449051be1ba72c7e933a
tree167102bb66295086a223e47d4d4fc7a6ad3de3eb
parent1aaa753d918c48c603195a468766e6a2b32b87f9
crypto: api - Add crypto_type_has_alg helper

This patch adds the helper crypto_type_has_alg which is meant
to replace crypto_has_alg for new-style crypto types.  Rather
than hard-coding type/mask information they're now retrieved
from the crypto_type object.

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