Lines Matching refs:ia5
28 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument
32 if (ia5 == NULL || ia5->length <= 0) in i2s_ASN1_IA5STRING()
34 if ((tmp = OPENSSL_malloc(ia5->length + 1)) == NULL) in i2s_ASN1_IA5STRING()
36 memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
37 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
44 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
49 if ((ia5 = ASN1_IA5STRING_new()) == NULL) { in s2i_ASN1_IA5STRING()
53 if (!ASN1_STRING_set((ASN1_STRING *)ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING()
54 ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
58 ebcdic2ascii(ia5->data, ia5->data, ia5->length); in s2i_ASN1_IA5STRING()
60 return ia5; in s2i_ASN1_IA5STRING()