Searched refs:pDecrypted (Results 1 – 7 of 7) sorted by relevance
| /TwlSDK-5.5/build/demos.TWL/aes/encrypt/src/ |
| D | main.c | 78 void* pDecrypted; in SampleMain() local 90 pDecrypted = OS_Alloc(plainSize); in SampleMain() 93 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 158 pDecrypted, // Buffer that stores decrypted data in SampleMain() 182 DEMO_PrintBytes(pDecrypted, plainSize); in SampleMain() 185 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 190 if( MI_CpuComp8(pDecrypted, pPlainText, plainSize) == 0 ) in SampleMain() 201 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/encrypt-and-sign/src/ |
| D | main.c | 78 void* pDecrypted; in SampleMain() local 90 pDecrypted = OS_Alloc(plainSize); in SampleMain() 93 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 160 pDecrypted, // Buffer that stores decrypted data in SampleMain() 187 DEMO_PrintBytes(pDecrypted, plainSize); in SampleMain() 190 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 195 if( MI_CpuComp8(pDecrypted, pPlainText, plainSize) == 0 ) in SampleMain() 206 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/ctr/src/ |
| D | main.c | 79 void* pDecrypted; in SampleMain() local 89 pDecrypted = OS_Alloc(srcSize); in SampleMain() 92 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 171 pDecrypted, // Buffer that stores decrypted data in SampleMain() 195 DEMO_PrintBytes(pDecrypted, srcSize); in SampleMain() 198 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 203 if( MI_CpuComp8(pDecrypted, pPlainText, srcSize) == 0 ) in SampleMain() 214 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/ctr-partial/src/ |
| D | main.c | 87 void* pDecrypted; in SampleMain() local 97 pDecrypted = OS_Alloc(srcSize); in SampleMain() 100 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 184 pDecrypted, // Buffer that stores decrypted data in SampleMain() 202 ((char*)pDecrypted)[decryptSize] = '\0'; in SampleMain() 210 DEMO_PrintBytes(pDecrypted, decryptSize); in SampleMain() 213 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 217 if( MI_CpuComp8(pDecrypted, pPlainText + decryptOffset, decryptSize) == 0 ) in SampleMain() 229 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/ccm/src/ |
| D | main.c | 89 void* pDecrypted; in SampleMain() local 114 pDecrypted = OS_Alloc(srcPSize); in SampleMain() 118 || ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 225 pDecrypted, // Buffer that stores decrypted data in SampleMain() 252 DEMO_PrintBytes(pDecrypted, srcPSize); in SampleMain() 255 … OS_PutString(pDecrypted); // Use OS_PutString because OS_*Printf has a limit of 256 characters in SampleMain() 260 if( MI_CpuComp8(pDecrypted, pPlainTextP, srcPSize) == 0 ) in SampleMain() 271 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/ctr-compatible/src/ |
| D | main.c | 161 void* pDecrypted; in SampleMain() local 175 pDecrypted = OS_Alloc(srcSize); in SampleMain() 177 if( ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 203 pDecrypted ); // Buffer that stores decrypted data in SampleMain() 207 OS_Free(pDecrypted); in SampleMain() 217 DEMO_PrintBytes(pDecrypted, srcSize); in SampleMain() 220 DEMO_PrintText(pDecrypted, srcSize); in SampleMain() 230 if( (srcSize == size) && MI_CpuComp8(pDecrypted, pOriginal, size) == 0 ) in SampleMain() 244 OS_Free(pDecrypted); in SampleMain()
|
| /TwlSDK-5.5/build/demos.TWL/aes/ccm-compatible/src/ |
| D | main.c | 233 void* pDecrypted; in SampleMain() local 250 pDecrypted = OS_Alloc(cdataSize); in SampleMain() 252 if( ! SDK_IS_VALID_POINTER(pDecrypted) ) in SampleMain() 291 pDecrypted ); // Buffer that stores decrypted data in SampleMain() 309 OS_Free(pDecrypted); in SampleMain() 320 DEMO_PrintBytes(pDecrypted, cdataSize); in SampleMain() 323 DEMO_PrintText(pDecrypted, cdataSize); in SampleMain() 333 if( (cdataSize == size) && MI_CpuComp8(pDecrypted, pOriginal, size) == 0 ) in SampleMain() 347 OS_Free(pDecrypted); in SampleMain()
|