summaryrefslogtreecommitdiff
path: root/crypto/eseqiv.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 16:37:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-26 14:33:16 +0800
commitf01465930dd5bc79cc2581a857f431222a5efe4d (patch)
tree826c46b05686c457d98dc0183390ab002d3ac7a9 /crypto/eseqiv.c
parent1c41e4851bbd02a44f4af923da21366ae1090977 (diff)
downloadlinux-crypto-f01465930dd5bc79cc2581a857f431222a5efe4d.tar.gz
linux-crypto-f01465930dd5bc79cc2581a857f431222a5efe4d.zip
crypto: aead - Fix corner case in crypto_lookup_aead
When the user explicitly states that they don't care whether the algorithm has been tested (type = CRYPTO_ALG_TESTED and mask = 0), there is a corner case where we may erroneously return ENOENT. This patch fixes it by correcting the logic in the test. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/eseqiv.c')
0 files changed, 0 insertions, 0 deletions