Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/crypto/evp/
H A Ddh_support.c31 static const DH_GENTYPE_NAME2ID dhtype2id[] = variable
43 for (i = 0; i < OSSL_NELEM(dhtype2id); ++i) { in ossl_dh_gen_type_id2name()
44 if (dhtype2id[i].id == id) in ossl_dh_gen_type_id2name()
45 return dhtype2id[i].name; in ossl_dh_gen_type_id2name()
55 for (i = 0; i < OSSL_NELEM(dhtype2id); ++i) { in ossl_dh_gen_type_name2id()
56 if ((dhtype2id[i].type == TYPE_ANY in ossl_dh_gen_type_name2id()
57 || type == dhtype2id[i].type) in ossl_dh_gen_type_name2id()
58 && strcmp(dhtype2id[i].name, name) == 0) in ossl_dh_gen_type_name2id()
59 return dhtype2id[i].id; in ossl_dh_gen_type_name2id()