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

/freebsd-12-stable/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c37 char kdf_type; member in struct:__anon7949
60 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE;
96 dctx->kdf_type = sctx->kdf_type;
166 return dctx->kdf_type;
173 dctx->kdf_type = p1;
433 if (dctx->kdf_type == EVP_PKEY_DH_KDF_NONE) {
448 else if (dctx->kdf_type == EVP_PKEY_DH_KDF_X9_42) {
H A Ddh_ameth.c789 int kdf_type, wrap_nid; local
821 kdf_type = EVP_PKEY_CTX_get_dh_kdf_type(pctx);
822 if (kdf_type <= 0)
827 if (kdf_type == EVP_PKEY_DH_KDF_NONE) {
828 kdf_type = EVP_PKEY_DH_KDF_X9_42;
829 if (EVP_PKEY_CTX_set_dh_kdf_type(pctx, kdf_type) <= 0)
831 } else if (kdf_type != EVP_PKEY_DH_KDF_X9_42)
/freebsd-12-stable/crypto/openssl/crypto/ec/
H A Dec_pmeth.c31 char kdf_type; member in struct:__anon8046
51 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE;
75 dctx->kdf_type = sctx->kdf_type;
195 if (dctx->kdf_type == EVP_PKEY_ECDH_KDF_NONE)
283 return dctx->kdf_type;
286 dctx->kdf_type = p1;
H A Dec_ameth.c837 int ecdh_nid, kdf_type, kdf_nid, wrap_nid; local
875 kdf_type = EVP_PKEY_CTX_get_ecdh_kdf_type(pctx);
876 if (kdf_type <= 0)
888 if (kdf_type == EVP_PKEY_ECDH_KDF_NONE) {
889 kdf_type = EVP_PKEY_ECDH_KDF_X9_63;
890 if (EVP_PKEY_CTX_set_ecdh_kdf_type(pctx, kdf_type) <= 0)

Completed in 93 milliseconds