/freebsd/crypto/openssl/crypto/objects/ |
H A D | obj_xref.h | 40 {NID_ecdsa_with_Recommended, NID_undef, NID_X9_62_id_ecPublicKey}, 41 {NID_ecdsa_with_Specified, NID_undef, NID_X9_62_id_ecPublicKey}, 56 {NID_rsassaPss, NID_undef, NID_rsassaPss}, 76 {NID_ED25519, NID_undef, NID_ED25519}, 77 {NID_ED448, NID_undef, NID_ED448}, 87 {NID_ML_DSA_44, NID_undef, NID_ML_DSA_44}, 88 {NID_ML_DSA_65, NID_undef, NID_ML_DSA_65}, 89 {NID_ML_DSA_87, NID_undef, NID_ML_DSA_87}, 90 {NID_SLH_DSA_SHA2_128s, NID_undef, NID_SLH_DSA_SHA2_128s}, 91 {NID_SLH_DSA_SHA2_128f, NID_undef, NID_SLH_DSA_SHA2_128f}, [all …]
|
H A D | obj_dat.c | 250 return NID_undef; in OBJ_new_nid() 270 return NID_undef; in ossl_obj_add_object() 327 return NID_undef; in ossl_obj_add_object() 335 if (n == NID_undef in OBJ_nid2obj() 336 || (n > 0 && n < NUM_NID && nid_objs[n].nid != NID_undef)) in OBJ_nid2obj() 388 int nid = NID_undef; in ossl_obj_obj2nid() 393 return NID_undef; in ossl_obj_obj2nid() 394 if (a->nid != NID_undef) in ossl_obj_obj2nid() 397 return NID_undef; in ossl_obj_obj2nid() 404 return NID_undef; in ossl_obj_obj2nid() [all …]
|
H A D | obj_xref.c | 46 if ((ret != 0) && ((*b)->hash_id != NID_undef)) in sigx_cmp() 73 if (signid == NID_undef) in ossl_obj_find_sigid_algs() 116 if (pkey_nid == NID_undef) in OBJ_find_sigid_by_algs() 150 int dnid = NID_undef, pnid = NID_undef, ret = 0; in OBJ_add_sigid() 152 if (signid == NID_undef || pkey_id == NID_undef) in OBJ_add_sigid()
|
/freebsd/crypto/openssl/test/ |
H A D | asn1_internal_test.c | 207 if (nid == NID_undef) { in test_obj_create_once() 232 || !TEST_int_ne(OBJ_sn2nid(sn_prefix "1"), NID_undef) in test_obj_create() 234 || !TEST_int_ne(OBJ_ln2nid(ln_prefix "2"), NID_undef) in test_obj_create() 236 || !TEST_int_ne(OBJ_sn2nid(sn_prefix "3"), NID_undef) in test_obj_create() 237 || !TEST_int_ne(OBJ_ln2nid(ln_prefix "3"), NID_undef) in test_obj_create() 240 || !TEST_int_ne(OBJ_sn2nid(sn_prefix "5"), NID_undef) in test_obj_create() 242 || !TEST_int_ne(OBJ_ln2nid(ln_prefix "6"), NID_undef) in test_obj_create() 245 || !TEST_int_ne(OBJ_sn2nid(sn_prefix "7"), NID_undef) in test_obj_create() 246 || !TEST_int_ne(OBJ_ln2nid(ln_prefix "7"), NID_undef)) in test_obj_create() 259 if (!TEST_ptr(OBJ_nid2obj(NID_undef)) in test_obj_nid_undef() [all …]
|
H A D | upcallstest.c | 111 if (!TEST_int_ne(sigalgnid, NID_undef) in obj_create_test() 113 || !TEST_int_ne(digestnid, NID_undef) in obj_create_test() 114 || !TEST_int_ne(signid, NID_undef) in obj_create_test() 121 if (!TEST_int_ne(sigalgnid, NID_undef) in obj_create_test() 123 || !TEST_int_eq(digestnid, NID_undef) in obj_create_test() 124 || !TEST_int_ne(signid, NID_undef)) in obj_create_test() 148 digestnid = NID_undef; in obj_create_test()
|
H A D | pkcs12_api_test.c | 174 NULL, NULL, NID_undef, NID_undef, in pkcs12_create_ex2_test() 188 cert, NULL, NID_undef, NID_undef, in pkcs12_create_ex2_test() 199 cert, NULL, NID_undef, NID_undef, in pkcs12_create_ex2_test() 210 cert, NULL, NID_undef, NID_undef, in pkcs12_create_ex2_test()
|
H A D | algorithmid_test.c | 115 int sig_nid = NID_undef, dig_nid = NID_undef, pkey_nid = NID_undef; in test_x509_sig_aid() 135 if (!TEST_int_ne(sig_nid = OBJ_obj2nid(sig_oid), NID_undef) in test_x509_sig_aid()
|
/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 173 int md_nid = NID_undef; in pkcs12_gen_mac() 221 if (pbmac1_md_nid != NID_undef && pkcs12_key_gen == NULL) { in pkcs12_gen_mac() 240 if (pbmac1_kdf_nid != NID_undef) { in pkcs12_gen_mac() 291 return pkcs12_gen_mac(p12, pass, passlen, mac, maclen, NID_undef, NID_undef, NULL); in PKCS12_gen_mac() 313 int md_nid = NID_undef; in PKCS12_verify_mac() 323 if (!pkcs12_gen_mac(p12, pass, passlen, mac, &maclen, md_nid, NID_undef, NULL)) { in PKCS12_verify_mac() 330 if (!pkcs12_gen_mac(p12, pass, passlen, mac, &maclen, NID_undef, NID_undef, NULL)) { in PKCS12_verify_mac() 364 if (!pkcs12_gen_mac(p12, pass, passlen, mac, &maclen, NID_undef, NID_undef, NULL)) { in PKCS12_set_mac() 445 int prf_md_nid = NID_undef, prf_nid = NID_undef, hmac_nid; in PKCS12_set_pbmac1_pbkdf2() 468 if (prf_nid == NID_undef || hmac_nid == NID_undef) { in PKCS12_set_pbmac1_pbkdf2()
|
H A D | p12_npas.c | 64 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0, cipherid = NID_undef; in newpass_p12() 176 if (cipherid != NID_undef) { in newpass_bag() 246 *cipherid = NID_undef; in alg_get()
|
/freebsd/crypto/openssl/ssl/ |
H A D | t1_lib.c | 615 if ((OBJ_txt2nid(sinf->sigalg_name) == NID_undef) || in add_provider_sigalgs() 629 : NID_undef), in add_provider_sigalgs() 744 return NID_undef; in tls1_group_id2nid() 756 return NID_undef; in tls1_group_id2nid() 1835 if (curve_nid == NID_undef) in tls1_get_group_id() 1987 NID_undef, -1, EVP_PKEY_ED25519, SSL_PKEY_ED25519, 1988 NID_undef, NID_undef, 1, 0, 1992 NID_undef, -1, EVP_PKEY_ED448, SSL_PKEY_ED448, 1993 NID_undef, NID_undef, 1, 0, 1999 NID_ecdsa_with_SHA224, NID_undef, 1, 0, [all …]
|
H A D | ssl_ciph.c | 41 {SSL_eNULL, NID_undef}, /* SSL_ENC_NULL_IDX 5 */ 130 EVP_PKEY_HMAC, EVP_PKEY_HMAC, EVP_PKEY_HMAC, NID_undef, 132 EVP_PKEY_HMAC, EVP_PKEY_HMAC, EVP_PKEY_HMAC, NID_undef, 136 NID_undef, NID_undef, NID_undef, NID_undef, NID_undef 323 if (t->nid != NID_undef) { in ssl_load_ciphers() 480 *mac_pkey_type = NID_undef; in ssl_cipher_get_evp_md_mac() 542 || mac_pkey_type == NULL || *mac_pkey_type != NID_undef)) { in ssl_cipher_get_evp() 2019 if (cm == NULL || COMP_get_type(cm) == NID_undef) in SSL_COMP_add_compression_method() 2102 return NID_undef; in SSL_CIPHER_get_cipher_nid() 2105 return NID_undef; in SSL_CIPHER_get_cipher_nid() [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_check.c | 27 return NID_undef; in EC_GROUP_check_named_curve() 34 return NID_undef; in EC_GROUP_check_named_curve() 40 nid = NID_undef; in EC_GROUP_check_named_curve()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | m_null.c | 33 NID_undef, 34 NID_undef,
|
H A D | ec_support.c | 138 if ((nid = ossl_ec_curve_nist2nid_int(name)) != NID_undef) in ossl_ec_curve_name2nid() 147 return NID_undef; in ossl_ec_curve_name2nid() 187 return NID_undef; in ossl_ec_curve_nist2nid_int()
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 153 if (p1 < 1 || p1 > 3 || dctx->param_nid != NID_undef) in pkey_dh_ctrl() 159 if (p1 <= 0 || dctx->param_nid != NID_undef) in pkey_dh_ctrl() 244 if (nid == NID_undef) { in pkey_dh_ctrl_str() 333 if (dctx->param_nid != NID_undef) { in pkey_dh_paramgen() 379 if (ctx->pkey == NULL && dctx->param_nid == NID_undef) { in pkey_dh_keygen() 383 if (dctx->param_nid != NID_undef) in pkey_dh_keygen()
|
H A D | dh_group_params.c | 63 dh->params.nid = NID_undef; /* flush cached value */ in ossl_dh_cache_named_group() 96 return NID_undef; in DH_get_nid()
|
/freebsd/crypto/openssl/providers/common/ |
H A D | digest_to_nid.c | 28 return NID_undef; in ossl_digest_md_to_nid() 33 return NID_undef; in ossl_digest_md_to_nid()
|
H A D | securitycheck_fips.c | 86 int approved = (nid != NID_undef && nid != NID_sha1); in ossl_fips_ind_digest_exch_check() 106 if (nid == NID_undef) in ossl_fips_ind_digest_sign_check()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x509_set.c | 219 siginf->mdnid = NID_undef; in x509_sig_info_init() 220 siginf->pknid = NID_undef; in x509_sig_info_init() 224 || pknid == NID_undef) { in x509_sig_info_init() 232 case NID_undef: in x509_sig_info_init()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | t_spki.c | 31 (i == NID_undef) ? "UNKNOWN" : OBJ_nid2ln(i)); in NETSCAPE_SPKI_print() 44 (i == NID_undef) ? "UNKNOWN" : OBJ_nid2ln(i)); in NETSCAPE_SPKI_print()
|
H A D | a_verify.c | 138 if (mdnid == NID_undef && evp_pkey_is_legacy(pkey)) { in ASN1_item_verify_ctx() 163 if (mdnid == NID_undef && pknid == EVP_PKEY_RSA_PSS) { in ASN1_item_verify_ctx() 180 if (mdnid != NID_undef) { in ASN1_item_verify_ctx()
|
H A D | asn_mstbl.c | 66 if (nid == NID_undef) in do_tcreate() 68 if (nid == NID_undef) in do_tcreate()
|
/freebsd/crypto/openssl/crypto/comp/ |
H A D | comp_lib.c | 43 return NID_undef; in COMP_get_type() 97 return comp->meth ? comp->meth->type : NID_undef; in COMP_CTX_get_type()
|
/freebsd/crypto/openssl/crypto/ |
H A D | core_namemap.c | 400 if (base_nid != NID_undef) { in get_legacy_evp_names() 405 if (nid != NID_undef) { in get_legacy_evp_names() 424 get_legacy_evp_names(NID_undef, EVP_CIPHER_get_type(cipher), NULL, arg); in get_legacy_cipher_names() 442 if (nid != NID_undef) { in get_legacy_pkey_meth_names()
|
/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_dh.c | 134 return NID_undef; in ossl_ffc_named_group_get_uid() 170 ffc->nid = NID_undef; in ossl_ffc_named_group_set()
|