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