src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (7)
114SR.Format(SR.Argument_DestinationImprecise, Algorithm.CiphertextSizeInBytes),
121SR.Format(SR.Argument_DestinationImprecise, Algorithm.SharedSecretSizeInBytes),
211SR.Format(SR.Argument_DestinationImprecise, Algorithm.SharedSecretSizeInBytes),
294SR.Format(SR.Argument_DestinationImprecise, Algorithm.PrivateSeedSizeInBytes),
525SR.Format(SR.Argument_DestinationImprecise, Algorithm.DecapsulationKeySizeInBytes),
579SR.Format(SR.Argument_DestinationImprecise, Algorithm.EncapsulationKeySizeInBytes),
1673throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(MLKem)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (2)
595SR.Format(
613SR.Format(
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (1)
322SR.Format(
System\Security\Cryptography\HKDF.cs (7)
57throw new ArgumentException(SR.Format(SR.Cryptography_Prk_TooSmall, hashLength), nameof(prk));
92throw new ArgumentException(SR.Format(SR.Cryptography_Prk_TooSmall, hashLength), nameof(prk));
98throw new ArgumentOutOfRangeException(nameof(outputLength), SR.Format(SR.Cryptography_Okm_TooLarge, maxOkmLength));
126throw new ArgumentException(SR.Format(SR.Cryptography_Prk_TooSmall, hashLength), nameof(prk));
131throw new ArgumentException(SR.Format(SR.Cryptography_Okm_TooLarge, maxOkmLength), nameof(output));
159throw new ArgumentOutOfRangeException(nameof(outputLength), SR.Format(SR.Cryptography_Okm_TooLarge, maxOkmLength));
185throw new ArgumentException(SR.Format(SR.Cryptography_Okm_TooLarge, maxOkmLength), nameof(output));