summaryrefslogtreecommitdiff
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorStephan Müller <smueller@chronox.de>2020-07-20 19:08:32 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-31 18:08:59 +1000
commite0e6565e8ef837bbdb086e018d18307c1d22f1bc (patch)
tree58162a3470e88ae0182dfacf04fda99364526d11 /crypto/cast_common.c
parentbe0f7db4659756372b238ad029a58bea7c4f99b6 (diff)
downloadlinux-crypto-e0e6565e8ef837bbdb086e018d18307c1d22f1bc.tar.gz
linux-crypto-e0e6565e8ef837bbdb086e018d18307c1d22f1bc.zip
crypto: dh - check validity of Z before export
SP800-56A rev3 section 5.7.1.1 step 2 mandates that the validity of the calculated shared secret is verified before the data is returned to the caller. This patch adds the validation check. Signed-off-by: Stephan Mueller <smueller@chronox.de> Acked-by: Neil Horman <nhorman@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions