Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 90fa9ae5 authored by Stephan Müller's avatar Stephan Müller Committed by Herbert Xu
Browse files

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: default avatarStephan Mueller <smueller@chronox.de>
Acked-by: default avatarNeil Horman <nhorman@redhat.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4278e9d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment