]> git.ipfire.org Git - thirdparty/hostap.git/commit
crypto: Add a function to get the ECDH prime length
authorIlan Peer <ilan.peer@intel.com>
Mon, 24 Feb 2020 09:14:31 +0000 (11:14 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 29 Feb 2020 21:26:26 +0000 (23:26 +0200)
commit94773d40fa95a25e03eb73f339d4f76956ce1054
tree566fc321c80ed9f570e409cb5c44f358b23a18f7
parente8ae97aebe71cf02e0aa480bfdaa6a3520ee5d74
crypto: Add a function to get the ECDH prime length

crypto_ecdh_prime_len() can now be used to fetch the length (in octets)
of the prime used in ECDH.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
src/crypto/crypto.h
src/crypto/crypto_openssl.c
src/crypto/crypto_wolfssl.c