Home
last modified time | relevance | path

Searched refs:X509_ALGOR (Results 1 – 25 of 55) sorted by relevance

123

/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx_algor.c65 ASN1_SEQUENCE(X509_ALGOR) = {
66 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
67 ASN1_OPT(X509_ALGOR, parameter, ASN1_ANY)
68 } ASN1_SEQUENCE_END(X509_ALGOR)
71 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
74 IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
76 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
78 IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
80 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype,
109 const X509_ALGOR *algor) in X509_ALGOR_get0()
[all …]
Drsa_pss.c71 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
72 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),
81 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) {
93 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode()
94 X509_ALGOR **pmaskHash) { in rsa_pss_decode()
113 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor()
126 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1()
127 X509_ALGOR *algtmp = NULL; in rsa_md_to_mgf1()
136 !ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp)) { in rsa_md_to_mgf1()
157 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md()
[all …]
Dinternal.h33 int x509_rsa_pss_to_ctx(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, EVP_PKEY *pkey);
38 int x509_rsa_ctx_to_pss(EVP_MD_CTX *ctx, X509_ALGOR *algor);
43 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent,
52 int x509_digest_sign_algorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor);
58 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg,
Da_sign.c67 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, in ASN1_item_sign()
68 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, in ASN1_item_sign()
81 X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign_ctx()
Dalgorithm.c68 int x509_digest_sign_algorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor) { in x509_digest_sign_algorithm()
113 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, in x509_digest_verify_init()
Dx_x509.c78 ASN1_SIMPLE(X509_CINF, signature, X509_ALGOR),
172 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
348 void X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature()
Dx_sig.c65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
Dx509_set.c208 const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x) in X509_get0_tbs_sigalg()
218 const X509_ALGOR *X509_CINF_get_signature(const X509_CINF *cinf) in X509_CINF_get_signature()
Dx_spki.c76 ASN1_SIMPLE(NETSCAPE_SPKI, sig_algor, X509_ALGOR),
/external/boringssl/src/crypto/x509/
Dx_algor.c65 ASN1_SEQUENCE(X509_ALGOR) = {
66 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
67 ASN1_OPT(X509_ALGOR, parameter, ASN1_ANY)
68 } ASN1_SEQUENCE_END(X509_ALGOR)
71 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
74 IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
76 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
78 IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
80 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype,
109 const X509_ALGOR *algor) in X509_ALGOR_get0()
[all …]
Drsa_pss.c71 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
72 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),
81 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) {
93 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode()
94 X509_ALGOR **pmaskHash) { in rsa_pss_decode()
113 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor()
126 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1()
127 X509_ALGOR *algtmp = NULL; in rsa_md_to_mgf1()
136 !ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp)) { in rsa_md_to_mgf1()
157 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md()
[all …]
Dinternal.h33 int x509_rsa_pss_to_ctx(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, EVP_PKEY *pkey);
38 int x509_rsa_ctx_to_pss(EVP_MD_CTX *ctx, X509_ALGOR *algor);
43 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent,
52 int x509_digest_sign_algorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor);
58 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg,
Da_sign.c67 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, in ASN1_item_sign()
68 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, in ASN1_item_sign()
81 X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign_ctx()
Dx_x509.c78 ASN1_SIMPLE(X509_CINF, signature, X509_ALGOR),
170 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
351 int X509_set1_signature_algo(X509 *x509, const X509_ALGOR *algo) in X509_set1_signature_algo()
356 X509_ALGOR *copy1 = X509_ALGOR_dup((X509_ALGOR *)algo); in X509_set1_signature_algo()
357 X509_ALGOR *copy2 = X509_ALGOR_dup((X509_ALGOR *)algo); in X509_set1_signature_algo()
381 void X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature()
Dx_sig.c65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
71 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **out_alg,
81 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **out_alg, in X509_SIG_getm()
Dalgorithm.c68 int x509_digest_sign_algorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor) { in x509_digest_sign_algorithm()
113 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, in x509_digest_verify_init()
Dx_pubkey.c84 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR),
203 X509_ALGOR **pa, X509_PUBKEY *pub) in X509_PUBKEY_get0_param()
Dx509_set.c229 const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x) in X509_get0_tbs_sigalg()
239 const X509_ALGOR *X509_CINF_get_signature(const X509_CINF *cinf) in X509_CINF_get_signature()
Dx_spki.c76 ASN1_SIMPLE(NETSCAPE_SPKI, sig_algor, X509_ALGOR),
/external/boringssl/src/include/openssl/
Dx509.h113 DEFINE_STACK_OF(X509_ALGOR)
114 DECLARE_ASN1_SET_OF(X509_ALGOR)
116 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
124 X509_ALGOR *algor;
130 X509_ALGOR *algor;
193 X509_ALGOR *sig_alg;
201 X509_ALGOR *signature;
222 STACK_OF(X509_ALGOR) *other; // other unspecified info
230 X509_ALGOR *sig_alg;
380 X509_ALGOR *sig_alg;
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509.h113 DEFINE_STACK_OF(X509_ALGOR)
114 DECLARE_ASN1_SET_OF(X509_ALGOR)
116 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
124 X509_ALGOR *algor;
130 X509_ALGOR *algor;
193 X509_ALGOR *sig_alg;
201 X509_ALGOR *signature;
222 STACK_OF(X509_ALGOR) * other; // other unspecified info
230 X509_ALGOR *sig_alg;
381 X509_ALGOR *sig_alg;
[all …]
/external/arm-trusted-firmware/tools/cert_create/src/
Dext.c19 DECLARE_ASN1_ITEM(X509_ALGOR)
23 X509_ALGOR *hashAlgorithm;
28 ASN1_SIMPLE(HASH, hashAlgorithm, X509_ALGOR),
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c47 X509_ALGOR *hashAlgorithm;
164 X509_ALGOR *signatureAlgorithm;
170 ASN1_SIMPLE(CertID, hashAlgorithm, X509_ALGOR),
212 ASN1_SIMPLE(BasicOCSPResponse, signatureAlgorithm, X509_ALGOR),
319 static char * algor_str(X509_ALGOR *alg) in algor_str()
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py848 X509_ALGOR = X509_algor_st variable
939 ('digest_alg', POINTER(X509_ALGOR)),
941 ('digest_enc_alg', POINTER(X509_ALGOR)),
954 ('key_enc_algor', POINTER(X509_ALGOR)),
980 ('algorithm', POINTER(X509_ALGOR)),
1015 ('md', POINTER(X509_ALGOR)),
1606 ('algor', POINTER(X509_ALGOR)),
1616 ('algor', POINTER(X509_ALGOR)),
1686 ('sig_alg', POINTER(X509_ALGOR)),
1698 ('signature', POINTER(X509_ALGOR)),
[all …]
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py848 X509_ALGOR = X509_algor_st variable
939 ('digest_alg', POINTER(X509_ALGOR)),
941 ('digest_enc_alg', POINTER(X509_ALGOR)),
954 ('key_enc_algor', POINTER(X509_ALGOR)),
980 ('algorithm', POINTER(X509_ALGOR)),
1015 ('md', POINTER(X509_ALGOR)),
1606 ('algor', POINTER(X509_ALGOR)),
1616 ('algor', POINTER(X509_ALGOR)),
1686 ('sig_alg', POINTER(X509_ALGOR)),
1698 ('signature', POINTER(X509_ALGOR)),
[all …]

123