1 write to blockSize
System.IdentityModel (1)
System\IdentityModel\RijndaelCryptoServiceProvider.cs (1)
75this.blockSize = blockSizeBits / 8;
17 references to blockSize
System.IdentityModel (17)
System\IdentityModel\RijndaelCryptoServiceProvider.cs (17)
144get { return this.blockSize; } 149get { return this.blockSize; } 176if ((inputCount % this.blockSize) != 0) 177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.AESInvalidInputBlockSize, inputCount, this.blockSize))); 199this.depadBuffer = new byte[this.blockSize]; 201int inputToProcess = inputCount - this.blockSize; 202Buffer.BlockCopy(inputBuffer, inputOffset + inputToProcess, this.depadBuffer, 0, this.blockSize); 210int inputToProcess = inputCount - this.blockSize; 211Buffer.BlockCopy(inputBuffer, inputOffset + inputToProcess, this.depadBuffer, 0, this.blockSize); 231int padding = this.blockSize - (inputCount % this.blockSize); 234outputCount += this.blockSize; 301dwCount -= this.blockSize; 325DiagnosticUtility.DebugAssert(padSize <= this.blockSize, "Invalid padding size."); 334int lonelyBytes = dwCount % this.blockSize; 335int padSize = this.blockSize - lonelyBytes; 343int requiredSize = dwCount + padSize + this.blockSize;