Home
last modified time | relevance | path

Searched refs:ecdh_nid (Results 1 – 1 of 1) sorted by relevance

/openbsd/lib/libcrypto/ec/
H A Dec_ameth.c911 int ecdh_nid, kdf_nid, wrap_nid; in ecdh_cms_encrypt() local
948 if ((ecdh_nid = EVP_PKEY_CTX_get_ecdh_cofactor_mode(pctx)) < 0) in ecdh_cms_encrypt()
950 if (ecdh_nid == 0) in ecdh_cms_encrypt()
951 ecdh_nid = NID_dh_std_kdf; in ecdh_cms_encrypt()
952 else if (ecdh_nid == 1) in ecdh_cms_encrypt()
953 ecdh_nid = NID_dh_cofactor_kdf; in ecdh_cms_encrypt()
968 if (!OBJ_find_sigid_by_algs(&kdf_nid, EVP_MD_type(kdf_md), ecdh_nid)) in ecdh_cms_encrypt()