9 references to IsPrime
System.Security.Cryptography (9)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (1)
36
Debug.Assert(parameters.Curve.
IsPrime
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (1)
19
if (curve.
IsPrime
)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (1)
35
if (curve.
IsPrime
)
System\Security\Cryptography\CngAlgorithmCore.cs (1)
100
else if (curve.Value.
IsPrime
)
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
525
Debug.Assert(ecParameters.Curve.
IsPrime
|| ecParameters.Curve.IsCharacteristic2);
560
if (ecParameters.Curve.
IsPrime
)
System\Security\Cryptography\ECCurve.cs (2)
165
return
IsPrime
|| IsCharacteristic2;
212
if (
IsPrime
)
System\Security\Cryptography\Helpers.cs (1)
238
if (aCurve.
IsPrime
)