2 writes to Cofactor
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (1)
209
primeCurve.
Cofactor
= Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbCofactor);
System\Security\Cryptography\EccKeyFormatHelper.cs (1)
434
curve.
Cofactor
= specifiedParameters.Cofactor.ToUnsignedIntegerBytes();
11 references to Cofactor
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (6)
65
curve.
Cofactor
!.Length +
84
pBcryptBlob->cbCofactor = curve.
Cofactor
.Length;
99
Interop.BCrypt.Emit(blob, ref offset, curve.
Cofactor
);
250
curve.
Cofactor
!.Length +
259
pBcryptBlob->cbCofactor = curve.
Cofactor
.Length;
274
Interop.BCrypt.Emit(blob, ref offset, curve.
Cofactor
);
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
617
if (ecParameters.Curve.
Cofactor
!= null)
619
writer.WriteIntegerUnsigned(ecParameters.Curve.
Cofactor
);
System\Security\Cryptography\ECCurve.cs (3)
207
Cofactor
== null ||
Cofactor
.Length == 0)
257
Cofactor
!= null ||