Lines Matching refs:ia5
74 ASN1_IA5STRING *ia5);
89 ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument
92 if (!ia5 || !ia5->length) in i2s_ASN1_IA5STRING()
94 if (!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
98 OPENSSL_memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
99 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
106 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
111 if (!(ia5 = M_ASN1_IA5STRING_new())) in s2i_ASN1_IA5STRING()
113 if (!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char *)str, in s2i_ASN1_IA5STRING()
115 M_ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
118 return ia5; in s2i_ASN1_IA5STRING()