1 write to _validationAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedAuthenticatedEncryptor.cs (1)
59
_validationAlgorithmSubkeyLengthInBytes
= _validationAlgorithmDigestLengthInBytes; // for simplicity we'll generate MAC subkeys with a length equal to the digest length
5 references to _validationAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (5)
Managed\ManagedAuthenticatedEncryptor.cs (5)
96
BitHelpers.WriteTo(retVal, ref idx,
_validationAlgorithmSubkeyLengthInBytes
);
100
var tempKeys = new byte[_symmetricAlgorithmSubkeyLengthInBytes +
_validationAlgorithmSubkeyLengthInBytes
];
126
using (var hashAlg = CreateValidationAlgorithm(new ArraySegment<byte>(tempKeys, _symmetricAlgorithmSubkeyLengthInBytes,
_validationAlgorithmSubkeyLengthInBytes
).AsStandaloneArray()))
198
var validationSubkey = new byte[
_validationAlgorithmSubkeyLengthInBytes
];
307
var validationSubkey = new byte[
_validationAlgorithmSubkeyLengthInBytes
];