Home
last modified time | relevance | path

Searched refs:tmp_buf (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bl1/
Dcc312_rom_crypto.c36 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in bl1_sha256_finish() local
38 cc3xx_lowlevel_hash_finish(tmp_buf, 32); in bl1_sha256_finish()
40 memcpy(hash, tmp_buf, sizeof(tmp_buf)); in bl1_sha256_finish()
62 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in bl1_sha256_compute() local
79 cc3xx_lowlevel_hash_finish(tmp_buf, 32); in bl1_sha256_compute()
81 memcpy(hash, tmp_buf, sizeof(tmp_buf)); in bl1_sha256_compute()
/trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/bl1/
Dcc312_rom_crypto.c35 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in bl1_sha256_finish() local
37 cc3xx_lowlevel_hash_finish(tmp_buf, 32); in bl1_sha256_finish()
39 memcpy(hash, tmp_buf, sizeof(tmp_buf)); in bl1_sha256_finish()
60 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in bl1_sha256_compute() local
76 cc3xx_lowlevel_hash_finish(tmp_buf, 32); in bl1_sha256_compute()
78 memcpy(hash, tmp_buf, sizeof(tmp_buf)); in bl1_sha256_compute()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/
Dotp_lcm.c339 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in otp_read_encrypted()
344 if (len > sizeof(tmp_buf)) { in otp_read_encrypted()
348 plat_err = otp_read(offset, len, sizeof(tmp_buf), (uint8_t *)tmp_buf); in otp_read_encrypted()
362 cc_err = cc3xx_lowlevel_aes_update((uint8_t *)tmp_buf, len); in otp_read_encrypted()
398 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in otp_write_encrypted()
403 if (len > sizeof(tmp_buf)) { in otp_write_encrypted()
414 cc3xx_lowlevel_aes_set_output_buffer((uint8_t *)tmp_buf, sizeof(tmp_buf)); in otp_write_encrypted()
424 plat_err = otp_write(offset, len, sizeof(tmp_buf), (uint8_t *)tmp_buf); in otp_write_encrypted()
429 cc_err = cc3xx_lowlevel_rng_get_random((uint8_t *)tmp_buf, sizeof(tmp_buf)); in otp_write_encrypted()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/
Dotp_lcm.c468 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in otp_read_encrypted() local
480 if (len > sizeof(tmp_buf)) { in otp_read_encrypted()
484 plat_err = otp_read(offset, len, sizeof(tmp_buf), (uint8_t *)tmp_buf); in otp_read_encrypted()
498 cc_err = cc3xx_lowlevel_aes_update((uint8_t *)tmp_buf, len); in otp_read_encrypted()
535 uint32_t tmp_buf[32 / sizeof(uint32_t)]; in otp_write_encrypted()
540 if (len > sizeof(tmp_buf)) { in otp_write_encrypted()
551 cc3xx_lowlevel_aes_set_output_buffer((uint8_t *)tmp_buf, sizeof(tmp_buf)); in otp_write_encrypted()
561 plat_err = otp_write(offset, len, sizeof(tmp_buf), (uint8_t *)tmp_buf); in otp_write_encrypted()
566 cc_err = cc3xx_lowlevel_rng_get_random((uint8_t *)tmp_buf, sizeof(tmp_buf)); in otp_write_encrypted()