Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dx_algor.c63 ASN1_SEQUENCE(X509_ALGOR) = {
64 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
65 ASN1_OPT(X509_ALGOR, parameter, ASN1_ANY)
66 } ASN1_SEQUENCE_END(X509_ALGOR)
69 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
72 IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
74 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
76 IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
78 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, void *pval)
111 X509_ALGOR *algor) in X509_ALGOR_get0()
[all …]
Da_sign.c68 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign()
84 X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign_ctx()
Dx_x509.c76 ASN1_SIMPLE(X509_CINF, signature, X509_ALGOR),
136 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
215 void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, in X509_get0_signature()
Dx_sig.c65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
Dx_spki.c74 ASN1_SIMPLE(NETSCAPE_SPKI, sig_algor, X509_ALGOR),
Dx_req.c107 ASN1_SIMPLE(X509_REQ, sig_alg, X509_ALGOR),
Da_verify.c74 int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, in ASN1_item_verify()
Dx_pubkey.c83 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR),
371 X509_ALGOR **pa, in X509_PUBKEY_get0_param()
Dx509.c103 X509_ALGOR **pa, PKCS8_PRIV_KEY_INFO *p8) { in PKCS8_pkey_get0()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c302 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) { in rsa_mgf1_decode()
317 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode()
318 X509_ALGOR **pmaskHash) { in rsa_pss_decode()
342 X509_ALGOR *maskHash, int indent) { in rsa_pss_param_print()
424 static int rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in rsa_sig_print()
429 X509_ALGOR *maskHash; in rsa_sig_print()
464 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor()
477 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1()
478 X509_ALGOR *algtmp = NULL; in rsa_md_to_mgf1()
487 !ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp)) { in rsa_md_to_mgf1()
[all …]
Dalgorithm.c69 int EVP_DigestSignAlgorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor) { in EVP_DigestSignAlgorithm()
114 X509_ALGOR *algor, in EVP_DigestVerifyInitFromAlgorithm()
Dinternal.h124 int (*sig_print)(BIO *out, const X509_ALGOR *sigalg, const ASN1_STRING *sig,
138 X509_ALGOR *algor,
142 X509_ALGOR *algor);
Dp_dsa_asn1.c77 X509_ALGOR *palg; in dsa_pub_decode()
180 X509_ALGOR *palg; in dsa_priv_decode()
466 static int dsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in dsa_sig_print()
Dp_ec_asn1.c171 X509_ALGOR *palg; in eckey_pub_decode()
220 X509_ALGOR *palg; in eckey_priv_decode()
/external/boringssl/src/include/openssl/
Dx509.h111 DECLARE_ASN1_SET_OF(X509_ALGOR)
113 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
123 X509_ALGOR *algor;
130 X509_ALGOR *algor;
205 X509_ALGOR *sig_alg;
214 X509_ALGOR *signature;
237 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
243 X509_ALGOR *sig_alg;
408 X509_ALGOR *sig_alg;
421 X509_ALGOR *sig_alg;
[all …]
Dstack_macros.h2277 ((STACK_OF(X509_ALGOR) *)sk_new(CHECKED_CAST( \
2278 stack_cmp_func, int (*)(const X509_ALGOR **a, const X509_ALGOR **b), \
2281 #define sk_X509_ALGOR_new_null() ((STACK_OF(X509_ALGOR) *)sk_new_null())
2284 sk_num(CHECKED_CAST(_STACK *, STACK_OF(X509_ALGOR) *, sk))
2287 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(X509_ALGOR) *, sk));
2290 ((X509_ALGOR *)sk_value( \
2291 CHECKED_CAST(_STACK *, const STACK_OF(X509_ALGOR) *, sk), (i)))
2294 ((X509_ALGOR *)sk_set(CHECKED_CAST(_STACK *, STACK_OF(X509_ALGOR) *, sk), \
2295 (i), CHECKED_CAST(void *, X509_ALGOR *, p)))
2298 sk_free(CHECKED_CAST(_STACK *, STACK_OF(X509_ALGOR) *, sk))
[all …]
Devp.h258 OPENSSL_EXPORT int EVP_DigestSignAlgorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor);
283 X509_ALGOR *algor,
Drsa.h471 X509_ALGOR *hashAlgorithm;
472 X509_ALGOR *maskGenAlgorithm;
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c74 ASN1_SIMPLE(PBE2PARAM, keyfunc, X509_ALGOR),
75 ASN1_SIMPLE(PBE2PARAM, encryption, X509_ALGOR)
84 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR)
116 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set_iv()
120 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; in PKCS5_pbe2_set_iv()
219 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set()
225 X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, in PKCS5_pbkdf2_set()
228 X509_ALGOR *keyfunc = NULL; in PKCS5_pbkdf2_set()
Dp5_pbe.c79 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
134 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, in PKCS5_pbe_set()
137 X509_ALGOR *ret; in PKCS5_pbe_set()
Dp8_pkey.c80 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, pkeyalg, X509_ALGOR),
Dpkcs8.c403 static int pbe_crypt(const X509_ALGOR *algor, in pbe_crypt()
454 static void *pkcs12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, in pkcs12_item_decrypt_d2i()
503 static ASN1_OCTET_STRING *pkcs12_item_i2d_encrypt(X509_ALGOR *algor, in pkcs12_item_i2d_encrypt()
558 X509_ALGOR *pbe; in PKCS8_encrypt_pbe()
756 X509_ALGOR *algor = NULL; in PKCS12_handle_content_info()
/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/libchrome/crypto/
Dsignature_verifier_openssl.cc53 ScopedOpenSSL<X509_ALGOR, X509_ALGOR_free> algorithm( in VerifyInit()
/external/boringssl/src/crypto/rsa/
Drsa_asn1.c453 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
454 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),

12