1 write to _symmetricAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedAuthenticatedEncryptor.cs (1)
51
_symmetricAlgorithmSubkeyLengthInBytes
= symmetricAlgorithmKeySizeInBytes;
7 references to _symmetricAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (7)
Managed\ManagedAuthenticatedEncryptor.cs (7)
64
AlgorithmAssert.IsAllowableSymmetricAlgorithmKeySize(checked((uint)
_symmetricAlgorithmSubkeyLengthInBytes
* 8));
92
BitHelpers.WriteTo(retVal, ref idx,
_symmetricAlgorithmSubkeyLengthInBytes
);
100
var tempKeys = new byte[
_symmetricAlgorithmSubkeyLengthInBytes
+ _validationAlgorithmSubkeyLengthInBytes];
114
rgbKey: new ArraySegment<byte>(tempKeys, 0,
_symmetricAlgorithmSubkeyLengthInBytes
).AsStandaloneArray(),
126
using (var hashAlg = CreateValidationAlgorithm(new ArraySegment<byte>(tempKeys,
_symmetricAlgorithmSubkeyLengthInBytes
, _validationAlgorithmSubkeyLengthInBytes).AsStandaloneArray()))
197
var decryptionSubkey = new byte[
_symmetricAlgorithmSubkeyLengthInBytes
];
306
var encryptionSubkey = new byte[
_symmetricAlgorithmSubkeyLengthInBytes
];