summaryrefslogtreecommitdiff
path: root/lib/auth/dh_common.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-07-10 09:42:30 +0200
committerDaiki Ueno <ueno@gnu.org>2020-08-31 08:13:45 +0200
commit2f6cd079cb6b613bf7906af9e7bdff0e5ec80406 (patch)
treec8f5da989a063328717f5f9ed7c069fb5e84aaa4 /lib/auth/dh_common.c
parent4eca726fe64c4702748aef964c83d0d4a470b338 (diff)
downloadgnutls-2f6cd079cb6b613bf7906af9e7bdff0e5ec80406.tar.gz
ecdh: check validity of P before export
SP800-56A rev3 section 5.7.1.2 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. Suggested by Stephan Mueller. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'lib/auth/dh_common.c')
0 files changed, 0 insertions, 0 deletions