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