Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 62) sorted by relevance

123

/trusted-firmware-m-latest/platform/ext/common/
Dtfm_fatal_error.c26 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/
Dmain.c65 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/
Dtfm_sp_log.h36 #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/
Dmcuboot_logging.h47 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/
Dretarget.c306 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/
Dcc_pal_mutex.c42 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/
Dcommon_sb_ops.h41 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); \
Dcommon_sb_ops.c202 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/
Drun_integration_pal_log.h36 printf(format, ##__VA_ARGS__)
44printf(" %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/
Dretarget.c332 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/
Dcmpu_integration_pal_log.h20 printf("%-35.35s: %-5.5s: ", _buff, _lvl); \
25 printf(format, ##__VA_ARGS__)
30printf("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/
Ddmpu_integration_pal_log.h20 printf("%-35.35s: %-5.5s: ", _buff, _lvl); \
25 printf(format, ##__VA_ARGS__)
30printf("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/
Dlow_level_ospi_flash.c279 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 …]
Dlow_level_flash.c247 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/
Dpki_dbg.h31 #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/
Dtst_perf.c101 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/
Dcpak_generator.c221 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/
Dmain.c77 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/
DTFM_BIN2HEX.sh37 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/
Dmain.c62 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/
Dtest_pal_log.c26 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/
Dtest_pal_log.c26 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/
Dtest_pal_log.c26 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/
Dcc_pal_perf_plat.c184printf("%*.*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/
Dbootloader.c81 printf("Bootloader HardFault!\n"); in HardFault_Handler()

123