Lines Matching refs:srcSize
43 u32 srcSize,
75 u32 srcSize; in SampleMain() local
83 pPlaintext = DEMO_LoadFile(&srcSize, "sample16.txt"); in SampleMain()
87 pEncrypted = OS_Alloc(srcSize); in SampleMain()
106 DEMO_PrintText(pPlaintext, srcSize); in SampleMain()
108 DEMO_PrintBytes(pPlaintext, srcSize); in SampleMain()
116 srcSize, // Size of the data to encrypt in SampleMain()
131 DEMO_PrintBytes(pEncrypted, srcSize); in SampleMain()
140 if( (srcSize == size) && MI_CpuComp8(pEncrypted, pEncryptedOnPC, size) == 0 ) in SampleMain()
164 u32 srcSize; in SampleMain() local
171 pEncrypted = DEMO_LoadFile(&srcSize, "encrypted.bin"); in SampleMain()
175 pDecrypted = OS_Alloc(srcSize); in SampleMain()
194 DEMO_PrintBytes(pEncrypted, srcSize); in SampleMain()
202 srcSize, // Size of the data to decrypt 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()
317 u32 srcSize, in DEMO_CtrCompatible() argument
326 AES_SwapEndianEach128(src, src, srcSize); in DEMO_CtrCompatible()
345 srcSize, in DEMO_CtrCompatible()
363 AES_SwapEndianEach128(dst, dst, srcSize); in DEMO_CtrCompatible()