9 references to _BlockSizeInBytes
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (9)
44private const int _MinimumCipherTextLengthInBytesNoAuthenticationTag = sizeof(byte) + _BlockSizeInBytes + _BlockSizeInBytes; 153byte[] iv = new byte[_BlockSizeInBytes]; 164int numBlocks = plainText.Length / _BlockSizeInBytes + 1; 170int cipherStartIndex = ivStartIndex + _BlockSizeInBytes; // this is where hmac starts. 173int outputBufSize = sizeof(byte) + authenticationTagLen + iv.Length + (numBlocks*_BlockSizeInBytes); 212count = (numBlocks - 1) * _BlockSizeInBytes; 228hmac.TransformBlock(outBuffer, cipherStartIndex, numBlocks * _BlockSizeInBytes, outBuffer, cipherStartIndex); 268byte[] iv = new byte[_BlockSizeInBytes];