1 write to _hmacAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (1)
Cng\CbcAuthenticatedEncryptor.cs (1)
49
_hmacAlgorithmSubkeyLengthInBytes
= _hmacAlgorithmDigestLengthInBytes; // for simplicity we'll generate HMAC subkeys with a length equal to the digest length
7 references to _hmacAlgorithmSubkeyLengthInBytes
Microsoft.AspNetCore.DataProtection (7)
Cng\CbcAuthenticatedEncryptor.cs (7)
84
BitHelpers.WriteTo(ref ptr,
_hmacAlgorithmSubkeyLengthInBytes
);
88
var tempKeys = new byte[_symmetricAlgorithmSubkeyLengthInBytes +
_hmacAlgorithmSubkeyLengthInBytes
];
126
using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey,
_hmacAlgorithmSubkeyLengthInBytes
))
164
var cbTempSubkeys = checked(_symmetricAlgorithmSubkeyLengthInBytes +
_hmacAlgorithmSubkeyLengthInBytes
);
184
using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey,
_hmacAlgorithmSubkeyLengthInBytes
))
306
var cbTempSubkeys = checked(_symmetricAlgorithmSubkeyLengthInBytes +
_hmacAlgorithmSubkeyLengthInBytes
);
368
using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey,
_hmacAlgorithmSubkeyLengthInBytes
))