Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dtpm.c110 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 Dtee_ta_manager.c952 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 Dsecstor_ta_mgmt.c47 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 Dnet_sockets.h159 void *client_ip, size_t buf_size, size_t *cip_len);
/optee_os/core/tee/
H A Dtee_fs_key_manager.c154 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 Dx509_internal.h50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name);
H 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()
H A Dssl_tls13_generic.c1550 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 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()
/optee_os/core/arch/arm/include/kernel/
H A Dsecure_partition.h77 TEE_Result sp_partition_info_get(uint32_t ffa_vers, void *buf, size_t buf_size,
/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c2868 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 Dsecure_partition.c131 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 Dthread_spmc.c568 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()