Home
last modified time | relevance | path

Searched refs:buf_n (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dparams_from_text.c96 *buf_n = (buf_bits + 7) / 8; in prepare_from_text()
109 *buf_n = p->data_size; in prepare_from_text()
117 *buf_n = strlen(value) + 1; in prepare_from_text()
127 *buf_n = hexdigits >> 1; in prepare_from_text()
129 *buf_n = value_n; in prepare_from_text()
144 if (buf_n > 0) { in construct_from_text()
167 size_t i = buf_n; in construct_from_text()
180 buf_n--; in construct_from_text()
197 to->data_size = buf_n; in construct_from_text()
211 size_t buf_n = 0; in OSSL_PARAM_allocate_from_text() local
[all …]
H A Do_str.c138 static int hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, in hexstr2buf_sep() argument
165 if (cnt > buf_n) { in hexstr2buf_sep()
181 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, in OPENSSL_hexstr2buf_ex() argument
184 return hexstr2buf_sep(buf, buf_n, buflen, str, sep); in OPENSSL_hexstr2buf_ex()
191 size_t buf_n, tmp_buflen; in ossl_hexstr2buf_sep() local
193 buf_n = strlen(str); in ossl_hexstr2buf_sep()
194 if (buf_n <= 1) { in ossl_hexstr2buf_sep()
198 buf_n /= 2; in ossl_hexstr2buf_sep()
199 if ((buf = OPENSSL_malloc(buf_n)) == NULL) { in ossl_hexstr2buf_sep()
207 if (hexstr2buf_sep(buf, buf_n, &tmp_buflen, str, sep)) { in ossl_hexstr2buf_sep()
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_hexchar2int.pod15 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, long *buflen,
32 I<buf_n> gives the size of the buffer.
/freebsd/crypto/openssl/include/openssl/
H A Dcrypto.h131 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
H A Dcrypto.h.in132 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,