Lines Matching refs:buflen
192 size_t buflen;
200 buflen = mbedtls_mpi_size(&X);
201 if (buflen > (size_t) output_size) {
202 buflen = (size_t) output_size;
205 TEST_ASSERT(mbedtls_mpi_write_binary(&X, buf, buflen) == result);
209 buflen, input_A->len) == 0);
223 size_t buflen;
231 buflen = mbedtls_mpi_size(&X);
232 if (buflen > (size_t) output_size) {
233 buflen = (size_t) output_size;
236 TEST_ASSERT(mbedtls_mpi_write_binary_le(&X, buf, buflen) == result);
240 buflen, input_A->len) == 0);
253 size_t buflen;
269 buflen = mbedtls_mpi_size(&X);
270 TEST_ASSERT(mbedtls_mpi_write_binary(&X, buf, buflen) == 0);
274 buflen, input_A->len) == 0);