Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 10 of 10) sorted by relevance

/mbedtls-3.7.0/library/
Dnet_sockets.c319 void *client_ip, size_t buf_size, size_t *cip_len) in mbedtls_net_accept() argument
404 if (buf_size < *cip_len) { in mbedtls_net_accept()
413 if (buf_size < *cip_len) { in mbedtls_net_accept()
Dx509_internal.h50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name);
Dssl_tls13_generic.c1649 size_t buf_size = (size_t) (end - buf); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange() local
1671 if (buf_size < PSA_BITS_TO_BYTES(bits)) { in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
1696 buf, buf_size, in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
Dx509.c1024 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name) in mbedtls_x509_key_size_helper() argument
1027 size_t n = buf_size; in mbedtls_x509_key_size_helper()
/mbedtls-3.7.0/include/mbedtls/
Dnet_sockets.h159 void *client_ip, size_t buf_size, size_t *cip_len);
/mbedtls-3.7.0/tests/suites/
Dtest_suite_pk.function820 size_t buf_size = sizeof(buf);
827 NULL, buf_size,
828 buf, buf_size,
833 buf, buf_size,
838 NULL, buf_size,
839 buf, buf_size));
844 buf, buf_size));
847 NULL, buf_size,
848 buf, buf_size, &buf_size,
854 buf, buf_size, &buf_size,
[all …]
Dtest_suite_psa_crypto_pake.function620 size_t buf_size = PSA_PAKE_OUTPUT_SIZE(alg, primitive_arg,
622 TEST_CALLOC(output_buffer, buf_size);
736 output_buffer, buf_size, &output_len),
741 output_buffer, buf_size, &output_len),
746 output_buffer, buf_size, &output_len),
761 output_buffer, buf_size, &output_len)),
Dtest_suite_ssl.function4631 uint32_t buf_size = 64;
4643 TEST_CALLOC(buf, buf_size);
4705 for (size_t i = 0; i < buf_size; i++) {
4711 buf_size);
4713 if (buf_size <= remaining) {
4714 TEST_EQUAL(ret, buf_size);
4718 written_early_data_size += buf_size;
4741 buf_size);
Dtest_suite_psa_crypto.function10405 size_t buf_size = PSA_PAKE_OUTPUT_SIZE(alg, primitive_arg,
10407 TEST_CALLOC(output_buffer, buf_size);
10559 output_buffer, buf_size, &output_len),
10566 output_buffer, buf_size, &output_len),
10572 output_buffer, buf_size, &output_len);
10592 output_buffer, buf_size, &output_len),
/mbedtls-3.7.0/programs/ssl/
Dssl_client2.c722 static int build_http_request(unsigned char *buf, size_t buf_size, size_t *request_len) in build_http_request() argument
727 ret = mbedtls_snprintf((char *) buf, buf_size, GET_REQUEST, opt.request_page); in build_http_request()
740 if (request_size > buf_size) { in build_http_request()
751 strncpy((char *) buf + len, GET_REQUEST_END, buf_size - len); in build_http_request()