| /trusted-firmware-m-latest/platform/ext/target/arm/rse/common/ |
| D | attest_hal.c | 48 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() 103 uint8_t *buf) in tfm_plat_get_implementation_id() 127 enum tfm_plat_err_t tfm_plat_get_cert_ref(uint32_t *size, uint8_t *buf) in tfm_plat_get_cert_ref() 133 uint8_t *buf) in tfm_attest_hal_get_platform_config() 148 uint8_t *buf) in tfm_attest_hal_get_platform_hash_algo()
|
| D | crypto_keys.c | 25 static enum tfm_plat_err_t tfm_plat_get_huk(uint8_t *buf, size_t buf_len, in tfm_plat_get_huk() 50 static enum tfm_plat_err_t tfm_plat_get_iak(uint8_t *buf, size_t buf_len, in tfm_plat_get_iak() 155 static enum tfm_plat_err_t tfm_plat_get_dak_seed(uint8_t *buf, size_t buf_len, in tfm_plat_get_dak_seed() 182 static enum tfm_plat_err_t tfm_plat_get_rot_cdi(uint8_t *buf, size_t buf_len, in tfm_plat_get_rot_cdi() 208 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() 227 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() 246 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-latest/platform/ext/target/arm/mps4/corstone315/ |
| D | attest_hal.c | 48 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() 163 uint8_t *buf) in tfm_attest_hal_get_platform_config() 178 uint8_t *buf) in tfm_attest_hal_get_platform_hash_algo()
|
| D | otp_lcm.c | 302 static uint32_t count_buffer_zero_bits(const uint8_t* buf, size_t size) in count_buffer_zero_bits() 319 uint32_t buf_len, uint8_t *buf) in otp_read() 333 uint32_t buf_len, uint8_t *buf) in otp_read_encrypted() 375 uint32_t buf_len, const uint8_t *buf) in otp_write() 392 uint32_t buf_len, const uint8_t *buf) in otp_write_encrypted() 440 uint8_t buf[128]; in count_otp_zero_bits() local
|
| /trusted-firmware-m-latest/platform/ext/common/template/ |
| D | attest_hal.c | 47 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()
|
| D | crypto_nv_seed.c | 22 uint8_t buf[NV_SEED_SIZE]; in tfm_plat_crypto_provision_entropy_seed() local 43 int tfm_plat_crypto_nv_seed_read(unsigned char *buf, size_t buf_len) in tfm_plat_crypto_nv_seed_read() 58 int tfm_plat_crypto_nv_seed_write(const unsigned char *buf, size_t buf_len) in tfm_plat_crypto_nv_seed_write()
|
| D | crypto_keys.c | 28 static enum tfm_plat_err_t tfm_plat_get_huk(uint8_t *buf, size_t buf_len, in tfm_plat_get_huk() 54 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-latest/platform/ext/target/arm/corstone1000/io/ |
| D | io_flash.c | 65 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-latest/platform/ext/accelerator/cc312/cc312-rom/ |
| D | cc3xx_rng.c | 73 static cc3xx_err_t fill_entropy_buf(uint32_t *buf) { in fill_entropy_buf() 122 cc3xx_err_t cc3xx_lowlevel_rng_get_random(uint8_t *buf, size_t length) in cc3xx_lowlevel_rng_get_random() 207 cc3xx_err_t cc3xx_lowlevel_rng_get_random(uint8_t *buf, size_t length) in cc3xx_lowlevel_rng_get_random()
|
| D | cc3xx_hash.c | 43 static void set_hash_h(const uint32_t *buf, size_t length) in set_hash_h() 53 static void get_hash_h(uint32_t *buf, size_t length) in get_hash_h() 145 cc3xx_err_t cc3xx_lowlevel_hash_update(const uint8_t *buf, size_t length) in cc3xx_lowlevel_hash_update()
|
| D | cc3xx_dma.c | 79 static void process_data(const void* buf, size_t length) in process_data() 155 cc3xx_err_t cc3xx_lowlevel_dma_buffered_input_data(const void* buf, size_t length, in cc3xx_lowlevel_dma_buffered_input_data() 244 void cc3xx_lowlevel_dma_set_output(void* buf, size_t length) in cc3xx_lowlevel_dma_set_output()
|
| D | cc3xx_otp.c | 22 size_t size, const uint8_t *buf) in cc3xx_lowlevel_otp_write() 80 size_t size, uint8_t *buf) in cc3xx_lowlevel_otp_read()
|
| /trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/soft_crc/ |
| D | soft_crc.c | 103 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-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
| D | run_integration_aes.c | 68 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
|
| D | run_integration_ccm.c | 57 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
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Inc/ |
| D | stm32u5xx_hal_def.h | 164 #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-latest/platform/ext/target/stm/common/stm32h5xx/hal/Inc/ |
| D | stm32h5xx_hal_def.h | 165 #define ALIGN_32BYTES(buf) buf __attribute__ ((aligned (32))) argument 167 #define ALIGN_32BYTES(buf) _Pragma("data_alignment=32") buf argument 169 #define ALIGN_32BYTES(buf) __ALIGNED(32) buf argument 171 #define ALIGN_32BYTES(buf) __align(32) buf argument
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/ |
| D | test_pal_socket.c | 68 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-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
| D | ecdh_alt.c | 83 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()
|
| D | ecdsa_edwards.c | 37 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()
|
| D | ecdsa_alt.c | 97 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-latest/lib/ext/t_cose/inc/ |
| D | q_useful_buf.h | 121 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-latest/lib/ext/qcbor/ |
| D | q_useful_buf.h | 121 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-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/ |
| D | test_pal_socket.c | 168 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-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/ |
| D | test_pal_socket.c | 156 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()
|