Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 59) sorted by relevance

123

/trusted-firmware-m-3.5.0/platform/ext/target/arm/rss/common/
Dattest_hal.c48 tfm_attest_hal_get_verification_service(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_verification_service()
73 tfm_attest_hal_get_profile_definition(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_profile_definition()
97 enum tfm_plat_err_t tfm_plat_get_boot_seed(uint32_t size, uint8_t *buf) in tfm_plat_get_boot_seed()
110 uint8_t *buf) in tfm_plat_get_implementation_id()
134 enum tfm_plat_err_t tfm_plat_get_cert_ref(uint32_t *size, uint8_t *buf) in tfm_plat_get_cert_ref()
162 uint8_t *buf) in tfm_attest_hal_get_platform_config()
177 uint8_t *buf) in tfm_attest_hal_get_platform_hash_algo()
Dcrypto_keys.c23 static enum tfm_plat_err_t tfm_plat_get_huk(uint8_t *buf, size_t buf_len, in tfm_plat_get_huk()
48 static enum tfm_plat_err_t tfm_plat_get_iak(uint8_t *buf, size_t buf_len, in tfm_plat_get_iak()
147 static enum tfm_plat_err_t tfm_plat_get_dak_seed(uint8_t *buf, size_t buf_len, in tfm_plat_get_dak_seed()
173 static enum tfm_plat_err_t tfm_plat_get_host_s_rotpk(uint8_t *buf, size_t buf_len, in tfm_plat_get_host_s_rotpk()
192 static enum tfm_plat_err_t tfm_plat_get_host_ns_rotpk(uint8_t *buf, size_t buf_len, in tfm_plat_get_host_ns_rotpk()
211 static enum tfm_plat_err_t tfm_plat_get_host_cca_rotpk(uint8_t *buf, size_t buf_len, in tfm_plat_get_host_cca_rotpk()
/trusted-firmware-m-3.5.0/platform/ext/common/template/
Dattest_hal.c47 tfm_attest_hal_get_verification_service(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_verification_service()
72 tfm_attest_hal_get_profile_definition(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_profile_definition()
96 enum tfm_plat_err_t tfm_plat_get_boot_seed(uint32_t size, uint8_t *buf) in tfm_plat_get_boot_seed()
109 uint8_t *buf) in tfm_plat_get_implementation_id()
133 enum tfm_plat_err_t tfm_plat_get_cert_ref(uint32_t *size, uint8_t *buf) in tfm_plat_get_cert_ref()
158 uint8_t *buf) in tfm_attest_hal_get_platform_config()
173 uint8_t *buf) in tfm_attest_hal_get_platform_hash_algo()
Dcrypto_nv_seed.c16 uint8_t buf[64]; in tfm_plat_crypto_provision_entropy_seed() local
37 int tfm_plat_crypto_nv_seed_read(unsigned char *buf, size_t buf_len) in tfm_plat_crypto_nv_seed_read()
52 int tfm_plat_crypto_nv_seed_write(const unsigned char *buf, size_t buf_len) in tfm_plat_crypto_nv_seed_write()
Dcrypto_keys.c27 static enum tfm_plat_err_t tfm_plat_get_huk(uint8_t *buf, size_t buf_len, in tfm_plat_get_huk()
53 static enum tfm_plat_err_t tfm_plat_get_iak(uint8_t *buf, size_t buf_len, in tfm_plat_get_iak()
/trusted-firmware-m-3.5.0/platform/ext/target/arm/corstone1000/io/
Dio_flash.c65 static size_t flash_read(int lba, uintptr_t buf, size_t size, size_t flash_id) { in flash_read()
77 static size_t flash_write(int lba, const uintptr_t buf, size_t size, in flash_write()
95 static size_t flash0_read(int lba, uintptr_t buf, size_t size) { in flash0_read()
99 static size_t flash0_write(int lba, uintptr_t buf, size_t size) { in flash0_write()
103 static size_t flash1_read(int lba, uintptr_t buf, size_t size) { in flash1_read()
107 static size_t flash1_write(int lba, uintptr_t buf, size_t size) { in flash1_write()
/trusted-firmware-m-3.5.0/platform/ext/target/nxp/common/
Dplat_attest_hal.c47 tfm_attest_hal_get_verification_service(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_verification_service()
72 tfm_attest_hal_get_profile_definition(uint32_t *size, uint8_t *buf) in tfm_attest_hal_get_profile_definition()
114 enum tfm_plat_err_t tfm_plat_get_boot_seed(uint32_t size, uint8_t *buf) in tfm_plat_get_boot_seed()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_aes.c68 uint8_t buf[AES_BLOCK_SIZE]; in runIt_aesOfbTest() local
139 uint8_t *buf = NULL; in runIt_aesCtrTestProfiling() local
198 uint8_t buf[AES_BLOCK_SIZE]; in runIt_aesCtrTest() local
276 uint8_t buf[AES_BLOCK_SIZE]; in runIt_aesCbcTest() local
347 uint8_t buf[AES_BLOCK_SIZE]; in runIt_aesEcbTest() local
Drun_integration_ccm.c57 uint8_t buf[32]; in runIt_ccmStarEncOnly() local
117 uint8_t buf[40]; in runIt_ccmStar() local
173 uint8_t buf[32]; in runIt_ccm() local
Drun_integration_drbg.c46 static int runIt_ctrDrbgSelfTestEntropy(void *data, unsigned char *buf, size_t len) in runIt_ctrDrbgSelfTestEntropy()
162 unsigned char buf[16]; in runIt_ctrDrbgVectorTest() local
/trusted-firmware-m-3.5.0/platform/ext/target/arm/corstone1000/soft_crc/
Dsoft_crc.c103 static inline uint32_t crc32buf(char *buf, size_t len) in crc32buf()
118 uint32_t crc32(const void *buf, size_t len) { in crc32()
/trusted-firmware-m-3.5.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_def.h164 #define ALIGN_32BYTES(buf) buf __attribute__ ((aligned (32))) argument
166 #define ALIGN_32BYTES(buf) _Pragma("data_alignment=32") buf argument
168 #define ALIGN_32BYTES(buf) __ALIGNED(32) buf argument
170 #define ALIGN_32BYTES(buf) __align(32) buf argument
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/
Dtest_pal_socket.c68 uint32_t Test_PalSend(tp_socket s, const uint8_t *buf, in Test_PalSend()
75 uint32_t Test_PalSendTo(tp_socket s, const uint8_t *buf, in Test_PalSendTo()
82 uint32_t Test_PalRecvFrom(tp_socket s, const uint8_t *buf, in Test_PalRecvFrom()
89 uint32_t Test_PalRecv(tp_socket s, const uint8_t *buf, in Test_PalRecv()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Decdh_alt.c83 unsigned char *buf, size_t blen ) in mbedtls_ecp_tls_write_group_edwards()
119 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params_edwards()
154 static int mbedtls_ecp_tls_read_group_edwards( mbedtls_ecp_group *grp, const unsigned char **buf, s… in mbedtls_ecp_tls_read_group_edwards()
192 const unsigned char **buf, const unsigned char *end ) in mbedtls_ecdh_read_params_edwards()
Decdsa_edwards.c37 static int ecdsa_export_mpi_to_buff(const mbedtls_mpi *mpi, size_t *outBuffSize, unsigned char *buf in ecdsa_export_mpi_to_buff()
173 const mbedtls_mpi *d, const unsigned char *buf, size_t blen) in mbedtls_ecdsa_sign_edwards()
260 int mbedtls_ecdsa_verify_edwards(mbedtls_ecp_group *grp, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_verify_edwards()
355 unsigned char *buf, size_t blen ) in mbedtls_ecdsa_public_key_read_edwards()
389 unsigned char *buf, size_t blen ) in mbedtls_ecdsa_public_key_write_edwards()
Decdsa_alt.c97 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in ecdsa_wrst_sign()
211 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign()
243 const unsigned char *buf, size_t blen, in ecdsa_wrst_verify()
348 const unsigned char *buf, size_t blen, in mbedtls_ecdsa_verify()
/trusted-firmware-m-3.5.0/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_otp.c22 size_t size, const uint8_t *buf) in cc3xx_otp_write()
80 size_t size, uint8_t *buf) in cc3xx_otp_read()
Dcc3xx_dma.c100 cc3xx_err_t cc3xx_dma_input_data(const void* buf, size_t length) in cc3xx_dma_input_data()
138 cc3xx_err_t cc3xx_dma_set_output(void* buf, size_t length) in cc3xx_dma_set_output()
/trusted-firmware-m-3.5.0/lib/ext/qcbor/
Dq_useful_buf.h121 static inline struct q_useful_buf_c q_useful_buf_head(struct q_useful_buf_c buf, in q_useful_buf_head()
127 static inline struct q_useful_buf_c q_useful_buf_tail(struct q_useful_buf_c buf, in q_useful_buf_tail()
139 static inline size_t q_useful_buf_is_value(const struct q_useful_buf_c buf, in q_useful_buf_is_value()
/trusted-firmware-m-3.5.0/lib/ext/t_cose/inc/
Dq_useful_buf.h121 static inline struct q_useful_buf_c q_useful_buf_head(struct q_useful_buf_c buf, in q_useful_buf_head()
127 static inline struct q_useful_buf_c q_useful_buf_tail(struct q_useful_buf_c buf, in q_useful_buf_tail()
139 static inline size_t q_useful_buf_is_value(const struct q_useful_buf_c buf, in q_useful_buf_is_value()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/
Dtest_pal_socket.c168 uint32_t Test_PalSend(tp_socket s, const uint8_t *buf, in Test_PalSend()
180 uint32_t Test_PalSendTo(tp_socket s, const uint8_t *buf, in Test_PalSendTo()
200 uint32_t Test_PalRecvFrom(tp_socket s, const uint8_t *buf, in Test_PalRecvFrom()
226 uint32_t Test_PalRecv(tp_socket s, const uint8_t *buf, in Test_PalRecv()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/
Dtest_pal_socket.c156 uint32_t Test_PalSend(tp_socket s, const uint8_t *buf, in Test_PalSend()
168 uint32_t Test_PalSendTo(tp_socket s, const uint8_t *buf, in Test_PalSendTo()
188 uint32_t Test_PalRecvFrom(tp_socket s, const uint8_t *buf, in Test_PalRecvFrom()
217 uint32_t Test_PalRecv(tp_socket s, const uint8_t *buf, in Test_PalRecv()
/trusted-firmware-m-3.5.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.c180 size_t its_req_mngr_read(uint8_t *buf, size_t num_bytes) in its_req_mngr_read()
185 void its_req_mngr_write(const uint8_t *buf, size_t num_bytes) in its_req_mngr_write()
/trusted-firmware-m-3.5.0/platform/ext/target/stm/common/hal/accelerator/
Decdsa_alt.c57 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign()
211 const unsigned char *buf, size_t blen, in mbedtls_ecdsa_verify()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/
Dcmac_alt.h29 uint32_t buf[MBEDTLS_CMAC_CONTEXT_SIZE_IN_WORDS]; member

123