Home
last modified time | relevance | path

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

1234

/third_party/openssl/crypto/asn1/
Dx_algor.c16 ASN1_SEQUENCE(X509_ALGOR) = {
17 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
18 ASN1_OPT(X509_ALGOR, parameter, ASN1_ANY)
19 } ASN1_SEQUENCE_END(X509_ALGOR)
22 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
25 IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
27 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
29 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
55 const void **ppval, const X509_ALGOR *algor) in X509_ALGOR_get0()
72 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md) in X509_ALGOR_set_md()
[all …]
Dp5_pbev2.c19 ASN1_SIMPLE(PBE2PARAM, keyfunc, X509_ALGOR),
20 ASN1_SIMPLE(PBE2PARAM, encryption, X509_ALGOR)
29 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR)
40 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter,
44 X509_ALGOR *scheme = NULL, *ret = NULL;
143 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set()
149 X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, in PKCS5_pbkdf2_set()
152 X509_ALGOR *keyfunc = NULL; in PKCS5_pbkdf2_set()
Da_sign.c26 int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_sign()
34 X509_ALGOR *a; in ASN1_sign()
117 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, in ASN1_item_sign()
118 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, in ASN1_item_sign()
140 X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign_ctx()
Dx_sig.c17 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
23 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
32 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, in X509_SIG_getm()
Dp5_pbe.c27 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
81 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, in PKCS5_pbe_set()
84 X509_ALGOR *ret; in PKCS5_pbe_set()
Dp5_scrypt.c31 static X509_ALGOR *pkcs5_scrypt_set(const unsigned char *salt, size_t saltlen,
39 X509_ALGOR *PKCS5_pbe2_set_scrypt(const EVP_CIPHER *cipher, in PKCS5_pbe2_set_scrypt()
44 X509_ALGOR *scheme = NULL, *ret = NULL; in PKCS5_pbe2_set_scrypt()
148 static X509_ALGOR *pkcs5_scrypt_set(const unsigned char *salt, size_t saltlen, in pkcs5_scrypt_set()
152 X509_ALGOR *keyfunc = NULL; in pkcs5_scrypt_set()
Dn_pkey.c27 X509_ALGOR *algor;
52 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR),
/third_party/openssl/crypto/cms/
Dcms_local.h67 STACK_OF(X509_ALGOR) *digestAlgorithms;
84 X509_ALGOR *digestAlgorithm;
86 X509_ALGOR *signatureAlgorithm;
120 X509_ALGOR *contentEncryptionAlgorithm;
148 X509_ALGOR *keyEncryptionAlgorithm;
161 X509_ALGOR *keyEncryptionAlgorithm;
179 X509_ALGOR *algorithm;
207 X509_ALGOR *keyEncryptionAlgorithm;
222 X509_ALGOR *keyDerivationAlgorithm;
223 X509_ALGOR *keyEncryptionAlgorithm;
[all …]
Dcms_asn1.c61 ASN1_SIMPLE(CMS_SignerInfo, digestAlgorithm, X509_ALGOR),
63 ASN1_SIMPLE(CMS_SignerInfo, signatureAlgorithm, X509_ALGOR),
80 ASN1_SET_OF(CMS_SignedData, digestAlgorithms, X509_ALGOR),
94 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentEncryptionAlgorithm, X509_ALGOR),
101 ASN1_SIMPLE(CMS_KeyTransRecipientInfo, keyEncryptionAlgorithm, X509_ALGOR),
137 ASN1_SIMPLE(CMS_OriginatorPublicKey, algorithm, X509_ALGOR),
168 ASN1_SIMPLE(CMS_KeyAgreeRecipientInfo, keyEncryptionAlgorithm, X509_ALGOR),
181 ASN1_SIMPLE(CMS_KEKRecipientInfo, keyEncryptionAlgorithm, X509_ALGOR),
187 ASN1_IMP_OPT(CMS_PasswordRecipientInfo, keyDerivationAlgorithm, X509_ALGOR, 0),
188 ASN1_SIMPLE(CMS_PasswordRecipientInfo, keyEncryptionAlgorithm, X509_ALGOR),
[all …]
Dcms_sd.c247 X509_ALGOR *alg; in CMS_add1_signer()
341 STACK_OF(X509_ALGOR) *smcap = NULL; in CMS_add1_signer()
538 X509 **signer, X509_ALGOR **pdig, in CMS_SignerInfo_get0_algs()
539 X509_ALGOR **psig) in CMS_SignerInfo_get0_algs()
786 X509_ALGOR *digestAlgorithm; in cms_SignedData_init_bio()
880 int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs) in CMS_add_smimecap()
893 int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs, in CMS_add_simple_smimecap()
896 X509_ALGOR *alg; in CMS_add_simple_smimecap()
924 static int cms_add_cipher_smcap(STACK_OF(X509_ALGOR) **sk, int nid, int arg) in cms_add_cipher_smcap()
931 static int cms_add_digest_smcap(STACK_OF(X509_ALGOR) **sk, int nid, int arg) in cms_add_digest_smcap()
[all …]
/third_party/openssl/doc/man3/
DX509_ALGOR_dup.pod11 X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *alg);
12 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval);
14 const void **ppval, const X509_ALGOR *alg);
15 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
16 int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
17 int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src);
45 X509_ALGOR_dup() returns a valid B<X509_ALGOR> structure or NULL if an error
/third_party/openssl/include/openssl/
Dx509.h64 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
233 X509_ALGOR *enc_algor;
267 X509_ALGOR sig_algor;
294 X509_ALGOR *keyfunc;
295 X509_ALGOR *encryption;
303 X509_ALGOR *prf;
364 int X509_signature_print(BIO *bp, const X509_ALGOR *alg,
474 X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn);
475 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype,
478 const void **ppval, const X509_ALGOR *algor);
[all …]
Dpkcs7.h40 X509_ALGOR *digest_alg;
42 X509_ALGOR *digest_enc_alg;
54 X509_ALGOR *key_enc_algor;
63 STACK_OF(X509_ALGOR) *md_algs; /* md used */
76 X509_ALGOR *algorithm;
89 STACK_OF(X509_ALGOR) *md_algs; /* md used */
99 X509_ALGOR *md; /* md used */
264 X509_ALGOR **pdig, X509_ALGOR **psig);
265 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc);
302 STACK_OF(X509_ALGOR) *cap);
[all …]
Dcms.h162 X509_ALGOR **palg);
176 X509_ALGOR **palg,
235 X509 **signer, X509_ALGOR **pdig,
236 X509_ALGOR **psig);
242 int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs);
243 int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs,
245 int CMS_add_standard_smimecap(STACK_OF(X509_ALGOR) **smcap);
300 X509_ALGOR **palg,
306 X509_ALGOR **pubalg,
327 int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
Dpkcs12.h80 const X509_ALGOR **pmacalg,
119 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe);
147 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor,
152 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
155 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor,
/third_party/openssl/include/crypto/
Dx509.h72 X509_ALGOR sig_alg; /* signature algorithm */
80 X509_ALGOR sig_alg; /* signature algorithm */
91 X509_ALGOR sig_alg; /* CRL signature algorithm */
143 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
149 X509_ALGOR signature;
162 X509_ALGOR sig_alg;
264 X509_ALGOR *pkeyalg;
270 X509_ALGOR *algor;
Dasn1.h41 const X509_ALGOR *sigalg, const ASN1_STRING *sig,
51 X509_ALGOR *a, ASN1_BIT_STRING *sig, EVP_PKEY *pkey);
53 X509_ALGOR *alg1, X509_ALGOR *alg2,
55 int (*siginf_set) (X509_SIG_INFO *siginf, const X509_ALGOR *alg,
/third_party/openssl/crypto/rsa/
Drsa_ameth.c27 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg);
54 static int rsa_param_decode(RSA *rsa, const X509_ALGOR *alg) in rsa_param_decode()
99 X509_ALGOR *alg; in rsa_pub_decode()
186 const X509_ALGOR *alg; in rsa_priv_decode()
223 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) in rsa_mgf1_decode()
227 return ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(X509_ALGOR), in rsa_mgf1_decode()
235 X509_ALGOR *maskHash = NULL; in rsa_pss_param_print()
427 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg) in rsa_pss_decode()
448 static int rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in rsa_sig_print()
469 X509_ALGOR *alg = NULL; in rsa_pkey_ctrl()
[all …]
Drsa_asn1.c82 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
83 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),
102 ASN1_EXP_OPT(RSA_OAEP_PARAMS, hashFunc, X509_ALGOR, 0),
103 ASN1_EXP_OPT(RSA_OAEP_PARAMS, maskGenFunc, X509_ALGOR, 1),
104 ASN1_EXP_OPT(RSA_OAEP_PARAMS, pSourceFunc, X509_ALGOR, 2),
/third_party/openssl/crypto/pkcs7/
Dpk7_attr.c21 STACK_OF(X509_ALGOR) *cap) in PKCS7_add_attrib_smimecap()
35 STACK_OF(X509_ALGOR) *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si) in STACK_OF() argument
44 return (STACK_OF(X509_ALGOR) *) in STACK_OF()
50 int PKCS7_simple_smimecap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) in PKCS7_simple_smimecap()
53 X509_ALGOR *alg; in PKCS7_simple_smimecap()
Dpk7_asn1.c73 ASN1_SET_OF(PKCS7_SIGNED, md_algs, X509_ALGOR),
96 ASN1_SIMPLE(PKCS7_SIGNER_INFO, digest_alg, X509_ALGOR),
103 ASN1_SIMPLE(PKCS7_SIGNER_INFO, digest_enc_alg, X509_ALGOR),
139 ASN1_SIMPLE(PKCS7_RECIP_INFO, key_enc_algor, X509_ALGOR),
147 ASN1_SIMPLE(PKCS7_ENC_CONTENT, algorithm, X509_ALGOR),
156 ASN1_SET_OF(PKCS7_SIGN_ENVELOPE, md_algs, X509_ALGOR),
174 ASN1_SIMPLE(PKCS7_DIGEST, md, X509_ALGOR),
/third_party/openssl/crypto/ec/
Decx_meth.c46 static int ecx_key_op(EVP_PKEY *pkey, int id, const X509_ALGOR *palg, in ecx_key_op()
154 X509_ALGOR *palg; in ecx_pub_decode()
178 const X509_ALGOR *palg; in ecx_priv_decode()
506 X509_ALGOR *sigalg, ASN1_BIT_STRING *str, in ecd_item_verify()
528 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign25519()
539 static int ecd_sig_info_set25519(X509_SIG_INFO *siginf, const X509_ALGOR *alg, in ecd_sig_info_set25519()
548 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign448()
559 static int ecd_sig_info_set448(X509_SIG_INFO *siginf, const X509_ALGOR *alg, in ecd_sig_info_set448()
/third_party/openssl/crypto/ts/
Dts_local.h16 X509_ALGOR *hash_algo;
144 X509_ALGOR *hash_alg; /* Default: SHA-256 */
202 X509_ALGOR *md_alg;
/third_party/openssl/crypto/ocsp/
Docsp_local.h17 X509_ALGOR hashAlgorithm;
51 X509_ALGOR signatureAlgorithm;
191 X509_ALGOR signatureAlgorithm;
/third_party/openssl/crypto/pkcs12/
Dp12_decr.c23 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, in PKCS12_pbe_crypt()
82 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i()
124 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt()

1234