Home
last modified time | relevance | path

Searched refs:OBJ_nid2sn (Results 1 – 25 of 61) sorted by relevance

123

/openssl/test/
H A Dalgorithmid_test.c140 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 Dssl_cert_table_internal_test.c35 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 Dasn1_internal_test.c97 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 Decdsatest.c97 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 Dpbelutest.c39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); in test_pbelu()
H A Dx509_internal_test.c46 TEST_note("%d : %s", (*tmp)->ext_nid, OBJ_nid2sn((*tmp)->ext_nid)); in test_standard_exts()
H A Dpkcs12_format_test.c369 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 Dectest.c1144 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 Deck_prn.c107 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 Dnames.c26 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 Devp_pbe.c128 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 Dp_lib.c261 && !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 Da_verify.c40 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 Dengine.c426 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 Decparam.c80 const char *sname = OBJ_nid2sn(curves[n].nid); in list_builtin_curves()
/openssl/crypto/x509/
H A Dx509_att.c127 "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 Dv3_conf.c72 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 Dx509_obj.c66 if ((n == NID_undef) || ((s = OBJ_nid2sn(n)) == NULL)) { in X509_NAME_oneline()
/openssl/doc/man3/
H A DOBJ_nid2obj.pod7 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 Ds_cb.c262 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 Dcore_namemap.c390 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 Dencode_key2text.c380 || 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 Dobjects.h69 const char *OBJ_nid2sn(int n);
/openssl/crypto/pkcs12/
H A Dp12_add.c114 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex()
H A Dp12_sbag.c253 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()

Completed in 68 milliseconds

123