commit | f2aefdab5dff83d3c801449051be1ba72c7e933a | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jan 23 13:51:01 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jan 25 22:42:12 2016 +0800 |
tree | 167102bb66295086a223e47d4d4fc7a6ad3de3eb | |
parent | 1aaa753d918c48c603195a468766e6a2b32b87f9 [diff] |
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>