Skip to content
Commit 430b441c authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: api - Do not clear type bits in crypto_larval_lookup



Currently all bits not set in mask are cleared in crypto_larval_lookup.
This is unnecessary as wherever the type bits are used it is always
masked anyway.

This patch removes the clearing so that we may use bits set in the
type but not in the mask for special purposes, e.g., picking up
internal algorithms.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f1c131b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment