Searched refs:pDecrypted (Results 1 – 7 of 7) sorted by relevance
| /TwlSDK-5.2.1/build/demos.TWL/aes/encrypt-and-sign/src/ |
| D | main.c | 77 void* pDecrypted; in SampleMain() local 89 pDecrypted = OS_Alloc(plainSize); in SampleMain() 92 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 159 pDecrypted, // Buffer that stores decrypted data in SampleMain() 186 DEMO_PrintBytes(pDecrypted, plainSize); in SampleMain() 189 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 194 if( MI_CpuComp8(pDecrypted, pPlainText, plainSize) == 0 ) in SampleMain() 205 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/encrypt/src/ |
| D | main.c | 77 void* pDecrypted; in SampleMain() local 89 pDecrypted = OS_Alloc(plainSize); in SampleMain() 92 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 157 pDecrypted, // Buffer that stores decrypted data in SampleMain() 181 DEMO_PrintBytes(pDecrypted, plainSize); in SampleMain() 184 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 189 if( MI_CpuComp8(pDecrypted, pPlainText, plainSize) == 0 ) in SampleMain() 200 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/ctr/src/ |
| D | main.c | 78 void* pDecrypted; in SampleMain() local 88 pDecrypted = OS_Alloc(srcSize); in SampleMain() 91 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 170 pDecrypted, // Buffer that stores decrypted data in SampleMain() 194 DEMO_PrintBytes(pDecrypted, srcSize); in SampleMain() 197 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 202 if( MI_CpuComp8(pDecrypted, pPlainText, srcSize) == 0 ) in SampleMain() 213 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/ctr-partial/src/ |
| D | main.c | 86 void* pDecrypted; in SampleMain() local 96 pDecrypted = OS_Alloc(srcSize); in SampleMain() 99 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 183 pDecrypted, // Buffer that stores decrypted data in SampleMain() 201 ((char*)pDecrypted)[decryptSize] = '\0'; in SampleMain() 209 DEMO_PrintBytes(pDecrypted, decryptSize); in SampleMain() 212 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 216 if( MI_CpuComp8(pDecrypted, pPlainText + decryptOffset, decryptSize) == 0 ) in SampleMain() 228 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/ccm/src/ |
| D | main.c | 88 void* pDecrypted; in SampleMain() local 113 pDecrypted = OS_Alloc(srcPSize); in SampleMain() 117 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 224 pDecrypted, // Buffer that stores decrypted data in SampleMain() 251 DEMO_PrintBytes(pDecrypted, srcPSize); in SampleMain() 254 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 259 if( MI_CpuComp8(pDecrypted, pPlainTextP, srcPSize) == 0 ) in SampleMain() 270 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/ctr-compatible/src/ |
| D | main.c | 160 void* pDecrypted; in SampleMain() local 174 pDecrypted = OS_Alloc(srcSize); in SampleMain() 176 if( ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 202 pDecrypted ); // Buffer that stores decrypted data in SampleMain() 206 OS_Free(pDecrypted); in SampleMain() 216 DEMO_PrintBytes(pDecrypted, srcSize); in SampleMain() 219 DEMO_PrintText(pDecrypted, srcSize); in SampleMain() 229 if( (srcSize == size) && MI_CpuComp8(pDecrypted, pOriginal, size) == 0 ) in SampleMain() 243 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.2.1/build/demos.TWL/aes/ccm-compatible/src/ |
| D | main.c | 232 void* pDecrypted; in SampleMain() local 249 pDecrypted = OS_Alloc(cdataSize); in SampleMain() 251 if( ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 290 pDecrypted ); // Buffer that stores decrypted data in SampleMain() 308 OS_Free(pDecrypted); in SampleMain() 319 DEMO_PrintBytes(pDecrypted, cdataSize); in SampleMain() 322 DEMO_PrintText(pDecrypted, cdataSize); in SampleMain() 332 if( (cdataSize == size) && MI_CpuComp8(pDecrypted, pOriginal, size) == 0 ) in SampleMain() 346 OS_Free(pDecrypted); in SampleMain()
|