Lines Matching refs:macSize
95 const u32 macSize = AES_GetMacLengthValue(macLength); in SampleMain() local
122 pEncrypted = OS_Alloc(pdataSize + macSize); in SampleMain()
198 DEMO_PrintBytes((u8*)pEncrypted + pdataSize, macSize); in SampleMain()
207 … if( (pdataSize + macSize == size) && MI_CpuComp8(pEncrypted, pEncryptedOnPC, size) == 0 ) in SampleMain()
230 const u32 macSize = AES_GetMacLengthValue(macLength); in SampleMain() local
247 cdataSize = srcFileSize - macSize; in SampleMain()
273 DEMO_PrintBytes(pEncrypted, cdataSize + macSize); in SampleMain()
279 const u32 workSize = headerSize + adataSize + cdataSize + macSize; in SampleMain()
571 u32 macSize = AES_GetMacLengthValue(macLength); in DEMO_CcmEncryptCompatible() local
574 AES_ReverseBytes(mac, mac, macSize); // MAC in DEMO_CcmEncryptCompatible()
628 const u32 macSize = AES_GetMacLengthValue(macLength); in DEMO_CcmDecryptCompatible() local
653 MI_CpuCopy(pCdata, pWork + offsetCdata, cdataSize + macSize); // Cdata, MAC in DEMO_CcmDecryptCompatible()
658 const u32 workSize = headerSize + adataSize + cdataSize + macSize; in DEMO_CcmDecryptCompatible()