| /trusted-firmware-m-latest/platform/ext/common/ |
| D | tfm_fatal_error.c | 26 printf("[ERR] Fatal error "); in log_error() 28 printf("[WRN] Non-fatal error "); in log_error() 32 printf("%08X ", err); in log_error() 36 printf("in file %s ", file); in log_error() 40 printf("at line %u ", line); in log_error() 44 printf("with SP=%p ", sp); in log_error() 47 printf("\r\n"); in log_error()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/ |
| D | main.c | 65 printf("Failed to retrieve pwd\n"); in SBU_RSA_Sign() 77 printf ("\nCC_CommonGetKeyPair Cannot read RSA private key\n"); in SBU_RSA_Sign() 133 printf("illegal parameters !\n"); in SBU_AES_CTR_EncryptFile() 145 printf( "failed to open file %s for reading\n", pFileName); in SBU_AES_CTR_EncryptFile() 152 printf("ftell failed\n"); in SBU_AES_CTR_EncryptFile() 159 printf( "ilegal actualFileLen == 0\n"); in SBU_AES_CTR_EncryptFile() 167 printf( "failed to SHA256_Init 0x%x\n", rc); in SBU_AES_CTR_EncryptFile() 177 printf( "failed to open file %s for writing\n", pOutputFileName); in SBU_AES_CTR_EncryptFile() 186 printf( "failed to EVP_EncryptInit_ex 0x%x\n", rc); in SBU_AES_CTR_EncryptFile() 204 printf( "fread returned 0\n"); in SBU_AES_CTR_EncryptFile() [all …]
|
| /trusted-firmware-m-latest/secure_fw/partitions/lib/runtime/include/ |
| D | tfm_sp_log.h | 36 #define LOG_DBGFMT(...) printf(__VA_ARGS__) 42 #define LOG_INFFMT(...) printf(__VA_ARGS__) 48 #define LOG_ERRFMT(...) printf(__VA_ARGS__) 53 int printf(const char *fmt, ...);
|
| /trusted-firmware-m-latest/bl2/ext/mcuboot/include/mcuboot_config/ |
| D | mcuboot_logging.h | 47 printf("[ERR] " _fmt "\r\n", ##__VA_ARGS__) 54 printf("[WRN] " _fmt "\r\n", ##__VA_ARGS__) 61 printf("[INF] " _fmt "\r\n", ##__VA_ARGS__) 68 printf("[DBG] " _fmt "\r\n", ##__VA_ARGS__)
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
| D | retarget.c | 306 printf("HardFault @ 0x%08x\n", sp[6]); in ProcessHardFault() 311 printf("HardFault Analysis:\n"); in ProcessHardFault() 313 printf("Instruction code = %x\n", inst); in ProcessHardFault() 317 printf("Non-secure CPU try to fetch secure code\n"); in ProcessHardFault() 321 printf("Execute BKPT without ICE connected\n"); in ProcessHardFault() 330 printf("LDR/STR rt=%x rm=%x rn=%x\n", rt, rm, rn); in ProcessHardFault() 333 printf("[0x%08x] 0x%04x %s 0x%x [0x%x]\n", addr, inst, in ProcessHardFault() 344 printf("LDR/STR rt=%x rn=%x imm5=%x\n", rt, rn, imm5); in ProcessHardFault() 347 printf("[0x%08x] 0x%04x %s 0x%x [0x%x]\n", addr, inst, in ProcessHardFault() 357 printf("LDRH/STRH rt=%x rn=%x imm5=%x\n", rt, rn, imm5); in ProcessHardFault() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/pal/linux/ |
| D | cc_pal_mutex.c | 42 printf /* CC_PAL_LOG_ERR */("pthread_mutex_init failed 0x%x", rc); in CC_PalMutexCreate() 63 printf /* CC_PAL_LOG_ERR */("pthread_mutex_destroy failed 0x%x", rc); in CC_PalMutexDestroy() 88 printf /* CC_PAL_LOG_ERR */("pthread_mutex_lock failed 0x%x", rc); in CC_PalMutexLock() 110 printf /* CC_PAL_LOG_ERR */("pthread_mutex_unlock failed 0x%x", rc); in CC_PalMutexUnlock()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/common/ |
| D | common_sb_ops.h | 41 printf("\n%s failed.\n", fname); \ 54 printf("\n%s failed.\n", fname); \ 65 printf("\n%s\n", msg); \ 79 printf("\n%s\n", msg); \ 99 printf("\n%s\n", msg); \
|
| D | common_sb_ops.c | 202 printf( "failed to CC_CommonGetNbuffFromKeyPair %d \n", rc); in SBU_GetNFromKeyPairAndCalcH() 285 printf ("\nSBU_RAND_Bytes - Internal error: Function RAND_bytes failed\n"); in SBU_RAND_Bytes() 315 printf( "failed to CC_CommonGetNAndNpFromKeyPair %d or ilegal size %d\n", rc, nAndNpSize); in SBU_GetNAndNpFromKeyPair() 342 printf( "failed to CC_CommonGetNAndNpFromPubKey %d or ilegal size %d\n", rc, nAndNpSize); in SBU_GetNAndNpFromPubKey() 367 printf( "failed to CC_CommonCalcHBKFromFile %d or ilegal size %d\n", rc, hashSize); in SBU_GetHashOfNAndNpFromPubKey()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/pal/include/ |
| D | run_integration_pal_log.h | 36 printf(format, ##__VA_ARGS__) 44 … printf(" %8"PRIu32"ms", runIt_getMicroSecPublic(runIt_getCyclesPublic() - startTime) / 1000) ;\ 67 if (RUNIT_DEBUG_STACK) printf(" %-5.5s", "stack"); \ 68 if (RUNIT_DEBUG_EXEC_TIME) printf(" %-10.10s", "exec time"); \ 70 if (RUNIT_DEBUG_STACK) printf(" %-5.5s", dash); \ 71 if (RUNIT_DEBUG_EXEC_TIME) printf(" %-10.10s", dash); \
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
| D | retarget.c | 332 printf("!!---------------------------------------------------------------!!\n"); in ProcessHardFault() 333 printf(" <<< HardFault >>>\n"); in ProcessHardFault() 340 printf(" Non-secure CPU try to fetch secure code in 0x%x\n", addr); in ProcessHardFault() 341 printf(" Try to check NSC region or SAU settings.\n"); in ProcessHardFault() 346 printf(" Execute BKPT without ICE connected\n"); in ProcessHardFault() 361 printf(" [0x%08x] 0x%04x %s R%d [0x%x]\n",addr, inst, in ProcessHardFault() 366 printf(" [0x%08x] 0x%04x %s 0x%x [0x%x]\n",addr, inst, in ProcessHardFault() 383 printf(" [0x%08x] 0x%04x %s R%d [0x%x]\n",addr, inst, in ProcessHardFault() 388 printf(" [0x%08x] 0x%04x %s 0x%x [0x%x]\n",addr, inst, in ProcessHardFault() 404 printf(" [0x%08x] 0x%04x %s R%d [0x%x]\n",addr, inst, in ProcessHardFault() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/cmpu_integration_test/pal/include/ |
| D | cmpu_integration_pal_log.h | 20 printf("%-35.35s: %-5.5s: ", _buff, _lvl); \ 25 printf(format, ##__VA_ARGS__) 30 … printf("Test: %-50.50s %-10.10s\n", _testName, rc == CMPUIT_ERROR__OK ? "Passed" : "Failed"); \
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/dmpu_integration_test/pal/include/ |
| D | dmpu_integration_pal_log.h | 20 printf("%-35.35s: %-5.5s: ", _buff, _lvl); \ 25 printf(format, ##__VA_ARGS__) 30 … printf("Test: %-50.50s %-10.10s\n", _testName, rc == DMPUIT_ERROR__OK ? "Passed" : "Failed"); \
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/hal/CMSIS_Driver/ |
| D | low_level_ospi_flash.c | 279 printf("read ospi 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ReadData() 286 printf("read ospi not allowed 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ReadData() 360 printf("failed read ospi 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ReadData() 377 printf("write ospi 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ProgramData() 389 printf("write ospi not allowed 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ProgramData() 405 printf("failed write ospi 0x%x n=%x \r\n", (addr + OSPI_FLASH_BASE_ADDRESS), cnt); in Ospi_Flash_ProgramData() 419 printf("erase ospi 0x%x\r\n", (addr + OSPI_FLASH_BASE_ADDRESS)); in Ospi_Flash_EraseSector() 426 printf("erase ospi not allowed 0x%x\r\n", (addr + OSPI_FLASH_BASE_ADDRESS)); in Ospi_Flash_EraseSector() 452 printf("erase ospi failed 0x%x\r\n", (addr + OSPI_FLASH_BASE_ADDRESS)); in Ospi_Flash_EraseSector() 499 printf("memory mapped ospi\r\n"); in Ospi_Flash_Config_Exe() [all …]
|
| D | low_level_flash.c | 247 printf("page = %x \r\n", page); in page_number() 323 printf("Flash operation: Op=0x%x, Area=0x%x, Address=0x%x", in Flash_Initialize() 376 printf("read %lx n=%x \r\n", (addr + FLASH_BASE), cnt); in Flash_ReadData() 401 printf("Double ECC error detected: FLASH_ECCR=0x%x", FLASH->ECCR); in Flash_ReadData() 462 printf("write %x n=%x \r\n", (uint32_t) dest, cnt); in Flash_ProgramData() 512 printf("write %x n=%x (cmp failed)\r\n", (uint32_t)(dest), cnt); in Flash_ProgramData() 519 printf("failed write %x n=%x \r\n", (uint32_t)(dest), cnt); in Flash_ProgramData() 536 printf("erase %x\r\n", addr); in Flash_EraseSector() 545 printf("failed erase %x\r\n", addr); in Flash_EraseSector() 547 printf("failed erase %lx\r\n", addr); in Flash_EraseSector() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
| D | pki_dbg.h | 31 #define PKA_PRINTF printf 73 #define PKA_START_FUNC printf("\n[ %s\n", __func__) 74 #define PKA_FINISH_FUNC printf("] %s\n", __func__) 75 #define PPR(reg) printf(#reg); PkiDbgPrintReg("=",reg) 76 #define PPB(buf, size) {printf(#buf); PkiDbgPrintUint32BuffAsNum("=", buf, size);}
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/common/ |
| D | tst_perf.c | 101 printf("%s Invalid opType=%d or startCycles %lld\n", __FUNCTION__, opType, startCycles); in TST_PerfStatsCycleEnd() 106 printf("Test operations stats:\n"); in TST_PerfStatsCycleEnd() 126 printf("Test operations stats:\n"); in TST_PerfStatsCycleReport() 133 printf("%s: count=%d cycles=[min,avg,max,sum] %lld %lld %lld %lld \n", in TST_PerfStatsCycleReport()
|
| /trusted-firmware-m-latest/platform/ext/target/arm/rse/common/cpak_generator/ |
| D | cpak_generator.c | 221 printf("psa init failed\r\n"); in main() 227 printf("bl1_2_hash load failed\r\n"); in main() 233 printf("GUK load failed\r\n"); in main() 239 printf("boot state generation failed\r\n"); in main() 245 printf("cpak seed generation failed\r\n"); in main() 251 printf("cpak derivation failed\r\n"); in main() 257 printf("cpak output failed\r\n"); in main()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
| D | main.c | 77 printf ("\nSBU_RAND_Bytes - Internal error: Function RAND_bytes failed\n"); in SBU_RAND_Bytes() 296 printf("illegal parameters !\n"); in SBU_AES_CTR_EncryptFile() 308 printf( "failed to open file %s for reading\n", pFileName); in SBU_AES_CTR_EncryptFile() 315 printf("ftell failed\n"); in SBU_AES_CTR_EncryptFile() 322 printf( "ilegal actualFileLen == 0\n"); in SBU_AES_CTR_EncryptFile() 330 printf( "failed to SHA256_Init 0x%x\n", rc); in SBU_AES_CTR_EncryptFile() 340 printf( "failed to open file %s for writing\n", pOutputFileName); in SBU_AES_CTR_EncryptFile() 349 printf( "failed to EVP_EncryptInit_ex 0x%x\n", rc); in SBU_AES_CTR_EncryptFile() 367 printf( "fread returned 0\n"); in SBU_AES_CTR_EncryptFile() 379 printf( "failed to EVP_EncryptUpdate, rc 0x%x\n", rc); in SBU_AES_CTR_EncryptFile() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/scripts/ |
| D | TFM_BIN2HEX.sh | 37 image_s=`printf 0x%x $image_s` 39 image_ns=`printf 0x%x $image_ns` 41 bl2=`printf 0x%x $bl2` 42 printf "disk "$disk_option", hex addresses: "$bl2", "$image_s", "$image_ns
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/lib/ |
| D | main.c | 62 printf("Failed to retrieve pwd\n"); in SBU_RSA_Sign() 74 printf ("\nCC_CommonGetKeyPair Cannot read RSA private key\n"); in SBU_RSA_Sign()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/ |
| D | test_pal_log.c | 26 printf("%s(): ", function); in Test_PalPrintfError() 28 printf("\n"); in Test_PalPrintfError() 61 printf("%s(): ", function); in Test_PalPrintf()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/ |
| D | test_pal_log.c | 26 printf("%s(): ", function); in Test_PalPrintfError() 28 printf("\n"); in Test_PalPrintfError() 61 printf("%s(): ", function); in Test_PalPrintf()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/mbedos/ |
| D | test_pal_log.c | 26 printf("%s(): ", function); in Test_PalPrintfError() 28 printf("\n"); in Test_PalPrintfError() 61 printf("%s(): ", function); in Test_PalPrintf()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/pal/freertos/ |
| D | cc_pal_perf_plat.c | 184 …printf("%*.*s\n%s\n%*.*s\n", length, length, CC_PALPERFDUMP_SEPERATOR, buff, length, length, CC_PA… in CC_PalPerfDump() 212 printf("| %-30.30s | %10u | %15lu | %15lu | %15lu | %15lu | %15lu | %15lu |\n", in CC_PalPerfDump() 218 printf("%*.*s\n", length, length, CC_PALPERFDUMP_SEPERATOR); in CC_PalPerfDump()
|
| /trusted-firmware-m-latest/platform/ext/cmsis/CMSIS/CoreValidation/Layer/App/Bootloader_Cortex-M/ |
| D | bootloader.c | 81 printf("Bootloader HardFault!\n"); in HardFault_Handler()
|