15 references to BitsPerByte
System.Security.Cryptography (15)
System\Security\Cryptography\AesImplementation.cs (13)
22Span<byte> key = stackalloc byte[KeySize / BitsPerByte]; 86IV = RandomNumberGenerator.GetBytes(BlockSize / BitsPerByte); 91Span<byte> key = stackalloc byte[KeySize / BitsPerByte]; 212(BlockSizeBytes: BlockSize / BitsPerByte, FeedbackSizeBytes: feedbackSizeInBits / BitsPerByte), 243(BlockSizeBytes: BlockSize / BitsPerByte, FeedbackSizeBytes: feedbackSizeInBits / BitsPerByte), 271long keySize = rgbKey.Length * (long)BitsPerByte; 277long ivSize = rgbIV.Length * (long)BitsPerByte; 292BlockSize / BitsPerByte, 294FeedbackSize / BitsPerByte, 330int blockSizeBytes = BlockSize / BitsPerByte; 348KeySizeValue = checked(BitsPerByte * key.Length);
System\Security\Cryptography\AesImplementation.Windows.cs (2)
54BlockSize / BitsPerByte, 77BlockSize / BitsPerByte,