Home
last modified time | relevance | path

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

/openssl/crypto/x509/
H A Dt_crl.c44 const X509_ALGOR *sig_alg; in X509_CRL_print_ex() local
55 X509_CRL_get0_signature(x, &sig, &sig_alg); in X509_CRL_print_ex()
57 X509_signature_print(out, sig_alg, NULL); in X509_CRL_print_ex()
90 X509_signature_print(out, sig_alg, sig); in X509_CRL_print_ex()
H A Dx_all.c35 if (X509_ALGOR_cmp(&a->sig_alg, &a->cert_info.signature) != 0) in X509_verify()
38 return ASN1_item_verify_ex(ASN1_ITEM_rptr(X509_CINF), &a->sig_alg, in X509_verify()
51 return ASN1_item_verify_ex(ASN1_ITEM_rptr(X509_REQ_INFO), &a->sig_alg, in X509_REQ_verify_ex()
63 if (X509_ALGOR_cmp(&a->sig_alg, &a->acinfo->signature) != 0) in X509_ACERT_verify()
66 return ASN1_item_verify_ex(ASN1_ITEM_rptr(X509_ACERT_INFO), &a->sig_alg, in X509_ACERT_verify()
96 &x->sig_alg, &x->signature, &x->cert_info, NULL, in X509_sign()
161 &x->sig_alg, NULL, x->signature, &x->req_info, in X509_REQ_sign_ctx()
173 &x->sig_alg, &x->signature, &x->crl, NULL, in X509_CRL_sign()
185 &x->crl.sig_alg, &x->sig_alg, &x->signature, in X509_CRL_sign_ctx()
197 return ASN1_item_sign_ex(ASN1_ITEM_rptr(X509_ACERT_INFO), &x->sig_alg, in X509_ACERT_sign()
[all …]
H A Dt_req.c198 const X509_ALGOR *sig_alg; in X509_REQ_print_ex() local
200 X509_REQ_get0_signature(x, &sig, &sig_alg); in X509_REQ_print_ex()
201 if (!X509_signature_print(bp, sig_alg, sig)) in X509_REQ_print_ex()
H A Dt_acert.c267 const X509_ALGOR *sig_alg; in X509_ACERT_print_ex() local
270 X509_ACERT_get0_signature(x, &sig, &sig_alg); in X509_ACERT_print_ex()
271 if (X509_signature_print(bp, sig_alg, sig) <= 0) in X509_ACERT_print_ex()
H A Dx_x509.c134 ASN1_EMBED(X509, sig_alg, X509_ALGOR),
299 *palg = &x->sig_alg; in X509_get0_signature()
304 return OBJ_obj2nid(x->sig_alg.algorithm); in X509_get_signature_nid()
H A Dx509cset.c134 *palg = &crl->sig_alg; in X509_CRL_get0_signature()
139 return OBJ_obj2nid(crl->sig_alg.algorithm); in X509_CRL_get_signature_nid()
H A Dx509_req.c323 *palg = &req->sig_alg; in X509_REQ_get0_signature()
335 return X509_ALGOR_copy(&req->sig_alg, palg); in X509_REQ_set1_signature_algo()
340 return OBJ_obj2nid(req->sig_alg.algorithm); in X509_REQ_get_signature_nid()
H A Dx509_acert.c66 ASN1_EMBED(X509_ACERT, sig_alg, X509_ALGOR),
133 *palg = &x->sig_alg; in X509_ACERT_get0_signature()
138 return OBJ_obj2nid(x->sig_alg.algorithm); in X509_ACERT_get_signature_nid()
H A Dx509_set.c154 return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg.algorithm)); in X509_get_signature_type()
302 return x509_sig_info_init(&x->siginf, &x->sig_alg, &x->signature, in ossl_x509_init_sig_info()
H A Dx_crl.c69 ASN1_EMBED(X509_CRL_INFO, sig_alg, X509_ALGOR),
328 ASN1_EMBED(X509_CRL, sig_alg, X509_ALGOR),
403 &crl->sig_alg, &crl->signature, &crl->crl, NULL, in def_crl_verify()
H A Dt_x509.c183 const X509_ALGOR *sig_alg; in X509_print_ex() local
185 X509_get0_signature(&sig, &sig_alg, x); in X509_print_ex()
186 if (X509_signature_print(bp, sig_alg, sig) <= 0) in X509_print_ex()
H A Dx_req.c123 ASN1_EMBED(X509_REQ, sig_alg, X509_ALGOR),
H A Dx509_cmp.c553 sign_nid = OBJ_obj2nid(crl->crl.sig_alg.algorithm); in X509_CRL_check_suiteb()
H A Dx509_vfy.c653 CB_FAIL_IF(X509_ALGOR_cmp(&x->sig_alg, &x->cert_info.signature) != 0, in check_extensions()
/openssl/doc/man3/
H A DASN1_item_sign.pod106 X509_ALGOR sig_alg;
117 X509_ALGOR sig_alg;
126 ASN1_EMBED(MySignInfoObject, sig_alg, X509_ALGOR),
135 ASN1_EMBED(MyObject, sig_alg, X509_ALGOR),
170 * obj->sig_alg is filled with the private key's signing algorithm id.
171 * obj->info.sig_alg is another copy of the signing algorithm id that sits
174 len = ASN1_item_sign_ctx(it, &obj->sig_alg, &obj->info.sig_alg,
177 || X509_ALGOR_cmp(&obj->sig_alg, &obj->info.sig_alg) != 0)
197 ret = ASN1_item_verify_ctx(it, &loaded_obj->sig_alg, loaded_obj->signature,
/openssl/include/crypto/
H A Dx509.h78 X509_ALGOR sig_alg; /* signature algorithm */ member
91 X509_ALGOR sig_alg; /* signature algorithm */ member
102 X509_ALGOR sig_alg; /* CRL signature algorithm */ member
176 X509_ALGOR sig_alg; member
H A Dx509_acert.h67 X509_ALGOR sig_alg; member
/openssl/crypto/ct/
H A Dct_sct.c125 sct->sig_alg = TLSEXT_signature_rsa; in SCT_set_signature_nid()
130 sct->sig_alg = TLSEXT_signature_ecdsa; in SCT_set_signature_nid()
212 switch (sct->sig_alg) { in SCT_get_signature_nid()
H A Dct_oct.c49 sct->sig_alg = *p++; in o2i_SCT_signature()
187 *p++ = sct->sig_alg; in i2o_SCT_signature()
H A Dct_prn.c24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print()
H A Dct_local.h74 unsigned char sig_alg; member
/openssl/ssl/
H A Dt1_lib.c3027 int sig_alg = NID_undef, hash_alg = NID_undef; in sig_cb() local
3086 get_sigorhash(&sig_alg, &hash_alg, etmp); in sig_cb()
3087 get_sigorhash(&sig_alg, &hash_alg, p); in sig_cb()
3088 if (sig_alg == NID_undef || hash_alg == NID_undef) { in sig_cb()
3094 if (s->hash == hash_alg && s->sig == sig_alg) { in sig_cb()

Completed in 99 milliseconds