/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/ |
D | test_log.h | 19 #define TEST_FPRINTF_ERROR(fd, format, ...) {\ argument 20 fprintf(fd, "%s(): " format, __FUNCTION__, ##__VA_ARGS__);\ 21 fprintf(fd, "\n");\ 22 fflush(fd);\ 64 #define TEST_FPRINTF(fd, format, ...) {\ argument 65 fprintf(fd, "%s(): " format, __FUNCTION__, ##__VA_ARGS__);\ 66 fprintf(fd, "\n");\ 67 fflush(fd);\ 80 #define TEST_FPRINTF1(fd, format, ...) {\ argument 81 fprintf(fd, " " format, ##__VA_ARGS__);\ [all …]
|
D | applet_list.c | 33 uint8_t getLoadedApplets(IN_PARAM int fd , OUT_PARAM uint8_t *pBuff) in getLoadedApplets() argument 41 …int)mmap(0, APP_LOADING_SHARED_MEM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, APP_LOADING_START_S… in getLoadedApplets() 64 uint8_t clearAllApplets(IN_PARAM int fd) in clearAllApplets() argument 72 …int)mmap(0, APP_LOADING_SHARED_MEM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, APP_LOADING_START_S… in clearAllApplets() 95 uint8_t loadApplet(IN_PARAM int fd , uint8_t slotId) in loadApplet() argument 103 …int)mmap(0, APP_LOADING_SHARED_MEM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, APP_LOADING_START_S… in loadApplet() 126 uint8_t unloadApplet(IN_PARAM int fd , OUT_PARAM uint8_t *pBuff,uint8_t slotId) in unloadApplet() argument 134 …int)mmap(0, APP_LOADING_SHARED_MEM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, APP_LOADING_START_S… in unloadApplet()
|
D | applet_list.h | 56 extern uint8_t getLoadedApplets(IN_PARAM int fd , OUT_PARAM uint8_t *pBuff); 57 extern uint8_t clearAllApplets(IN_PARAM int fd); 58 extern uint8_t loadApplet(IN_PARAM int fd , uint8_t slotId); 59 extern uint8_t unloadApplet(IN_PARAM int fd , OUT_PARAM uint8_t *pBuff,uint8_t slotId);
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/include/ |
D | test_pal_log.h | 61 void Test_PalFprintfError(void *fd, const char *function, 111 void Test_PalFprintf(void *fd, const char *function, const char *format, ...); 149 void Test_PalFprintByteBuff(void *fd, const char *function, 170 void Test_PalFprintfByteBuffMax(void *fd, const char *function, 222 #define TEST_FPRINTF_ERROR(fd, format, ...) {\ argument 223 Test_PalFprintfError(fd, __FUNCTION__, format, ##__VA_ARGS__);\ 274 #define TEST_FPRINTF(fd, format, ...) {\ argument 275 Test_PalFprintf(fd, __FUNCTION__, format, ##__VA_ARGS__);\ 276 Test_PalFprintf(fd, NULL, "\n");\ 309 #define TEST_FPRINTF_NO_FUNC(fd, format, ...) {\ argument [all …]
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_util_files.c | 26 FILE *fd; in CC_CommonUtilCopyDataFromRawTextFile() local 42 fd = fopen(fileName, "rt"); in CC_CommonUtilCopyDataFromRawTextFile() 43 if (NULL == fd) { in CC_CommonUtilCopyDataFromRawTextFile() 50 fseek(fd, 0, SEEK_END); in CC_CommonUtilCopyDataFromRawTextFile() 51 actualFileLen = ftell(fd); in CC_CommonUtilCopyDataFromRawTextFile() 57 fseek(fd, 0, SEEK_SET); in CC_CommonUtilCopyDataFromRawTextFile() 68 actualRead = fread(outBuff, 1, maxBytesToRead, fd); in CC_CommonUtilCopyDataFromRawTextFile() 80 if (fd != NULL) { in CC_CommonUtilCopyDataFromRawTextFile() 81 fclose(fd); in CC_CommonUtilCopyDataFromRawTextFile() 101 FILE *fd; in CC_CommonUtilCopyDataFromTextFile() local [all …]
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/mbedos/ |
D | test_pal_log.c | 34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument 36 (void)fd; in Test_PalFprintfError() 68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument 70 (void)fd; in Test_PalFprintf() 94 void Test_PalFprintByteBuff(void *fd, const char *function, in Test_PalFprintByteBuff() argument 97 (void)fd; in Test_PalFprintByteBuff() 105 void Test_PalFprintfByteBuffMax(void *fd, const char *function, in Test_PalFprintfByteBuffMax() argument 108 (void)fd; in Test_PalFprintfByteBuffMax()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/ |
D | test_pal_log.c | 34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument 36 (void)fd; in Test_PalFprintfError() 68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument 70 (void)fd; in Test_PalFprintf() 94 void Test_PalFprintByteBuff(void *fd, const char *function, in Test_PalFprintByteBuff() argument 97 (void)fd; in Test_PalFprintByteBuff() 105 void Test_PalFprintfByteBuffMax(void *fd, const char *function, in Test_PalFprintfByteBuffMax() argument 108 (void)fd; in Test_PalFprintfByteBuffMax()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/ |
D | test_pal_log.c | 34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument 36 (void)fd; in Test_PalFprintfError() 68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument 70 (void)fd; in Test_PalFprintf() 94 void Test_PalFprintByteBuff(void *fd, const char *function, in Test_PalFprintByteBuff() argument 97 (void)fd; in Test_PalFprintByteBuff() 105 void Test_PalFprintfByteBuffMax(void *fd, const char *function, in Test_PalFprintfByteBuffMax() argument 108 (void)fd; in Test_PalFprintfByteBuffMax()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/ |
D | test_pal_map_addrs.c | 33 int fd; member 68 fdList[fdIndx].fd, in Test_PalMapAddr() 109 fdList[fdIndx].fd = -1; in Test_PalOpenFd() 118 if (fdList[fdIndx].fd < 0) { in Test_PalOpenFd() 119 fdList[fdIndx].fd = open(fdList[fdIndx].filename, in Test_PalOpenFd() 121 if (fdList[fdIndx].fd < 0) { in Test_PalOpenFd() 143 if ((fdIndx >= 0) && (fdList[fdIndx].fd >= 0)) { in Test_PalCloseFd() 144 close(fdList[fdIndx].fd); in Test_PalCloseFd() 145 fdList[fdIndx].fd = -1; in Test_PalCloseFd()
|
D | test_pal_log.c | 37 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument 39 FILE *fd_l = (FILE *)fd; in Test_PalFprintfError() 88 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument 90 FILE *fd_l = (FILE *)fd; in Test_PalFprintf() 126 void Test_PalFprintByteBuff(void *fd, const char *function, in Test_PalFprintByteBuff() argument 129 FILE *fd_l = (FILE *)fd; in Test_PalFprintByteBuff() 144 void Test_PalFprintfByteBuffMax(void *fd, const char *function, in Test_PalFprintfByteBuffMax() argument 148 FILE *fd_l = (FILE *)fd; in Test_PalFprintfByteBuffMax()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/ |
D | main.c | 114 FILE *fd = NULL; in SBU_AES_CTR_EncryptFile() local 143 fd = fopen(pFileName, "rb"); in SBU_AES_CTR_EncryptFile() 144 if (NULL == fd) { in SBU_AES_CTR_EncryptFile() 149 fseek(fd, 0, SEEK_END); in SBU_AES_CTR_EncryptFile() 150 actualFileLen=ftell(fd); in SBU_AES_CTR_EncryptFile() 155 fseek(fd, 0, SEEK_SET); in SBU_AES_CTR_EncryptFile() 201 actualRead = fread(origBuff, 1, MAX_IMAGE_CHUNK, fd); in SBU_AES_CTR_EncryptFile() 269 if (fd != NULL) { in SBU_AES_CTR_EncryptFile() 270 fclose(fd); in SBU_AES_CTR_EncryptFile()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
D | main.c | 277 FILE *fd = NULL; in SBU_AES_CTR_EncryptFile() local 306 fd = fopen(pFileName, "rb"); in SBU_AES_CTR_EncryptFile() 307 if (NULL == fd) { in SBU_AES_CTR_EncryptFile() 312 fseek(fd, 0, SEEK_END); in SBU_AES_CTR_EncryptFile() 313 actualFileLen=ftell(fd); in SBU_AES_CTR_EncryptFile() 318 fseek(fd, 0, SEEK_SET); in SBU_AES_CTR_EncryptFile() 364 actualRead = fread(origBuff, 1, MAX_IMAGE_CHUNK, fd); in SBU_AES_CTR_EncryptFile() 433 if (fd != NULL) { in SBU_AES_CTR_EncryptFile() 434 fclose(fd); in SBU_AES_CTR_EncryptFile()
|
/trusted-firmware-m-3.6.0/platform/ext/common/ |
D | uart_stdout.c | 72 int _write(int fd, char *str, int len) in _write() argument 74 (void)fd; in _write()
|
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | retarget.c | 681 int _write(int fd, char *ptr, int len) in _write() argument 700 int _read(int fd, char *ptr, int len) in _read() argument
|
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | retarget.c | 769 int _write (int fd, char *ptr, int len) in _write() argument 786 int _read (int fd, char *ptr, int len) in _read() argument
|