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

crypto: api - crypto_alg_mod_lookup either tested or untested



As it stands crypto_alg_mod_lookup will search either tested or
untested algorithms, but never both at the same time.  However,
we need exactly that when constructing givcipher and aead so
this patch adds support for that by setting the tested bit in
type but clearing it in mask.  This combination is currently
unused.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 049359d6
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