]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: dh - SP800-56A rev 3 local public key validation
authorStephan Müller <smueller@chronox.de>
Mon, 20 Jul 2020 17:08:52 +0000 (19:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Jul 2020 08:08:59 +0000 (18:08 +1000)
commit6fa2e2a8f982a53298752cb86fa1ddf9b4e307d9
tree9f182b5842efb5e15a8c0b1669b2a75918333d55
parentbdff1c76abde389cdc7964f8b94052a09500be49
crypto: dh - SP800-56A rev 3 local public key validation

After the generation of a local public key, SP800-56A rev 3 section
5.6.2.1.3 mandates a validation of that key with a full validation
compliant to section 5.6.2.3.1.

Only if the full validation passes, the key is allowed to be used.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/dh.c