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)
96BitHelpers.WriteTo(retVal, ref idx, _validationAlgorithmSubkeyLengthInBytes); 100var tempKeys = new byte[_symmetricAlgorithmSubkeyLengthInBytes + _validationAlgorithmSubkeyLengthInBytes]; 126using (var hashAlg = CreateValidationAlgorithm(new ArraySegment<byte>(tempKeys, _symmetricAlgorithmSubkeyLengthInBytes, _validationAlgorithmSubkeyLengthInBytes).AsStandaloneArray())) 198var validationSubkey = new byte[_validationAlgorithmSubkeyLengthInBytes]; 307var validationSubkey = new byte[_validationAlgorithmSubkeyLengthInBytes];