6 writes to X
System.Security.Cryptography (6)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (2)
369
dsaParams.
X
= Interop.BCrypt.Consume(dsaBlob, ref offset, Sha1HashOutputSize);
404
dsaParams.
X
= Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbGroupSize);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
77
ret.
X
= x.ExportKeyParameter(ret.Q.Length);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
205
dsaParameters.
X
= br.ReadReversed(lenX);
232
dsaParameters.
X
= br.ReadReversed(20);
System\Security\Cryptography\DSA.Xml.cs (1)
58
X
= x,
25 references to X
System.Security.Cryptography (25)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (5)
33
bool hasPrivateKey = parameters.
X
!= null;
41
if (hasPrivateKey && parameters.
X
!.Length != parameters.Q.Length)
222
Interop.BCrypt.Emit(blob, ref offset, parameters.
X
!);
248
(includePrivateParameters ? parameters.
X
!.Length : 0);
304
Interop.BCrypt.Emit(blob, ref offset, parameters.
X
!);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
237
WriteKeyComponent(writer, dsaParameters.
X
, bitString: false);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (6)
45
bool isPrivate = (dsaParameters.
X
!= null && dsaParameters.
X
.Length > 0);
48
if (isPrivate && dsaParameters.
X
!.Length != DSS_Q_LEN)
86
bw.Write((uint)dsaParameters.
X
!.Length * 8);
104
bw.WriteReversed(dsaParameters.
X
!);
128
bw.WriteReversed(dsaParameters.
X
!);
System\Security\Cryptography\DSA.cs (8)
986
fixed (byte* privPin = dsaParameters.
X
)
994
CryptographicOperations.ZeroMemory(dsaParameters.
X
);
1016
fixed (byte* privPin = ret.
X
)
1024
CryptographicOperations.ZeroMemory(ret.
X
);
1042
fixed (byte* privPin = ret.
X
)
1050
CryptographicOperations.ZeroMemory(ret.
X
);
1066
fixed (byte* privPin = key.
X
)
1074
CryptographicOperations.ZeroMemory(key.
X
);
System\Security\Cryptography\DSA.Xml.cs (4)
41
byte[]? x = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.
X
), q.Length);
130
ArgumentNullException.ThrowIfNull(keyParameters.
X
, "inArray");
132
XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.
X
), keyParameters.
X
, builder);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (1)
136
using (PinAndClear.Track(privateParameters.
X
!))