Home
last modified time | relevance | path

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

123456

/freebsd/crypto/openssl/crypto/asn1/
H A Dx_algor.c18 ASN1_SEQUENCE(X509_ALGOR) = {
19 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
20 ASN1_OPT(X509_ALGOR, parameter, ASN1_ANY)
21 } ASN1_SEQUENCE_END(X509_ALGOR)
24 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
27 IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
29 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
31 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
57 const void **ppval, const X509_ALGOR *algor) in X509_ALGOR_get0()
74 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md) in X509_ALGOR_set_md()
[all …]
H A Dp5_pbev2.c21 ASN1_SIMPLE(PBE2PARAM, keyfunc, X509_ALGOR),
22 ASN1_SIMPLE(PBE2PARAM, encryption, X509_ALGOR)
31 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR)
42 X509_ALGOR *PKCS5_pbe2_set_iv_ex(const EVP_CIPHER *cipher, int iter,
47 X509_ALGOR *scheme = NULL, *ret = NULL;
148 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set_iv()
156 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set()
164 X509_ALGOR *PKCS5_pbkdf2_set_ex(int iter, unsigned char *salt, int saltlen, in PKCS5_pbkdf2_set_ex()
168 X509_ALGOR *keyfunc = NULL; in PKCS5_pbkdf2_set_ex()
241 X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, in PKCS5_pbkdf2_set()
H A Dp5_pbe.c27 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter,
82 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, in PKCS5_pbe_set0_algor()
90 X509_ALGOR *PKCS5_pbe_set_ex(int alg, int iter, in PKCS5_pbe_set_ex()
94 X509_ALGOR *ret; in PKCS5_pbe_set_ex()
108 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, in PKCS5_pbe_set()
H A Da_sign.c27 int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_sign()
35 X509_ALGOR *a; in ASN1_sign()
118 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign()
126 int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, in ASN1_item_sign_ex()
127 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, in ASN1_item_sign_ex()
151 int ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, in ASN1_item_sign_ctx()
152 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, in ASN1_item_sign_ctx()
H A 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()
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_local.h46 X509_ALGOR *intendedAlg; /* 0 */
47 X509_ALGOR *symmAlg; /* 1 */
49 X509_ALGOR *keyAlg; /* 3 */
67 X509_ALGOR *privateKeyAlgorithm;
156 X509_ALGOR *algId;
210 X509_ALGOR *owf;
212 X509_ALGOR *mac;
254 X509_ALGOR *algorithmIdentifier;
310 X509_ALGOR *signingAlg; /* signingAlg MUST be omitted */
H A Dcrmf_asn.c23 ASN1_SIMPLE(OSSL_CRMF_PRIVATEKEYINFO, privateKeyAlgorithm, X509_ALGOR),
54 ASN1_IMP_OPT(OSSL_CRMF_ENCRYPTEDVALUE, intendedAlg, X509_ALGOR, 0),
55 ASN1_IMP_OPT(OSSL_CRMF_ENCRYPTEDVALUE, symmAlg, X509_ALGOR, 1),
57 ASN1_IMP_OPT(OSSL_CRMF_ENCRYPTEDVALUE, keyAlg, X509_ALGOR, 3),
80 ASN1_SIMPLE(OSSL_CRMF_PKMACVALUE, algId, X509_ALGOR),
98 ASN1_SIMPLE(OSSL_CRMF_PBMPARAMETER, owf, X509_ALGOR),
100 ASN1_SIMPLE(OSSL_CRMF_PBMPARAMETER, mac, X509_ALGOR)
125 ASN1_SIMPLE(OSSL_CRMF_POPOSIGNINGKEY, algorithmIdentifier, X509_ALGOR),
196 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, signingAlg, X509_ALGOR, 2),
/freebsd/crypto/openssl/include/crypto/
H A Dasn1.h50 const X509_ALGOR *sigalg, const ASN1_STRING *sig,
60 const X509_ALGOR *a, const ASN1_BIT_STRING *sig,
63 X509_ALGOR *alg1, X509_ALGOR *alg2,
65 int (*siginf_set) (X509_SIG_INFO *siginf, const X509_ALGOR *alg,
139 int ossl_x509_algor_new_from_md(X509_ALGOR **palg, const EVP_MD *md);
140 const EVP_MD *ossl_x509_algor_get_md(X509_ALGOR *alg);
141 X509_ALGOR *ossl_x509_algor_mgf1_decode(X509_ALGOR *alg);
142 int ossl_x509_algor_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md);
H A Dx509.h78 X509_ALGOR sig_alg; /* signature algorithm */
91 X509_ALGOR sig_alg; /* signature algorithm */
102 X509_ALGOR sig_alg; /* CRL signature algorithm */
157 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
163 X509_ALGOR signature;
176 X509_ALGOR sig_alg;
290 X509_ALGOR *pkeyalg;
296 X509_ALGOR *algor;
/freebsd/crypto/openssl/crypto/cms/
H A 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 …]
H A Dcms_local.h76 STACK_OF(X509_ALGOR) *digestAlgorithms;
93 X509_ALGOR *digestAlgorithm;
95 X509_ALGOR *signatureAlgorithm;
130 X509_ALGOR *contentEncryptionAlgorithm;
160 X509_ALGOR *keyEncryptionAlgorithm;
174 X509_ALGOR *keyEncryptionAlgorithm;
193 X509_ALGOR *algorithm;
221 X509_ALGOR *keyEncryptionAlgorithm;
237 X509_ALGOR *keyDerivationAlgorithm;
238 X509_ALGOR *keyEncryptionAlgorithm;
[all …]
H A Dcms_rsa.c19 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode()
42 X509_ALGOR *cmsalg; in rsa_cms_decrypt()
78 X509_ALGOR *plab = oaep->pSourceFunc; in rsa_cms_decrypt()
120 X509_ALGOR *alg; in rsa_cms_encrypt()
199 X509_ALGOR *alg; in rsa_cms_sign()
245 X509_ALGOR *alg; in rsa_cms_verify()
/freebsd/crypto/openssl/doc/man3/
H A 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
H A DASN1_item_sign.pod13 int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
14 X509_ALGOR *algor2, ASN1_BIT_STRING *signature,
19 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2,
23 int ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1,
24 X509_ALGOR *algor2, ASN1_BIT_STRING *signature,
27 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg,
32 int ASN1_item_verify(const ASN1_ITEM *it, const X509_ALGOR *alg,
36 int ASN1_item_verify_ctx(const ASN1_ITEM *it, const X509_ALGOR *alg,
47 both have a copy of the B<X509_ALGOR>. The ASN1_item_sign_ex() function will
48 write the correct B<X509_ALGOR> to the structs based on the algorithms and
[all …]
H A DPKCS5_PBE_keyivgen.pod50 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
52 int PKCS5_pbe_set0_algor_ex(X509_ALGOR *algor, int alg, int iter,
56 X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
58 X509_ALGOR *PKCS5_pbe_set_ex(int alg, int iter,
62 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter,
64 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter,
67 X509_ALGOR *PKCS5_pbe2_set_iv_ex(const EVP_CIPHER *cipher, int iter,
71 X509_ALGOR *PKCS5_pbe2_set_scrypt(const EVP_CIPHER *cipher,
76 X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen,
78 X509_ALGOR *PKCS5_pbkdf2_set_ex(int iter, unsigned char *salt, int saltlen,
[all …]
H A DPKCS12_item_decrypt_d2i.pod13 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
16 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it,
21 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor,
25 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_attr.c21 STACK_OF(X509_ALGOR) *cap) in PKCS7_add_attrib_smimecap()
39 STACK_OF(X509_ALGOR) *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si) in STACK_OF() argument
48 return (STACK_OF(X509_ALGOR) *) in STACK_OF()
54 int PKCS7_simple_smimecap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) in PKCS7_simple_smimecap()
57 X509_ALGOR *alg; in PKCS7_simple_smimecap()
H A Dpk7_asn1.c128 ASN1_SET_OF(PKCS7_SIGNED, md_algs, X509_ALGOR),
151 ASN1_SIMPLE(PKCS7_SIGNER_INFO, digest_alg, X509_ALGOR),
158 ASN1_SIMPLE(PKCS7_SIGNER_INFO, digest_enc_alg, X509_ALGOR),
194 ASN1_SIMPLE(PKCS7_RECIP_INFO, key_enc_algor, X509_ALGOR),
202 ASN1_SIMPLE(PKCS7_ENC_CONTENT, algorithm, X509_ALGOR),
211 ASN1_SET_OF(PKCS7_SIGN_ENVELOPE, md_algs, X509_ALGOR),
229 ASN1_SIMPLE(PKCS7_DIGEST, md, X509_ALGOR),
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c88 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
89 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),
109 ASN1_EXP_OPT(RSA_OAEP_PARAMS, hashFunc, X509_ALGOR, 0),
110 ASN1_EXP_OPT(RSA_OAEP_PARAMS, maskGenFunc, X509_ALGOR, 1),
111 ASN1_EXP_OPT(RSA_OAEP_PARAMS, pSourceFunc, X509_ALGOR, 2),
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_decr.c19 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, in PKCS12_pbe_crypt_ex()
115 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor, in PKCS12_pbe_crypt()
129 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i_ex()
158 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i()
171 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt_ex()
206 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, in PKCS12_item_i2d_encrypt()
/freebsd/crypto/openssl/include/openssl/
H A Dx509.h.in81 } /* X509_ALGOR */ ;
83 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
197 X509_ALGOR *enc_algor;
232 X509_ALGOR sig_algor;
259 X509_ALGOR *keyfunc;
260 X509_ALGOR *encryption;
268 X509_ALGOR *prf;
334 int X509_signature_print(BIO *bp, const X509_ALGOR *alg,
463 DECLARE_ASN1_DUP_FUNCTION(X509_ALGOR)
470 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype,
[all …]
H A Dx509.h181 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
367 X509_ALGOR *enc_algor;
426 X509_ALGOR sig_algor;
453 X509_ALGOR *keyfunc;
454 X509_ALGOR *encryption;
462 X509_ALGOR *prf;
528 int X509_signature_print(BIO *bp, const X509_ALGOR *alg,
657 DECLARE_ASN1_DUP_FUNCTION(X509_ALGOR)
664 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype,
667 const void **ppval, const X509_ALGOR *algor);
[all …]
H A Dpkcs7.h.in58 X509_ALGOR *digest_alg;
60 X509_ALGOR *digest_enc_alg; /* confusing name, actually used for signing */
74 X509_ALGOR *key_enc_algor;
86 STACK_OF(X509_ALGOR) *md_algs; /* md used */
99 X509_ALGOR *algorithm;
113 STACK_OF(X509_ALGOR) *md_algs; /* md used */
123 X509_ALGOR *md; /* md used */
293 X509_ALGOR **pdig, X509_ALGOR **psig);
294 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc);
338 STACK_OF(X509_ALGOR) *cap);
[all …]
H A Dpkcs7.h57 X509_ALGOR *digest_alg;
59 X509_ALGOR *digest_enc_alg;
97 X509_ALGOR *key_enc_algor;
133 STACK_OF(X509_ALGOR) *md_algs; /* md used */
146 X509_ALGOR *algorithm;
160 STACK_OF(X509_ALGOR) *md_algs; /* md used */
170 X509_ALGOR *md; /* md used */
364 X509_ALGOR **pdig, X509_ALGOR **psig);
365 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc);
409 STACK_OF(X509_ALGOR) *cap);
[all …]
H A Dpkcs12.h120 const X509_ALGOR **pmacalg,
181 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe);
183 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe,
221 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor,
226 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor,
232 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
235 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it,
240 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor,
244 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,

123456