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