8 references to WriteTo
Microsoft.AspNetCore.DataProtection (8)
Cng\CbcAuthenticatedEncryptor.cs (4)
517BitHelpers.WriteTo(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes); 518BitHelpers.WriteTo(ref ptr, _symmetricAlgorithmBlockSizeInBytes); 521BitHelpers.WriteTo(ref ptr, _hmacAlgorithmSubkeyLengthInBytes); 522BitHelpers.WriteTo(ref ptr, _hmacAlgorithmDigestLengthInBytes);
Cng\CngGcmAuthenticatedEncryptor.cs (4)
369BitHelpers.WriteTo(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes); 370BitHelpers.WriteTo(ref ptr, NONCE_SIZE_IN_BYTES); 371BitHelpers.WriteTo(ref ptr, TAG_SIZE_IN_BYTES); // block size = tag size 372BitHelpers.WriteTo(ref ptr, TAG_SIZE_IN_BYTES);