Lines Matching refs:buf
19 char buf[2]; in i2a_ASN1_INTEGER() local
41 ossl_to_hex(buf, a->data[i]); in i2a_ASN1_INTEGER()
42 if (BIO_write(bp, buf, 2) != 2) in i2a_ASN1_INTEGER()
52 int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) in a2i_ASN1_INTEGER() argument
61 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_INTEGER()
66 if (buf[i - 1] == '\n') in a2i_ASN1_INTEGER()
67 buf[--i] = '\0'; in a2i_ASN1_INTEGER()
70 if (buf[i - 1] == '\r') in a2i_ASN1_INTEGER()
71 buf[--i] = '\0'; in a2i_ASN1_INTEGER()
74 again = (buf[i - 1] == '\\'); in a2i_ASN1_INTEGER()
77 if (!ossl_isxdigit(buf[j])) { in a2i_ASN1_INTEGER()
82 buf[i] = '\0'; in a2i_ASN1_INTEGER()
89 bufp = (unsigned char *)buf; in a2i_ASN1_INTEGER()
127 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_INTEGER()
145 int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) in a2i_ASN1_ENUMERATED() argument
147 int rv = a2i_ASN1_INTEGER(bp, bs, buf, size); in a2i_ASN1_ENUMERATED()