Searched refs:ecdh_nid (Results 1 – 2 of 2) sorted by relevance
837 int ecdh_nid, kdf_type, kdf_nid, wrap_nid; in ecdh_cms_encrypt() local880 ecdh_nid = EVP_PKEY_CTX_get_ecdh_cofactor_mode(pctx); in ecdh_cms_encrypt()881 if (ecdh_nid < 0) in ecdh_cms_encrypt()883 else if (ecdh_nid == 0) in ecdh_cms_encrypt()884 ecdh_nid = NID_dh_std_kdf; in ecdh_cms_encrypt()885 else if (ecdh_nid == 1) in ecdh_cms_encrypt()886 ecdh_nid = NID_dh_cofactor_kdf; in ecdh_cms_encrypt()907 if (!OBJ_find_sigid_by_algs(&kdf_nid, EVP_MD_type(kdf_md), ecdh_nid)) in ecdh_cms_encrypt()
168 int ecdh_nid; local430 ecdh_nid = OBJ_sn2nid(ecdh_curve);431 if (NID_undef == ecdh_nid) {436 ecdh = EC_KEY_new_by_curve_name(ecdh_nid);