Searched refs:kdf_type (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c86 char kdf_type; member in struct:__anon3801
111 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE;
139 dctx->kdf_type = sctx->kdf_type;
209 return dctx->kdf_type;
216 dctx->kdf_type = p1;
445 if (dctx->kdf_type == EVP_PKEY_DH_KDF_NONE) {
457 else if (dctx->kdf_type == EVP_PKEY_DH_KDF_X9_42) {
H A Ddh_ameth.c836 int kdf_type, wrap_nid; local
869 kdf_type = EVP_PKEY_CTX_get_dh_kdf_type(pctx);
870 if (kdf_type <= 0)
875 if (kdf_type == EVP_PKEY_DH_KDF_NONE) {
876 kdf_type = EVP_PKEY_DH_KDF_X9_42;
877 if (EVP_PKEY_CTX_set_dh_kdf_type(pctx, kdf_type) <= 0)
879 } else if (kdf_type != EVP_PKEY_DH_KDF_X9_42)
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_pmeth.c81 char kdf_type; member in struct:__anon6315
102 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE;
132 dctx->kdf_type = sctx->kdf_type;
251 if (dctx->kdf_type == EVP_PKEY_ECDH_KDF_NONE)
343 return dctx->kdf_type;
346 dctx->kdf_type = p1;
H A Dec_ameth.c838 int ecdh_nid, kdf_type, kdf_nid, wrap_nid; local
876 kdf_type = EVP_PKEY_CTX_get_ecdh_kdf_type(pctx);
877 if (kdf_type <= 0)
889 if (kdf_type == EVP_PKEY_ECDH_KDF_NONE) {
890 kdf_type = EVP_PKEY_ECDH_KDF_X9_62;
891 if (EVP_PKEY_CTX_set_ecdh_kdf_type(pctx, kdf_type) <= 0)

Completed in 172 milliseconds