Lines Matching refs:macSize
94 const u32 macSize = AES_GetMacLengthValue(macLength); in SampleMain() local
121 pEncrypted = OS_Alloc(pdataSize + macSize); in SampleMain()
197 DEMO_PrintBytes((u8*)pEncrypted + pdataSize, macSize); in SampleMain()
206 … if( (pdataSize + macSize == size) && MI_CpuComp8(pEncrypted, pEncryptedOnPC, size) == 0 ) in SampleMain()
229 const u32 macSize = AES_GetMacLengthValue(macLength); in SampleMain() local
246 cdataSize = srcFileSize - macSize; in SampleMain()
272 DEMO_PrintBytes(pEncrypted, cdataSize + macSize); in SampleMain()
278 const u32 workSize = headerSize + adataSize + cdataSize + macSize; in SampleMain()
577 u32 macSize = AES_GetMacLengthValue(macLength); in DEMO_CcmEncryptCompatible() local
580 AES_ReverseBytes(mac, mac, macSize); // MAC in DEMO_CcmEncryptCompatible()
634 const u32 macSize = AES_GetMacLengthValue(macLength); in DEMO_CcmDecryptCompatible() local
659 MI_CpuCopy(pCdata, pWork + offsetCdata, cdataSize + macSize); // Cdata, MAC in DEMO_CcmDecryptCompatible()
664 const u32 workSize = headerSize + adataSize + cdataSize + macSize; in DEMO_CcmDecryptCompatible()