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