5 references to KEY_MODIFIER_SIZE_IN_BYTES
Microsoft.AspNetCore.DataProtection (5)
Managed\ManagedAuthenticatedEncryptor.cs (5)
165
if (protectedPayload.Count < checked(
KEY_MODIFIER_SIZE_IN_BYTES
+ _symmetricAlgorithmBlockSizeInBytes + _validationAlgorithmDigestLengthInBytes))
185
ivOffset = keyModifierOffset +
KEY_MODIFIER_SIZE_IN_BYTES
;
292
var keyModifier = _genRandom.GenRandom(
KEY_MODIFIER_SIZE_IN_BYTES
);
349
var mac = validationAlgorithm.ComputeHash(underlyingBuffer,
KEY_MODIFIER_SIZE_IN_BYTES
, checked((int)outputStream.Length -
KEY_MODIFIER_SIZE_IN_BYTES
));