Searched refs:buf_size (Results 1 – 10 of 10) sorted by relevance
/mbedtls-3.7.0/library/ |
D | net_sockets.c | 319 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()
|
D | x509_internal.h | 50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name);
|
D | ssl_tls13_generic.c | 1649 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()
|
D | x509.c | 1024 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/ |
D | net_sockets.h | 159 void *client_ip, size_t buf_size, size_t *cip_len);
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_pk.function | 820 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 …]
|
D | test_suite_psa_crypto_pake.function | 620 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)),
|
D | test_suite_ssl.function | 4631 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);
|
D | test_suite_psa_crypto.function | 10405 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/ |
D | ssl_client2.c | 722 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()
|