summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorChun-Yi Lee <joeyli.kernel@gmail.com>2017-10-04 16:45:09 +0800
committerDavid Howells <dhowells@redhat.com>2017-10-18 09:12:40 +0100
commit5ed4da51cce662f0842ed5a3024a29719e441fbe (patch)
tree29bf41d10676d51b166c3268a4536c1ef8bfb27e /crypto/shash.c
parent17e9e3a72ffab22ea5a44f4e3490f4570950a47f (diff)
downloadlinux-crypto-5ed4da51cce662f0842ed5a3024a29719e441fbe.tar.gz
linux-crypto-5ed4da51cce662f0842ed5a3024a29719e441fbe.zip
KEYS: checking the input id parameters before finding asymmetric key
For finding asymmetric key, the input id_0 and id_1 parameters can not be NULL at the same time. This patch adds the BUG_ON checking for id_0 and id_1. Cc: David Howells <dhowells@redhat.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Chun-Yi Lee <jlee@suse.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions