Lines Matching refs:m_Iv
121 bit8 m_Iv[nn::crypto::CtrEncryptor128::IV_SIZE]; member in __anonfa52718e0111::Type2
133 nn::crypto::GenerateRandomBytes(m_Iv, sizeof(m_Iv)); in Encrypt()
141 … nn::crypto::CtrEncryptor128::Encrypt(pDst, dstSize, pSrc, srcSize, m_Iv, sizeof(m_Iv), aes); in Encrypt()
152 … nn::crypto::CtrDecryptor128::Decrypt(pDst, dstSize, pSrc, srcSize, m_Iv, sizeof(m_Iv), aes); in Decrypt()
159 NN_COMPILER_ASSERT( CCM_IV_SIZE <= sizeof(m_Iv) ); in EncryptAndGenerate()
160 nn::crypto::GenerateRandomBytes(m_Iv, CCM_IV_SIZE); in EncryptAndGenerate()
170 … m_Mac, pDst, dstSize, NULL, 0, pSrc, srcSize, m_Iv, CCM_IV_SIZE, sizeof(m_Mac), aes); in EncryptAndGenerate()
184 … pDst, dstSize, NULL, 0, pSrc, srcSize, m_Iv, CCM_IV_SIZE, m_Mac, sizeof(m_Mac), aes); in DecryptAndVerify()
199 bit8 m_Iv[nn::crypto::CtrEncryptor128::IV_SIZE]; member in __anonfa52718e0111::Type3
211 nn::crypto::GenerateRandomBytes(m_Iv, sizeof(m_Iv)); in Encrypt()
220 ctr.Initialize(aes, m_Iv, sizeof(m_Iv)); in Encrypt()
255 ctr.Initialize(aes, m_Iv, sizeof(m_Iv)); in Decrypt()
285 NN_COMPILER_ASSERT( CCM_IV_SIZE <= sizeof(m_Iv) ); in EncryptAndGenerate()
286 nn::crypto::GenerateRandomBytes(m_Iv, CCM_IV_SIZE); in EncryptAndGenerate()
295 ccm.Initialize(aes, m_Iv, CCM_IV_SIZE, 0, srcSize, sizeof(m_Mac)); in EncryptAndGenerate()
336 ccm.Initialize(aes, m_Iv, CCM_IV_SIZE, 0, srcSize, sizeof(m_Mac)); in DecryptAndVerify()