6 references to ThrowIfDestinationWrongLength
System.Security.Cryptography (6)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (6)
122
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.SignatureSizeInBytes);
305
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.SignatureSizeInBytes);
580
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.SignatureSizeInBytes);
1212
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.PublicKeySizeInBytes);
1254
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.PrivateKeySizeInBytes);
1294
Helpers.
ThrowIfDestinationWrongLength
(destination, Algorithm.PrivateSeedSizeInBytes);