8 references to WriteTo
Microsoft.AspNetCore.DataProtection (8)
Cng\CbcAuthenticatedEncryptor.cs (4)
505
BitHelpers.
WriteTo
(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes);
506
BitHelpers.
WriteTo
(ref ptr, _symmetricAlgorithmBlockSizeInBytes);
509
BitHelpers.
WriteTo
(ref ptr, _hmacAlgorithmSubkeyLengthInBytes);
510
BitHelpers.
WriteTo
(ref ptr, _hmacAlgorithmDigestLengthInBytes);
Cng\CngGcmAuthenticatedEncryptor.cs (4)
379
BitHelpers.
WriteTo
(ref ptr, _symmetricAlgorithmSubkeyLengthInBytes);
380
BitHelpers.
WriteTo
(ref ptr, NONCE_SIZE_IN_BYTES);
381
BitHelpers.
WriteTo
(ref ptr, TAG_SIZE_IN_BYTES); // block size = tag size
382
BitHelpers.
WriteTo
(ref ptr, TAG_SIZE_IN_BYTES);