Home
last modified time | relevance | path

Searched refs:msgBytesSwapped (Results 1 – 1 of 1) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/
DMessageAuthenticationServiceProvider.cs167 …private void CalculateGCM(byte[] msgBytesSwapped, byte[] authBytesSwapped, MsgAuthRegisters initVe… in CalculateGCM() argument
189 var encryptedBytes = new byte[msgBytesSwapped.Length + initVectorSize]; in CalculateGCM()
191 … var retLen = cipher.ProcessBytes(msgBytesSwapped, 0, msgBytesSwapped.Length, encryptedBytes, 0); in CalculateGCM()
194 ciphertext = new byte[msgBytesSwapped.Length]; in CalculateGCM()
197 Buffer.BlockCopy(encryptedBytes, 0, ciphertext, 0, msgBytesSwapped.Length); in CalculateGCM()
198 Buffer.BlockCopy(encryptedBytes, msgBytesSwapped.Length, tag, 0, initVectorSize); in CalculateGCM()