3 writes to D
System.Security.Cryptography (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (2)
158parameters.D = d_cb == 0 ? null : Crypto.ExtractBignum(d_bn, cbKey); 265parameters.D = d_cb == 0 ? null : Crypto.ExtractBignum(d_h, cbSubgroupOrder);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (1)
177D = key.PrivateKey.ToArray(),
38 references to D
System.Security.Cryptography (38)
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (2)
497if (ecParameters.D == null) 837writer.WriteOctetString(ecParameters.D);
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (11)
78bool hasPrivateKey = (parameters.D != null); 98bool hasPrivateKey = (parameters.D != null); 119parameters.D, parameters.D == null ? 0 : parameters.D.Length); 131parameters.D, parameters.D == null ? 0 : parameters.D.Length, 151parameters.D, parameters.D == null ? 0 : parameters.D.Length,
System\Security\Cryptography\ECAlgorithm.cs (18)
143fixed (byte* privPtr = ecParameters.D) 158CryptographicOperations.ZeroMemory(ecParameters.D); 215fixed (byte* privPtr = ecParameters.D) 230CryptographicOperations.ZeroMemory(ecParameters.D); 261fixed (byte* privPtr = ecParameters.D) 270CryptographicOperations.ZeroMemory(ecParameters.D); 373fixed (byte* privPin = ret.D) 382CryptographicOperations.ZeroMemory(ret.D); 447fixed (byte* privPin = ret.D) 456CryptographicOperations.ZeroMemory(ret.D); 506fixed (byte* privPin = key.D) 515CryptographicOperations.ZeroMemory(key.D); 598fixed (byte* privPin = ecParameters.D) 607CryptographicOperations.ZeroMemory(ecParameters.D); 619fixed (byte* privPin = ecParameters.D) 628CryptographicOperations.ZeroMemory(ecParameters.D); 655fixed (byte* privPin = ecParameters.D) 664CryptographicOperations.ZeroMemory(ecParameters.D);
System\Security\Cryptography\ECParameters.cs (5)
36if (D != null && Q.Y is null && Q.X is null) 46hasErrors = (D != null && (D.Length != Curve.Order!.Length)); 52hasErrors = (D != null && (D.Length != Q.X.Length));
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
651using (PinAndClear.Track(ecParameters.D!)) 671using (PinAndClear.Track(ecParameters.D!))