9 writes to X
Microsoft.AspNetCore.Identity (1)
Passkeys\CredentialPublicKey.cs (1)
162ecParams.Q.X = reader.ReadByteString();
System.Security.Cryptography (8)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (3)
252X = Crypto.ExtractBignum(qx_bn, cbKey), 466X = Crypto.ExtractBignum(qx_bn, cbFieldLength), 477X = Crypto.ExtractBignum(gx_bn, cbFieldLength),
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (2)
110X = x, 178X = x,
System\Security\Cryptography\EccKeyFormatHelper.cs (3)
153X = x, 203X = publicKeyBytes.Slice(1, fieldWidth).ToArray(), 422curve.G.X = baseSpan.Slice(1, primeOrPoly.Length).ToArray();
37 references to X
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\CredentialKeyPair.cs (1)
150writer.WriteByteString(parameters.Q.X!);
System.Security.Cryptography (36)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (2)
79curve.G.X!, curve.G.X!.Length,
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (2)
230WriteKey(ecParameters.D, ecParameters.Q.X, ecParameters.Q.Y, _algorithm.CurveOidValue, writer); 327x = ecParameters.Q.X;
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (10)
117parameters.Q.X, parameters.Q.X?.Length ?? 0, 129parameters.Q.X, parameters.Q.X?.Length ?? 0, 135parameters.Curve.G.X!, parameters.Curve.G.X!.Length, 149parameters.Q.X, parameters.Q.X?.Length ?? 0, 155parameters.Curve.G.X!, parameters.Curve.G.X!.Length,
System\Security\Cryptography\EccKeyFormatHelper.cs (5)
746int basePointLength = ecParameters.Curve.G.X!.Length * 2 + 1; 760ecParameters.Curve.G.X.CopyTo(basePointBytes.Slice(1)); 761ecParameters.Curve.G.Y.CopyTo(basePointBytes.Slice(1 + ecParameters.Curve.G.X.Length)); 774WriteUncompressedPublicKey(ecParameters.Q.X!, ecParameters.Q.Y!, writer); 807if (ecParameters.Q.X != null)
System\Security\Cryptography\ECCurve.cs (3)
204G.X == null || G.X.Length != A.Length || 254G.X != null ||
System\Security\Cryptography\ECParameters.cs (5)
36if (D != null && Q.Y is null && Q.X is null) 38if (Q.Y != null && Q.X != null && Q.Y.Length == Q.X.Length) 48else if (Curve.IsNamed && Q.X != null) 52hasErrors = (D != null && (D.Length != Q.X.Length));
System\Security\Cryptography\Helpers.cs (4)
205if (!aParameters.Q.X!.ContentsEqual(bParameters.Q.X!) || 229if (!aCurve.G.X!.ContentsEqual(bCurve.G.X!) ||
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (5)
100Debug.Assert(ecParameters.Q.X!.Length == ecParameters.Q.Y!.Length); 101byte[] uncompressedPoint = new byte[1 + ecParameters.Q.X.Length + ecParameters.Q.Y.Length]; 106Buffer.BlockCopy(ecParameters.Q.X, 0, uncompressedPoint, 1, ecParameters.Q.X.Length); 107Buffer.BlockCopy(ecParameters.Q.Y, 0, uncompressedPoint, 1 + ecParameters.Q.X.Length, ecParameters.Q.Y.Length);