linux/crypto/af_alg.c
Eric Biggers 68554337b4 crypto: af_alg - Stop after finding name in allowlist
If the algorithm name is found in the allowlist and the privilege check
doesn't pass, there's no need to consider remaining entries since the
list contains (and is intended to contain) at most one entry per name.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2026-08-10 18:34:21 +10:00

1316 lines
28 KiB