Home
last modified time | relevance | path

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

/lib/efi_selftest/
A Defi_selftest_block_device.c316 efi_uintn_t buf_size; in execute() local
424 buf_size = sizeof(system_info); in execute()
454 buf_size = sizeof(buf) - 1; in execute()
455 ret = file->read(file, &buf_size, buf); in execute()
460 if (buf_size != 12) { in execute()
462 (unsigned int)buf_size); in execute()
517 buf_size = 7; in execute()
549 buf_size = sizeof(buf) - 1; in execute()
550 ret = file->read(file, &buf_size, buf); in execute()
555 if (buf_size != 7) { in execute()
[all …]
/lib/efi_loader/
A Defi_helper.c368 efi_uintn_t buf_size = *size; in efi_next_variable_name() local
370 ret = efi_get_next_variable_name_int(&buf_size, *buf, guid); in efi_next_variable_name()
374 p = realloc(*buf, buf_size); in efi_next_variable_name()
379 *size = buf_size; in efi_next_variable_name()
380 ret = efi_get_next_variable_name_int(&buf_size, *buf, guid); in efi_next_variable_name()
A Defi_bootmgr.c915 efi_uintn_t buf_size; in efi_bootmgr_delete_invalid_boot_option() local
917 buf_size = 128; in efi_bootmgr_delete_invalid_boot_option()
918 var_name16 = malloc(buf_size); in efi_bootmgr_delete_invalid_boot_option()
928 ret = efi_next_variable_name(&buf_size, &var_name16, &guid); in efi_bootmgr_delete_invalid_boot_option()
1006 efi_status_t efi_bootmgr_get_unused_bootoption(u16 *buf, efi_uintn_t buf_size, in efi_bootmgr_get_unused_bootoption() argument
1013 if (buf_size < u16_strsize(u"Boot####")) in efi_bootmgr_get_unused_bootoption()
1018 efi_create_indexed_name(buf, buf_size, "Boot", i); in efi_bootmgr_get_unused_bootoption()
A Defi_variable_tee.c97 ulong buf_size; in optee_mm_communicate() local
110 buf_size = mm_hdr->message_len + sizeof(efi_guid_t) + sizeof(size_t); in optee_mm_communicate()
112 if (dsize != buf_size) in optee_mm_communicate()
121 if (tee_shm_register(conn.tee, comm_buf, buf_size, 0, &shm)) { in optee_mm_communicate()
133 param[0].u.memref.size = buf_size; in optee_mm_communicate()
/lib/libavb/
A Davb_util.h191 size_t buf_size,
246 uint32_t avb_crc32(const uint8_t* buf, size_t buf_size);
A Davb_util.c155 size_t buf_size, in avb_str_concat() argument
167 if (combined_len > buf_size - 1) { in avb_str_concat()
/lib/mbedtls/external/mbedtls/include/mbedtls/
A Dnet_sockets.h159 void *client_ip, size_t buf_size, size_t *cip_len);
/lib/mbedtls/external/mbedtls/library/
A 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()
A Dx509_internal.h50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name);
A 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()
A 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()
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_pk.function820 size_t buf_size = sizeof(buf);
828 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,
859 NULL, buf_size,
860 buf, buf_size, &buf_size,
[all …]
A 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)),
A 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);
A 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),
/lib/mbedtls/external/mbedtls/programs/ssl/
A 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()

Completed in 65 milliseconds