Lines Matching refs:buf
19 char buf[2]; in i2a_ASN1_STRING() local
35 ossl_to_hex(buf, a->data[i]); in i2a_ASN1_STRING()
36 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_STRING()
46 int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) in a2i_ASN1_STRING() argument
53 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_STRING()
64 if (buf[i - 1] == '\n') in a2i_ASN1_STRING()
65 buf[--i] = '\0'; in a2i_ASN1_STRING()
68 if (buf[i - 1] == '\r') in a2i_ASN1_STRING()
69 buf[--i] = '\0'; in a2i_ASN1_STRING()
72 again = (buf[i - 1] == '\\'); in a2i_ASN1_STRING()
75 if (!ossl_isxdigit(buf[j])) { in a2i_ASN1_STRING()
80 buf[i] = '\0'; in a2i_ASN1_STRING()
87 bufp = (unsigned char *)buf; in a2i_ASN1_STRING()
120 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_STRING()