Home
last modified time | relevance | path

Searched refs:ASN1_TYPE (Results 1 – 25 of 65) sorted by relevance

123

/third_party/openssl/crypto/asn1/
Da_type.c16 int ASN1_TYPE_get(const ASN1_TYPE *a) in ASN1_TYPE_get()
26 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set()
31 ASN1_TYPE **tmp_a = &a; in ASN1_TYPE_set()
41 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value) in ASN1_TYPE_set1()
63 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) in ASN1_TYPE_cmp()
109 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t) in ASN1_TYPE_pack_sequence()
112 ASN1_TYPE *rt; in ASN1_TYPE_pack_sequence()
133 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t) in ASN1_TYPE_unpack_sequence()
Dasn1_gen.c65 static ASN1_TYPE *generate_v3(const char *str, X509V3_CTX *cnf, int depth,
73 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf,
75 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
78 ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf) in ASN1_generate_nconf()
89 ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf) in ASN1_generate_v3()
92 ASN1_TYPE *ret = generate_v3(str, cnf, 0, &err); in ASN1_generate_v3()
98 static ASN1_TYPE *generate_v3(const char *str, X509V3_CTX *cnf, int depth, in generate_v3()
101 ASN1_TYPE *ret; in generate_v3()
405 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf, in asn1_multi()
408 ASN1_TYPE *ret = NULL; in asn1_multi()
[all …]
Devp_asn1.c15 int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len) in ASN1_TYPE_set_octetstring()
30 int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len) in ASN1_TYPE_get_octetstring()
61 int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data,
83 int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num, in ASN1_TYPE_get_int_octetstring()
Dtasn_typ.c53 IMPLEMENT_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
Dtasn_fre.c167 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in asn1_primitive_free()
/third_party/openssl/doc/man3/
DASN1_TYPE_get.pod5 …N1_TYPE_set1, ASN1_TYPE_cmp, ASN1_TYPE_unpack_sequence, ASN1_TYPE_pack_sequence - ASN1_TYPE utility
12 int ASN1_TYPE_get(const ASN1_TYPE *a);
13 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
14 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
15 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
17 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
18 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s,
19 ASN1_TYPE **t);
23 These functions allow an ASN1_TYPE structure to be manipulated. The
24 ASN1_TYPE structure can contain any ASN.1 type or constructed type
[all …]
DEVP_CIPHER_meth_new.pod40 ASN1_TYPE *));
43 ASN1_TYPE *));
58 ASN1_TYPE *);
60 ASN1_TYPE *);
/third_party/openssl/include/openssl/
Dasn1.h473 } ASN1_TYPE; typedef
475 DEFINE_STACK_OF(ASN1_TYPE)
477 typedef STACK_OF(ASN1_TYPE) ASN1_SEQUENCE_ANY;
518 DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
520 int ASN1_TYPE_get(const ASN1_TYPE *a);
521 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
522 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
523 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
525 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
526 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
[all …]
Dpkcs12.h75 DEPRECATEDIN_1_1_0(ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid))
77 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid);
85 const ASN1_TYPE *PKCS12_SAFEBAG_get0_attr(const PKCS12_SAFEBAG *bag,
142 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
170 ASN1_TYPE *param, const EVP_CIPHER *cipher,
Dpkcs7.h142 ASN1_TYPE *other;
238 int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other);
277 ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid);
278 ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid);
Devp.h206 ASN1_TYPE *));
209 ASN1_TYPE *));
224 ASN1_TYPE *);
226 ASN1_TYPE *);
404 int passlen, ASN1_TYPE *param,
1076 int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
1077 int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
1080 int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
1081 int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
1085 ASN1_TYPE *param, const EVP_CIPHER *cipher,
[all …]
Dx509v3.h115 ASN1_TYPE *value;
151 ASN1_TYPE *other; /* x400Address */
242 ASN1_TYPE *other;
503 ASN1_OBJECT *oid, ASN1_TYPE *value);
505 ASN1_OBJECT **poid, ASN1_TYPE **pvalue);
/third_party/openssl/crypto/evp/
Dcmeth_lib.c90 ASN1_TYPE *)) in EVP_CIPHER_meth_set_set_asn1_params() argument
98 ASN1_TYPE *)) in EVP_CIPHER_meth_set_get_asn1_params() argument
134 ASN1_TYPE *) in EVP_CIPHER_meth_get_set_asn1_params()
140 ASN1_TYPE *) in EVP_CIPHER_meth_get_get_asn1_params()
De_rc2.c24 static int rc2_set_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
25 static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
121 static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in rc2_get_asn1_type_and_iv()
148 static int rc2_set_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in rc2_set_asn1_type_and_iv()
Devp_lib.c17 int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in EVP_CIPHER_param_to_asn1()
52 int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in EVP_CIPHER_asn1_to_param()
87 int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in EVP_CIPHER_get_asn1_iv()
104 int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in EVP_CIPHER_set_asn1_iv()
Devp_local.h45 int passlen, ASN1_TYPE *param,
Dp5_crpt2.c139 ASN1_TYPE *param, const EVP_CIPHER *c, in PKCS5_v2_PBE_keyivgen()
187 int passlen, ASN1_TYPE *param, in PKCS5_v2_PBKDF2_keyivgen()
/third_party/openssl/crypto/pkcs12/
Dp12_local.h29 ASN1_TYPE *other;
41 ASN1_TYPE *other; /* Secret or other bag */
Dp12_sbag.c16 ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid) in PKCS12_get_attr()
22 const ASN1_TYPE *PKCS12_SAFEBAG_get0_attr(const PKCS12_SAFEBAG *bag, in PKCS12_SAFEBAG_get0_attr()
28 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid) in PKCS8_get_attr()
Dp12_attr.c77 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs, in PKCS12_get_attr_gen()
89 const ASN1_TYPE *atype; in PKCS12_get_friendlyname()
/third_party/openssl/crypto/cms/
Dcms_local.h57 ASN1_TYPE *other;
232 ASN1_TYPE *oriValue;
280 ASN1_TYPE *otherRevInfo;
302 ASN1_TYPE *otherCert;
317 ASN1_TYPE *keyAttr;
/third_party/openssl/apps/
Dasn1pars.c58 ASN1_TYPE *at = NULL; in asn1parse_main()
226 ASN1_TYPE *atmp; in asn1parse_main()
316 ASN1_TYPE *atyp = NULL; in do_generate()
/third_party/openssl/crypto/x509/
Dx509_att.c248 ASN1_TYPE *ttmp = NULL; in X509_ATTRIBUTE_set1_data()
313 ASN1_TYPE *ttmp; in X509_ATTRIBUTE_get0_data()
326 ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx) in X509_ATTRIBUTE_get0_type()
Dx_attrib.c39 ASN1_TYPE *val = NULL;
/third_party/openssl/crypto/x509v3/
Dv3_genn.c218 ASN1_OBJECT *oid, ASN1_TYPE *value) in GENERAL_NAME_set0_othername()
232 ASN1_OBJECT **poid, ASN1_TYPE **pvalue) in GENERAL_NAME_get0_otherName()

123