/third_party/openssl/crypto/asn1/ |
D | x_algor.c | 16 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 …]
|
D | p5_pbev2.c | 19 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()
|
D | a_sign.c | 26 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()
|
D | x_sig.c | 17 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()
|
D | p5_pbe.c | 27 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()
|
D | p5_scrypt.c | 31 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()
|
D | n_pkey.c | 27 X509_ALGOR *algor; 52 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR),
|
/third_party/openssl/crypto/cms/ |
D | cms_local.h | 67 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 …]
|
D | cms_asn1.c | 61 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 …]
|
D | cms_sd.c | 247 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/ |
D | X509_ALGOR_dup.pod | 11 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/ |
D | x509.h | 64 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 …]
|
D | pkcs7.h | 40 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 …]
|
D | cms.h | 162 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,
|
D | pkcs12.h | 80 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/ |
D | x509.h | 72 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;
|
D | asn1.h | 41 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/ |
D | rsa_ameth.c | 27 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 …]
|
D | rsa_asn1.c | 82 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/ |
D | pk7_attr.c | 21 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()
|
D | pk7_asn1.c | 73 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/ |
D | ecx_meth.c | 46 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/ |
D | ts_local.h | 16 X509_ALGOR *hash_algo; 144 X509_ALGOR *hash_alg; /* Default: SHA-256 */ 202 X509_ALGOR *md_alg;
|
/third_party/openssl/crypto/ocsp/ |
D | ocsp_local.h | 17 X509_ALGOR hashAlgorithm; 51 X509_ALGOR signatureAlgorithm; 191 X509_ALGOR signatureAlgorithm;
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_decr.c | 23 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()
|