Lines Matching refs:srcSize
42 u32 srcSize,
74 u32 srcSize; in SampleMain() local
82 pPlaintext = DEMO_LoadFile(&srcSize, "sample16.txt"); in SampleMain()
86 pEncrypted = OS_Alloc(srcSize); in SampleMain()
105 DEMO_PrintText(pPlaintext, srcSize); in SampleMain()
107 DEMO_PrintBytes(pPlaintext, srcSize); in SampleMain()
115 srcSize, // Size of the data to encrypt in SampleMain()
130 DEMO_PrintBytes(pEncrypted, srcSize); in SampleMain()
139 if( (srcSize == size) && MI_CpuComp8(pEncrypted, pEncryptedOnPC, size) == 0 ) in SampleMain()
163 u32 srcSize; in SampleMain() local
170 pEncrypted = DEMO_LoadFile(&srcSize, "encrypted.bin"); in SampleMain()
174 pDecrypted = OS_Alloc(srcSize); in SampleMain()
193 DEMO_PrintBytes(pEncrypted, srcSize); in SampleMain()
201 srcSize, // Size of the data to decrypt 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()
323 u32 srcSize, in DEMO_CtrCompatible() argument
332 AES_SwapEndianEach128(src, src, srcSize); in DEMO_CtrCompatible()
351 srcSize, in DEMO_CtrCompatible()
369 AES_SwapEndianEach128(dst, dst, srcSize); in DEMO_CtrCompatible()