Home
last modified time | relevance | path

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

/third_party/fsverity-utils/lib/
Dsign_digest.c127 int name_der_len, sig_nid; in sign_pkcs7() local
164 sig_nid = EVP_PKEY_id(pkey); in sign_pkcs7()
167 if (sig_nid != NID_rsaEncryption) { in sign_pkcs7()
168 OBJ_find_sigid_by_algs(&sig_nid, EVP_MD_type(md), in sign_pkcs7()
197 !OBJ_nid2cbb(&sign_algo, sig_nid) || in sign_pkcs7()
/third_party/openssl/test/
Dalgorithmid_test.c115 int sig_nid = NID_undef, dig_nid = NID_undef, pkey_nid = NID_undef; in test_x509_sig_aid() local
135 if (!TEST_int_ne(sig_nid = OBJ_obj2nid(sig_oid), NID_undef) in test_x509_sig_aid()
136 || !TEST_true(OBJ_find_sigid_algs(sig_nid, &dig_nid, &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()
/third_party/openssl/crypto/x509/
Dt_x509.c316 int sig_nid; in X509_signature_print() local
325 sig_nid = OBJ_obj2nid(sigalg->algorithm); in X509_signature_print()
326 if (sig_nid != NID_undef) { in X509_signature_print()
329 if (OBJ_find_sigid_algs(sig_nid, &dig_nid, &pkey_nid)) { in X509_signature_print()
/third_party/openssl/apps/lib/
Ds_cb.c1439 int sig_nid = X509_get_signature_nid(other); in security_callback_debug() local
1441 BIO_puts(sdb->out, OBJ_nid2sn(sig_nid)); in security_callback_debug()
/third_party/openssl/ssl/
Dt1_lib.c2567 int sig_nid, use_pc_sigalgs = 0; in tls1_check_sig_alg() local
2573 sig_nid = X509_get_signature_nid(x); in tls1_check_sig_alg()
2575 return sig_nid == default_nid ? 1 : 0; in tls1_check_sig_alg()
2592 if (sigalg != NULL && sig_nid == sigalg->sigandhash) in tls1_check_sig_alg()