summaryrefslogtreecommitdiff
path: root/crypto/vmac.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-11-05 18:30:48 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-10 19:20:22 +0800
commit5a5e1fc42bbab8acd834ef8143aa2b339e34ed1b (patch)
tree1e950b724805a816068c09d9cd464ba77e453f4b /crypto/vmac.c
parent246c7e6f3567aba7edb45a90cc662382c4d0acca (diff)
downloadlinux-crypto-5a5e1fc42bbab8acd834ef8143aa2b339e34ed1b.tar.gz
linux-crypto-5a5e1fc42bbab8acd834ef8143aa2b339e34ed1b.zip
crypto: dh - Remove pointless checks for NULL 'p' and 'g'
Neither 'p' nor 'g' can be NULL, as they were unpacked using crypto_dh_decode_key(). And it makes no sense for them to be optional. So remove the NULL checks that were copy-and-pasted into both modules. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions