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