2 writes to Cofactor
System.Security.Cryptography (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (1)
288
curve.
Cofactor
= cofactor_cb == 0 ? null : Crypto.ExtractBignum(cofactor_bn, cofactor_cb);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (1)
448
curve.
Cofactor
= specifiedParameters.Cofactor.Value.ToUnsignedIntegerBytes();
11 references to Cofactor
System.Security.Cryptography (11)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (2)
82
curve.
Cofactor
, curve.
Cofactor
!.Length,
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (2)
638
if (ecParameters.Curve.
Cofactor
!= null)
640
writer.WriteIntegerUnsigned(ecParameters.Curve.
Cofactor
);
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (4)
138
parameters.Curve.
Cofactor
, parameters.Curve.
Cofactor
!.Length,
158
parameters.Curve.
Cofactor
, parameters.Curve.
Cofactor
!.Length,
System\Security\Cryptography\ECCurve.cs (3)
207
Cofactor
== null ||
Cofactor
.Length == 0)
257
Cofactor
!= null ||