/openssl/crypto/x509/ |
H A D | t_crl.c | 44 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 D | x_all.c | 35 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 D | t_req.c | 198 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 D | t_acert.c | 267 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 D | x_x509.c | 134 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 D | x509cset.c | 134 *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 D | x509_req.c | 323 *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 D | x509_acert.c | 66 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 D | x509_set.c | 154 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 D | x_crl.c | 69 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 D | t_x509.c | 183 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 D | x_req.c | 123 ASN1_EMBED(X509_REQ, sig_alg, X509_ALGOR),
|
H A D | x509_cmp.c | 553 sign_nid = OBJ_obj2nid(crl->crl.sig_alg.algorithm); in X509_CRL_check_suiteb()
|
H A D | x509_vfy.c | 653 CB_FAIL_IF(X509_ALGOR_cmp(&x->sig_alg, &x->cert_info.signature) != 0, in check_extensions()
|
/openssl/doc/man3/ |
H A D | ASN1_item_sign.pod | 106 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 D | x509.h | 78 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 D | x509_acert.h | 67 X509_ALGOR sig_alg; member
|
/openssl/crypto/ct/ |
H A D | ct_sct.c | 125 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 D | ct_oct.c | 49 sct->sig_alg = *p++; in o2i_SCT_signature() 187 *p++ = sct->sig_alg; in i2o_SCT_signature()
|
H A D | ct_prn.c | 24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print()
|
H A D | ct_local.h | 74 unsigned char sig_alg; member
|
/openssl/ssl/ |
H A D | t1_lib.c | 3027 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()
|