/openbsd-current/lib/libcrypto/x509/ |
H A D | x_all.c | 402 if (X509_ALGOR_cmp(a->sig_alg, a->cert_info->signature)) 404 return ASN1_item_verify(&X509_CINF_it, a->sig_alg, 413 a->sig_alg, a->signature, a->req_info, r); 430 x->cert_info->signature, x->sig_alg, x->signature, 440 x->cert_info->signature, x->sig_alg, x->signature, 449 x->sig_alg, NULL, x->signature, x->req_info, pkey, md); 457 x->sig_alg, NULL, x->signature, x->req_info, ctx); 465 return ASN1_item_sign(&X509_CRL_INFO_it, x->crl->sig_alg, 466 x->sig_alg, x->signature, x->crl, pkey, md); 475 x->crl->sig_alg, [all...] |
H A D | x509_local.h | 128 X509_ALGOR *sig_alg; member in struct:X509_req_st 169 X509_ALGOR *sig_alg; member in struct:x509_st 207 X509_ALGOR *sig_alg; member in struct:X509_crl_info_st 219 X509_ALGOR *sig_alg; member in struct:X509_crl_st
|
H A D | x509_set.c | 248 return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg->algorithm));
|
/openbsd-current/lib/libcrypto/asn1/ |
H A D | t_crl.c | 108 if (X509_signature_print(out, x->sig_alg, NULL) == 0) 144 if (X509_signature_print(out, x->sig_alg, x->signature) == 0)
|
H A D | x_req.c | 182 .offset = offsetof(X509_REQ, sig_alg), 183 .field_name = "sig_alg", 243 return OBJ_obj2nid(req->sig_alg->algorithm); 254 *palg = req->sig_alg;
|
H A D | x_crl.c | 139 .offset = offsetof(X509_CRL_INFO, sig_alg), 140 .field_name = "sig_alg", 395 .offset = offsetof(X509_CRL, sig_alg), 396 .field_name = "sig_alg", 544 return ASN1_item_verify(&X509_CRL_INFO_it, crl->sig_alg, crl->signature, 627 return OBJ_obj2nid(crl->sig_alg->algorithm); 694 *palg = crl->sig_alg; 701 return crl->crl->sig_alg;
|
H A D | x_x509.c | 239 .offset = offsetof(X509, sig_alg), 240 .field_name = "sig_alg", 385 *palg = x->sig_alg; 392 return OBJ_obj2nid(x->sig_alg->algorithm);
|
H A D | t_x509.c | 181 if (X509_signature_print(bp, x->sig_alg, NULL) <= 0) 243 if (X509_signature_print(bp, x->sig_alg, x->signature) <= 0)
|
H A D | t_req.c | 245 if (!X509_signature_print(bp, x->sig_alg, x->signature))
|
/openbsd-current/lib/libcrypto/ct/ |
H A D | ct_oct.c | 78 uint8_t hash_alg, sig_alg; local 92 if (!CBS_get_u8(cbs, &sig_alg)) 107 sct->sig_alg = sig_alg; 250 *p++ = sct->sig_alg;
|
H A D | ct_sct.c | 201 sct->sig_alg = 1; /* XXX */ 206 sct->sig_alg = 3; /* XXX */ 313 switch (sct->sig_alg) {
|
H A D | ct_local.h | 112 unsigned char sig_alg; member in struct:sct_st
|
H A D | ct_prn.c | 105 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
|
/openbsd-current/regress/usr.bin/ssh/unittests/sshkey/ |
H A D | test_sshkey.c | 49 const char *sig_alg) 96 sshbuf_ptr(b), sshbuf_len(b), sig_alg, NULL, NULL, 0), 0); 108 signature_test(struct sshkey *k, struct sshkey *bad, const char *sig_alg, argument 114 ASSERT_INT_EQ(sshkey_sign(k, &sig, &len, d, l, sig_alg, 142 signature_tests(struct sshkey *k, struct sshkey *bad, const char *sig_alg) argument 154 signature_test(k, bad, sig_alg, buf, lens[i]); 47 build_cert(struct sshbuf *b, struct sshkey *k, const char *type, struct sshkey *sign_key, struct sshkey *ca_key, const char *sig_alg) argument
|
H A D | test_fuzz.c | 70 sig_fuzz(struct sshkey *k, const char *sig_alg) argument 84 sig_alg, NULL, NULL, 0), 0);
|