/openssl/test/ |
H A D | algorithmid_test.c | 140 if (!TEST_true(EVP_PKEY_is_a(pkey, OBJ_nid2sn(pkey_nid)))) { in test_x509_sig_aid() 144 OBJ_nid2sn(sig_nid), OBJ_nid2sn(pkey_nid), OBJ_nid2sn(dig_nid)); in test_x509_sig_aid() 154 OBJ_nid2sn(dig_nid), in test_x509_sig_aid() 158 OBJ_nid2sn(pkey_nid), OBJ_nid2sn(dig_nid)); in test_x509_sig_aid() 166 OBJ_nid2sn(pkey_nid)); in test_x509_sig_aid()
|
H A D | ssl_cert_table_internal_test.c | 35 TEST_note("Expected %s, got %s\n", OBJ_nid2sn(nid), in do_test_cert_table() 36 OBJ_nid2sn(clu->nid)); in do_test_cert_table()
|
H A D | asn1_internal_test.c | 97 i, (*tmp)->pkey_id, OBJ_nid2sn((*tmp)->pkey_id)); in test_standard_methods() 111 i, (*tmp)->pkey_id, OBJ_nid2sn((*tmp)->pkey_id)); in test_standard_methods() 260 || !TEST_ptr(OBJ_nid2sn(NID_undef)) in test_obj_nid_undef()
|
H A D | ecdsatest.c | 97 TEST_info("ECDSA KATs for curve %s", OBJ_nid2sn(nid)); in x9_62_tests() 203 TEST_info("skipped: ECDSA unsupported for curve %s", OBJ_nid2sn(nid)); in test_builtin() 213 OBJ_nid2sn(nid)); in test_builtin() 217 OBJ_nid2sn(nid)); in test_builtin() 221 TEST_info("testing ECDSA for curve %s as %s key type", OBJ_nid2sn(nid), in test_builtin()
|
H A D | pbelutest.c | 39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); in test_pbelu()
|
H A D | x509_internal_test.c | 46 TEST_note("%d : %s", (*tmp)->ext_nid, OBJ_nid2sn((*tmp)->ext_nid)); in test_standard_exts()
|
H A D | pkcs12_format_test.c | 369 OBJ_nid2sn(enc->nid), enc->iter); in test_single_key() 469 OBJ_nid2sn(mac->nid), mac->iter); in test_single_cert_mac() 630 OBJ_nid2sn(enc->nid), enc->iter); in test_single_secret()
|
H A D | ectest.c | 1144 OBJ_nid2sn(nid)); in internal_curve_test() 1148 TEST_info("EC_GROUP_check() failed with curve %s\n", OBJ_nid2sn(nid)); in internal_curve_test() 1162 TEST_info("Curve %s failed\n", OBJ_nid2sn(nid)); in internal_curve_test_method() 1842 TEST_note("Curve %s", OBJ_nid2sn(nid)); in check_named_curve_from_ecparameters() 1898 TEST_info("nid = %s, tnid = %s", OBJ_nid2sn(nid), OBJ_nid2sn(tnid)); in check_named_curve_from_ecparameters() 1919 TEST_info("nid = %s, tnid = %s", OBJ_nid2sn(nid), OBJ_nid2sn(tnid)); in check_named_curve_from_ecparameters() 1936 TEST_info("nid = %s, tnid = %s", OBJ_nid2sn(nid), OBJ_nid2sn(tnid)); in check_named_curve_from_ecparameters() 2275 TEST_info("Curve %s cardinality test", OBJ_nid2sn(nid)); in cardinality_test() 2734 TEST_note("Curve %s", OBJ_nid2sn(nid)); in custom_generator_test() 2830 curve_name = OBJ_nid2sn(nid); in custom_params_test()
|
/openssl/crypto/ec/ |
H A D | eck_prn.c | 107 if (BIO_printf(bp, "ASN1 OID: %s", OBJ_nid2sn(nid)) <= 0) in ECPKParameters_print() 165 if (BIO_printf(bp, "Field Type: %s\n", OBJ_nid2sn(tmp_nid)) in ECPKParameters_print() 179 OBJ_nid2sn(basis_type)) <= 0) in ECPKParameters_print()
|
/openssl/crypto/evp/ |
H A D | names.c | 26 r = OBJ_NAME_add(OBJ_nid2sn(c->nid), OBJ_NAME_TYPE_CIPHER_METH, in EVP_add_cipher() 40 name = OBJ_nid2sn(md->type); in EVP_add_digest() 50 r = OBJ_NAME_add(OBJ_nid2sn(md->pkey_type), in EVP_add_digest()
|
H A D | evp_pbe.c | 128 cipher = cipher_fetch = EVP_CIPHER_fetch(libctx, OBJ_nid2sn(cipher_nid), propq); in EVP_PBE_CipherInit_ex() 135 OBJ_nid2sn(cipher_nid)); in EVP_PBE_CipherInit_ex() 143 md = md_fetch = EVP_MD_fetch(libctx, OBJ_nid2sn(md_nid), propq); in EVP_PBE_CipherInit_ex()
|
H A D | p_lib.c | 261 && !EVP_KEYMGMT_is_a(b->keymgmt, OBJ_nid2sn(a->type))) in evp_pkey_cmp_any() 264 && !EVP_KEYMGMT_is_a(a->keymgmt, OBJ_nid2sn(b->type))) in evp_pkey_cmp_any() 421 : OBJ_nid2sn(nidtype), in new_raw_key_int() 1053 return OBJ_nid2sn(type); in evp_pkey_type2name() 1073 const char *name = OBJ_nid2sn(EVP_PKEY_get_id(pkey)); in EVP_PKEY_type_names_do_all() 1353 const char *name = rv > 0 ? OBJ_nid2sn(nid) : NULL; in EVP_PKEY_get_default_digest_name() 1937 if (!EVP_KEYMGMT_is_a(tmp_keymgmt, OBJ_nid2sn(pk->type))) in evp_pkey_export_to_provider() 2053 keytype = OBJ_nid2sn(type); in evp_pkey_copy_downgraded()
|
/openssl/crypto/asn1/ |
H A D | a_verify.c | 40 type = EVP_get_digestbyname(OBJ_nid2sn(i)); in ASN1_verify() 175 if (!EVP_PKEY_is_a(pkey, OBJ_nid2sn(pknid))) { in ASN1_item_verify_ctx()
|
/openssl/apps/ |
H A D | engine.c | 426 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main() 435 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main() 444 if (!append_buf(&cap_buf, &cap_size, OBJ_nid2sn(nids[k]))) in engine_main()
|
H A D | ecparam.c | 80 const char *sname = OBJ_nid2sn(curves[n].nid); in list_builtin_curves()
|
/openssl/crypto/x509/ |
H A D | x509_att.c | 127 "name=%s", OBJ_nid2sn(OBJ_obj2nid(attr->object))); in STACK_OF() 163 "name=%s", OBJ_nid2sn(OBJ_obj2nid(obj))); in STACK_OF() 197 "name=%s", OBJ_nid2sn(nid)); in STACK_OF()
|
H A D | v3_conf.c | 72 return v3_generic_extension(OBJ_nid2sn(ext_nid), in X509V3_EXT_nconf_nid() 103 "name=%s,section=%s", OBJ_nid2sn(ext_nid), value); in do_ext_nconf() 125 "name=%s", OBJ_nid2sn(ext_nid)); in do_ext_nconf()
|
H A D | x509_obj.c | 66 if ((n == NID_undef) || ((s = OBJ_nid2sn(n)) == NULL)) { in X509_NAME_oneline()
|
/openssl/doc/man3/ |
H A D | OBJ_nid2obj.pod | 7 OBJ_nid2sn, OBJ_obj2nid, OBJ_txt2nid, OBJ_ln2nid, OBJ_sn2nid, OBJ_cmp, 17 const char *OBJ_nid2sn(int n); 57 OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID I<n> to 153 OBJ_nid2ln() and OBJ_nid2sn() returns a valid string or B<NULL>
|
/openssl/apps/lib/ |
H A D | s_cb.c | 262 return OBJ_nid2sn(nid); in get_sigtype() 321 BIO_printf(out, "+%s", OBJ_nid2sn(hash_nid)); in do_print_sigalgs() 338 BIO_printf(out, "Peer signing digest: %s\n", OBJ_nid2sn(nid)); in ssl_print_sigalgs() 446 BIO_printf(out, "%s, %d bits\n", OBJ_nid2sn(EVP_PKEY_get_id(key)), in ssl_print_tmp_key() 1313 BIO_printf(bio_err, "Hash used: %s\n", OBJ_nid2sn(nid)); in print_ssl_summary() 1520 cname = OBJ_nid2sn(nid); in security_callback_debug() 1530 BIO_puts(sdb->out, OBJ_nid2sn(sig_nid)); in security_callback_debug()
|
/openssl/crypto/ |
H A D | core_namemap.c | 390 num = ossl_namemap_add_name(arg, num, OBJ_nid2sn(base_nid)); in get_legacy_evp_names() 395 num = ossl_namemap_add_name(arg, num, OBJ_nid2sn(nid)); in get_legacy_evp_names()
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 380 || BIO_printf(out, "Basis Type: %s\n", OBJ_nid2sn(basis_type)) <= 0) in ec_param_explicit_curve_to_text() 454 if (BIO_printf(out, "Field Type: %s\n", OBJ_nid2sn(tmp_nid)) <= 0 in ec_param_explicit_to_text() 481 if (BIO_printf(out, "%s: %s\n", "ASN1 OID", OBJ_nid2sn(curve_nid)) <= 0) in ec_param_to_text()
|
/openssl/include/openssl/ |
H A D | objects.h | 69 const char *OBJ_nid2sn(int n);
|
/openssl/crypto/pkcs12/ |
H A D | p12_add.c | 114 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex()
|
H A D | p12_sbag.c | 253 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
|