Home
last modified time | relevance | path

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

12

/external/boringssl/src/include/openssl/
Dasn1.h481 ASN1_STRING * asn1_string;
499 ASN1_STRING * set;
500 ASN1_STRING * sequence;
542 #define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
544 ASN1_STRING_dup((const ASN1_STRING *)a)
546 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
547 #define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
551 #define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)
553 ASN1_STRING_dup((const ASN1_STRING *)a)
555 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
[all …]
Dx509v3.h166 ASN1_STRING *nameAssigner;
167 ASN1_STRING *partyName;
279 ASN1_STRING *organization;
285 ASN1_STRING *exptext;
Dbase.h158 typedef struct asn1_string_st ASN1_STRING; typedef
/external/boringssl/src/crypto/asn1/
Dasn1_lib.c376 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy()
387 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup()
389 ASN1_STRING *ret; in ASN1_STRING_dup()
403 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len) in ASN1_STRING_set()
440 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) in ASN1_STRING_set0()
448 ASN1_STRING *ASN1_STRING_new(void) in ASN1_STRING_new()
454 ASN1_STRING *ASN1_STRING_type_new(int type) in ASN1_STRING_type_new()
456 ASN1_STRING *ret; in ASN1_STRING_type_new()
458 ret=(ASN1_STRING *)OPENSSL_malloc(sizeof(ASN1_STRING)); in ASN1_STRING_type_new()
471 void ASN1_STRING_free(ASN1_STRING *a) in ASN1_STRING_free()
[all …]
Da_bytes.c66 static int asn1_collate_primitive(ASN1_STRING *a, ASN1_const_CTX *c);
69 ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, const unsigned char **pp, in d2i_ASN1_type_bytes()
72 ASN1_STRING *ret=NULL; in d2i_ASN1_type_bytes()
134 int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass) in i2d_ASN1_bytes()
160 ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp, in d2i_ASN1_bytes()
163 ASN1_STRING *ret=NULL; in d2i_ASN1_bytes()
255 static int asn1_collate_primitive(ASN1_STRING *a, ASN1_const_CTX *c) in asn1_collate_primitive()
257 ASN1_STRING *os=NULL; in asn1_collate_primitive()
Dasn_pack.c65 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
67 ASN1_STRING *octmp; in ASN1_item_pack()
95 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
Dtasn_typ.c106 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE);
109 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT);
112 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING);
Da_type.c104 ASN1_STRING *sdup; in ASN1_TYPE_set1()
154 result = ASN1_STRING_cmp((ASN1_STRING *) a->value.ptr, in ASN1_TYPE_cmp()
155 (ASN1_STRING *) b->value.ptr); in ASN1_TYPE_cmp()
Da_time.c86 return(i2d_ASN1_bytes((ASN1_STRING *)a,pp, in IMPLEMENT_ASN1_MSTRING()
187 if (s && !ASN1_STRING_copy((ASN1_STRING *)s, (ASN1_STRING *)&t)) in ASN1_TIME_set_string()
Da_strnid.c121 ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, in ASN1_STRING_set_by_NID()
125 ASN1_STRING *str = NULL; in ASN1_STRING_set_by_NID()
Da_mbstr.c84 int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_copy()
90 int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_ncopy()
98 ASN1_STRING *dest; in ASN1_mbstring_ncopy()
Da_utctm.c70 return(i2d_ASN1_bytes((ASN1_STRING *)a,pp,
80 ret=(ASN1_UTCTIME *)d2i_ASN1_bytes((ASN1_STRING **)a,pp,length,
207 if (!ASN1_STRING_set((ASN1_STRING *)s, in ASN1_UTCTIME_set_string()
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()
Dtasn_prn.c517 static int asn1_print_obstring_ctx(BIO *out, ASN1_STRING *str, int indent, in asn1_print_obstring_ctx()
540 ASN1_STRING *str; in asn1_primitive_print()
549 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
559 str = (ASN1_STRING *)*fld; in asn1_primitive_print()
Dtasn_enc.c573 ASN1_STRING *strtmp; in asn1_ex_i2c()
594 strtmp = (ASN1_STRING *)*pval; in asn1_ex_i2c()
673 strtmp = (ASN1_STRING *)*pval; in asn1_ex_i2c()
/external/boringssl/src/crypto/x509/
Da_strex.c250 static int do_dump(unsigned long lflags, char_io *io_ch, void *arg, ASN1_STRING *str) in do_dump()
302 static int do_print_ex(char_io *io_ch, void *arg, unsigned long lflags, ASN1_STRING *str) in do_print_ex()
386 ASN1_STRING *val; in do_name_ex()
531 int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex()
537 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp()
547 int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) in ASN1_STRING_to_UTF8()
549 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8()
Dx_name.c87 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in);
413 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in) in asn1_string_canon()
Dx509.c130 int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) { in X509_signature_dump()
Dx509name.c80 ASN1_STRING *data; in X509_NAME_get_text_by_OBJ()
370 ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne) in X509_NAME_ENTRY_get_data()
Dx_crl.c392 (ASN1_STRING *)(*a)->serialNumber,
393 (ASN1_STRING *)(*b)->serialNumber));
Dt_x509.c296 int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) in X509_signature_print()
321 int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v) in ASN1_STRING_print()
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c76 ASN1_STRING *pstr; in dsa_pub_decode()
132 ASN1_STRING *pval = NULL; in dsa_pub_encode()
179 ASN1_STRING *pstr; in dsa_priv_decode()
248 ASN1_STRING *params = NULL; in dsa_priv_encode()
467 const ASN1_STRING *sig, int indent, ASN1_PCTX *pctx) { in dsa_sig_print()
Dp_rsa_asn1.c425 const ASN1_STRING *sig, int indent, ASN1_PCTX *pctx) { in rsa_sig_print()
479 ASN1_STRING *stmp = NULL; in rsa_md_to_mgf1()
545 static ASN1_STRING *rsa_ctx_to_pss(EVP_PKEY_CTX *pkctx) { in rsa_ctx_to_pss()
548 ASN1_STRING *os = NULL; in rsa_ctx_to_pss()
693 ASN1_STRING *os1 = rsa_ctx_to_pss(pkctx); in rsa_digest_sign_algorithm()
/external/boringssl/src/crypto/x509v3/
Dv3_ia5.c107 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, in s2i_ASN1_IA5STRING()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbe.c83 ASN1_STRING *pbe_str=NULL;

12