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