Re: [PATCH v2 3/5] crypto: DH - check validity of Z before export

2020-07-15 Thread Marcelo Henrique Cerri
Reviewed-by: Marcelo Henrique Cerri Tested-by: Marcelo Henrique Cerri On Sun, Jul 12, 2020 at 06:40:20PM +0200, Stephan Müller wrote: > 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 v2 3/5] crypto: DH - check validity of Z before export

2020-07-12 Thread Stephan Müller
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 --- crypto/dh.c | 29 + 1 file changed, 29 inse