14 references to BitHelpers
Microsoft.AspNetCore.DataProtection (14)
Cng\CbcAuthenticatedEncryptor.cs (4)
80
BitHelpers
.WriteTo(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes);
81
BitHelpers
.WriteTo(ref ptr, _symmetricAlgorithmBlockSizeInBytes);
84
BitHelpers
.WriteTo(ref ptr, _hmacAlgorithmSubkeyLengthInBytes);
85
BitHelpers
.WriteTo(ref ptr, _hmacAlgorithmDigestLengthInBytes);
Cng\CngGcmAuthenticatedEncryptor.cs (4)
73
BitHelpers
.WriteTo(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes);
74
BitHelpers
.WriteTo(ref ptr, NONCE_SIZE_IN_BYTES);
75
BitHelpers
.WriteTo(ref ptr, TAG_SIZE_IN_BYTES); // block size = tag size
76
BitHelpers
.WriteTo(ref ptr, TAG_SIZE_IN_BYTES);
Managed\ManagedAuthenticatedEncryptor.cs (4)
92
BitHelpers
.WriteTo(retVal, ref idx, _symmetricAlgorithmSubkeyLengthInBytes);
93
BitHelpers
.WriteTo(retVal, ref idx, _symmetricAlgorithmBlockSizeInBytes);
96
BitHelpers
.WriteTo(retVal, ref idx, _validationAlgorithmSubkeyLengthInBytes);
97
BitHelpers
.WriteTo(retVal, ref idx, _validationAlgorithmDigestLengthInBytes);
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (2)
48
BitHelpers
.WriteTo(pbTempInputBitlengthIndicator, checked(cbDerivedKey * 8));
54
BitHelpers
.WriteTo(pbTempInputCounter, i);