aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/crypto/inside-secure/safexcel.h
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
commit90fa9ae51c1f2fa932bfa0a4d19163d49f0c1c46 (patch)
treea1dd10ae32d75c383b00094163c8999fd79e002b /drivers/crypto/inside-secure/safexcel.h
parentlib/mpi: Add mpi_sub_ui() (diff)
downloadwireguard-linux-90fa9ae51c1f2fa932bfa0a4d19163d49f0c1c46.tar.xz
wireguard-linux-90fa9ae51c1f2fa932bfa0a4d19163d49f0c1c46.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 'drivers/crypto/inside-secure/safexcel.h')
0 files changed, 0 insertions, 0 deletions