| /optee_os/core/kernel/ |
| H A D | tpm.c | 110 const size_t buf_size = *size; in tpm_get_event_log() local 118 if (buf_size < tpm_log_size) { in tpm_get_event_log() 120 buf_size, tpm_log_size); in tpm_get_event_log()
|
| H A D | tee_ta_manager.c | 952 TEE_Result tee_ta_instance_stats(void *buf, size_t *buf_size) in tee_ta_instance_stats() argument 961 if (!buf_size) in tee_ta_instance_stats() 975 } else if (!buf || *buf_size < sz) { in tee_ta_instance_stats() 981 *buf_size = sz; in tee_ta_instance_stats() 1002 *buf_size = sz; in tee_ta_instance_stats()
|
| /optee_os/core/pta/ |
| H A D | secstor_ta_mgmt.c | 47 const size_t buf_size = 1024; in install_ta() local 58 if (shdr->hash_size > buf_size) in install_ta() 61 buf = malloc(buf_size); in install_ta() 106 size_t l = MIN(buf_size, nw_size - offs); in install_ta()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | net_sockets.h | 159 void *client_ip, size_t buf_size, size_t *cip_len);
|
| /optee_os/core/tee/ |
| H A D | tee_fs_key_manager.c | 154 TEE_Result tee_fs_generate_fek(const TEE_UUID *uuid, void *buf, size_t buf_size) in tee_fs_generate_fek() argument 158 if (buf_size != TEE_FS_KM_FEK_SIZE) in tee_fs_generate_fek()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | x509_internal.h | 50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name);
|
| H A 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()
|
| H A D | ssl_tls13_generic.c | 1550 size_t buf_size = (size_t) (end - buf); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange() local 1572 if (buf_size < PSA_BITS_TO_BYTES(bits)) { in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange() 1597 buf, buf_size, in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
|
| H A 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()
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | secure_partition.h | 77 TEE_Result sp_partition_info_get(uint32_t ffa_vers, void *buf, size_t buf_size,
|
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_attributes.c | 2868 size_t buf_size = TEE_MAX_HASH_SIZE; in compute_check_value_with_sha1() local 2878 buf = TEE_Malloc(buf_size, TEE_MALLOC_FILL_ZERO); in compute_check_value_with_sha1() 2884 res = TEE_DigestDoFinal(op, key, key_size, buf, &buf_size); in compute_check_value_with_sha1() 2913 size_t buf_size = sizeof(buf); in compute_check_value_with_ecb() local 2942 res = TEE_CipherDoFinal(op, buf, buf_size, buf, &buf_size); in compute_check_value_with_ecb()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | secure_partition.c | 131 TEE_Result sp_partition_info_get(uint32_t ffa_vers, void *buf, size_t buf_size, in sp_partition_info_get() argument 161 res = spmc_fill_partition_entry(ffa_vers, buf, buf_size, in sp_partition_info_get()
|
| H A D | thread_spmc.c | 568 size_t buf_size, size_t *elem_count, in lsp_partition_info_get() argument 590 res = spmc_fill_partition_entry(ffa_vers, buf, buf_size, in lsp_partition_info_get()
|