Home
last modified time | relevance | path

Searched refs:ASN1_STRING (Results 1 – 25 of 48) sorted by relevance

12

/external/openssl/include/openssl/
Dasn1.h527 ASN1_STRING * asn1_string;
545 ASN1_STRING * set;
546 ASN1_STRING * sequence;
581 #define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
583 ASN1_STRING_dup((const ASN1_STRING *)a)
585 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
586 #define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
590 #define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)
592 ASN1_STRING_dup((const ASN1_STRING *)a)
594 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
[all …]
Dossl_typ.h61 #define ASN1_INTEGER ASN1_STRING
62 #define ASN1_ENUMERATED ASN1_STRING
63 #define ASN1_BIT_STRING ASN1_STRING
64 #define ASN1_OCTET_STRING ASN1_STRING
65 #define ASN1_PRINTABLESTRING ASN1_STRING
66 #define ASN1_T61STRING ASN1_STRING
67 #define ASN1_IA5STRING ASN1_STRING
68 #define ASN1_UTCTIME ASN1_STRING
69 #define ASN1_GENERALIZEDTIME ASN1_STRING
70 #define ASN1_TIME ASN1_STRING
[all …]
/external/openssl/crypto/asn1/
Dasn1.h527 ASN1_STRING * asn1_string;
545 ASN1_STRING * set;
546 ASN1_STRING * sequence;
581 #define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
583 ASN1_STRING_dup((const ASN1_STRING *)a)
585 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
586 #define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
590 #define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)
592 ASN1_STRING_dup((const ASN1_STRING *)a)
594 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
[all …]
Dasn1_lib.c343 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy()
354 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup()
356 ASN1_STRING *ret; in ASN1_STRING_dup()
370 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len) in ASN1_STRING_set()
407 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) in ASN1_STRING_set0()
415 ASN1_STRING *ASN1_STRING_new(void) in ASN1_STRING_new()
421 ASN1_STRING *ASN1_STRING_type_new(int type) in ASN1_STRING_type_new()
423 ASN1_STRING *ret; in ASN1_STRING_type_new()
425 ret=(ASN1_STRING *)OPENSSL_malloc(sizeof(ASN1_STRING)); in ASN1_STRING_type_new()
438 void ASN1_STRING_free(ASN1_STRING *a) in ASN1_STRING_free()
[all …]
Dasn_pack.c109 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i) in ASN1_unpack_string()
122 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) in ASN1_pack_string()
125 ASN1_STRING *octmp; in ASN1_pack_string()
152 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
154 ASN1_STRING *octmp; in ASN1_item_pack()
182 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
Da_bytes.c63 static int asn1_collate_primitive(ASN1_STRING *a, ASN1_const_CTX *c);
66 ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, const unsigned char **pp, in d2i_ASN1_type_bytes()
69 ASN1_STRING *ret=NULL; in d2i_ASN1_type_bytes()
131 int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass) in i2d_ASN1_bytes()
157 ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp, in d2i_ASN1_bytes()
160 ASN1_STRING *ret=NULL; in d2i_ASN1_bytes()
252 static int asn1_collate_primitive(ASN1_STRING *a, ASN1_const_CTX *c) in asn1_collate_primitive()
254 ASN1_STRING *os=NULL; in asn1_collate_primitive()
Da_time.c80 ASN1_STRING tmpstr; in IMPLEMENT_ASN1_MSTRING()
85 tmpstr = *(ASN1_STRING *)a; in IMPLEMENT_ASN1_MSTRING()
93 return(i2d_ASN1_bytes((ASN1_STRING *)a,pp, in IMPLEMENT_ASN1_MSTRING()
194 if (s && !ASN1_STRING_copy((ASN1_STRING *)s, (ASN1_STRING *)&t)) in ASN1_TIME_set_string()
Da_gentm.c75 ASN1_STRING tmpstr = *(ASN1_STRING *)a;
83 return(i2d_ASN1_bytes((ASN1_STRING *)a,pp,
93 ret=(ASN1_GENERALIZEDTIME *)d2i_ASN1_bytes((ASN1_STRING **)a,pp,length,
200 if (!ASN1_STRING_set((ASN1_STRING *)s, in ASN1_GENERALIZEDTIME_set_string()
Dtasn_typ.c122 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
125 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
128 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
Da_type.c103 ASN1_STRING *sdup; in ASN1_TYPE_set1()
153 result = ASN1_STRING_cmp((ASN1_STRING *) a->value.ptr, in IMPLEMENT_ASN1_SET_OF()
154 (ASN1_STRING *) b->value.ptr); in IMPLEMENT_ASN1_SET_OF()
Da_strex.c262 static int do_dump(unsigned long lflags, char_io *io_ch, void *arg, ASN1_STRING *str) in do_dump()
314 static int do_print_ex(char_io *io_ch, void *arg, unsigned long lflags, ASN1_STRING *str) in do_print_ex()
398 ASN1_STRING *val; in do_name_ex()
543 int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex()
549 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp()
559 int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) in ASN1_STRING_to_UTF8()
561 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8()
Da_utctm.c69 return(i2d_ASN1_bytes((ASN1_STRING *)a,pp,
75 ASN1_STRING x = *(ASN1_STRING *)a;
90 ret=(ASN1_UTCTIME *)d2i_ASN1_bytes((ASN1_STRING **)a,pp,length,
176 if (!ASN1_STRING_set((ASN1_STRING *)s, in ASN1_UTCTIME_set_string()
Da_strnid.c123 ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, in ASN1_STRING_set_by_NID()
127 ASN1_STRING *str = NULL; in ASN1_STRING_set_by_NID()
Df_string.c64 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) in i2a_ASN1_STRING()
97 int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) in a2i_ASN1_STRING()
Da_mbstr.c83 int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_copy()
89 int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_ncopy()
97 ASN1_STRING *dest; in ASN1_mbstring_ncopy()
Dx_name.c81 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in);
394 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in) in asn1_string_canon()
Dtasn_prn.c501 static int asn1_print_obstring_ctx(BIO *out, ASN1_STRING *str, int indent, in asn1_print_obstring_ctx()
525 ASN1_STRING *str; in asn1_primitive_print()
534 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
544 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
Dt_x509.c294 int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) in X509_signature_dump()
316 int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) in X509_signature_print()
341 int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v) in ASN1_STRING_print()
/external/openssl/crypto/
Dossl_typ.h61 #define ASN1_INTEGER ASN1_STRING
62 #define ASN1_ENUMERATED ASN1_STRING
63 #define ASN1_BIT_STRING ASN1_STRING
64 #define ASN1_OCTET_STRING ASN1_STRING
65 #define ASN1_PRINTABLESTRING ASN1_STRING
66 #define ASN1_T61STRING ASN1_STRING
67 #define ASN1_IA5STRING ASN1_STRING
68 #define ASN1_UTCTIME ASN1_STRING
69 #define ASN1_GENERALIZEDTIME ASN1_STRING
70 #define ASN1_TIME ASN1_STRING
[all …]
/external/openssl/crypto/pkcs7/
Dexample.c81 ASN1_STRING *seq; in add_signed_seq2string()
127 ASN1_STRING *s; in get_signed_seq2string()
244 ASN1_STRING *seq; in add_seq2string()
294 ASN1_STRING *s; in sk_get_seq2string()
/external/openssl/crypto/dh/
Ddh_ameth.c77 ASN1_STRING *pstr; in dh_pub_decode()
136 ASN1_STRING *str; in dh_pub_encode()
190 ASN1_STRING *pstr; in dh_priv_decode()
238 ASN1_STRING *params = NULL; in dh_priv_encode()
/external/openssl/crypto/dsa/
Ddsa_ameth.c75 ASN1_STRING *pstr; in dsa_pub_decode()
149 ASN1_STRING *str; in dsa_pub_encode()
196 ASN1_STRING *pstr; in dsa_priv_decode()
305 ASN1_STRING *params = NULL; in dsa_priv_encode()
546 const ASN1_STRING *sig, in dsa_sig_print()
/external/openssl/crypto/x509v3/
Dv3_ia5.c103 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, in s2i_ASN1_IA5STRING()
/external/chromium/net/base/
Dx509_openssl_util.cc30 ASN1_STRING* data = X509_NAME_ENTRY_get_data(entry); in ParsePrincipalKeyAndValueByIndex()
/external/openssl/crypto/ocsp/
Docsp_ext.c268 ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
507 if (!ASN1_STRING_set((ASN1_STRING*)ia5, *urls, -1)) goto err; in OCSP_url_svcloc_new()

12