diff options
author | Stephan Müller <smueller@chronox.de> | 2020-07-20 19:08:32 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-31 18:08:59 +1000 |
commit | e0e6565e8ef837bbdb086e018d18307c1d22f1bc (patch) | |
tree | 58162a3470e88ae0182dfacf04fda99364526d11 /crypto/aes_ti.c | |
parent | be0f7db4659756372b238ad029a58bea7c4f99b6 (diff) | |
download | linux-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/aes_ti.c')
0 files changed, 0 insertions, 0 deletions