Lines Matching refs:buf_n
29 size_t *buf_n, BIGNUM **tmpbn, int *found) in prepare_from_text() argument
94 *buf_n = (buf_bits + 7) / 8; in prepare_from_text()
107 *buf_n = p->data_size; in prepare_from_text()
115 *buf_n = strlen(value) + 1; in prepare_from_text()
125 *buf_n = hexdigits >> 1; in prepare_from_text()
127 *buf_n = value_n; in prepare_from_text()
137 void *buf, size_t buf_n, BIGNUM *tmpbn) in construct_from_text() argument
142 if (buf_n > 0) { in construct_from_text()
154 BN_bn2nativepad(tmpbn, buf, buf_n); in construct_from_text()
165 size_t i = buf_n; in construct_from_text()
173 ebcdic2ascii(buf, value, buf_n); in construct_from_text()
175 strncpy(buf, value, buf_n); in construct_from_text()
178 buf_n--; in construct_from_text()
184 if (!OPENSSL_hexstr2buf_ex(buf, buf_n, &l, value, ':')) in construct_from_text()
187 memcpy(buf, value, buf_n); in construct_from_text()
195 to->data_size = buf_n; in construct_from_text()
314 size_t buf_n = 0; in OSSL_PARAM_allocate_from_text() local
322 ¶mdef, &ishex, &buf_n, &tmpbn, found)) in OSSL_PARAM_allocate_from_text()
325 if ((buf = OPENSSL_zalloc(buf_n > 0 ? buf_n : 1)) == NULL) in OSSL_PARAM_allocate_from_text()
329 buf, buf_n, tmpbn); in OSSL_PARAM_allocate_from_text()