5 writes to DP
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
281rsaParameters.DP = br.ReadReversed(halfModulusLength);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
203rsaParameters.DP = br.ReadReversed(halfModulusLength);
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
59DP = new byte[halfModulusLength],
System\Security\Cryptography\CapiHelper.Shared.cs (1)
185rsaParameters.DP = br.ReadReversed(halfModulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
52DP = dp,
19 references to DP
Microsoft.CodeAnalysis.UnitTests (2)
CryptoBlobParserTests.cs (2)
50AssertEx.Equal(expectedDP, privKey.DP); 93AssertEx.Equal(expectedDP, privKey.DP);
System.Security.Cryptography (17)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
69using (PinAndClear.Track(parameters.DP)) 86key.Exponent1.ToUnsignedIntegerBytes(parameters.DP); 146rsaParameters.DP == null || 164writer.WriteKeyParameterInteger(rsaParameters.DP);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
679parameters.DP != null || 690parameters.DP == null ||
System\Security\Cryptography\CapiHelper.Shared.cs (3)
90if (rsaParameters.DP == null || rsaParameters.DP.Length != halfModulusLength) 132bw.WriteReversed(rsaParameters.DP!);
System\Security\Cryptography\RSA.cs (4)
860fixed (byte* dpPin = rsaParameters.DP) 978fixed (byte* dpPin = ret.DP) 1009fixed (byte* dpPin = ret.DP) 1377CryptographicOperations.ZeroMemory(rsaParameters.DP);
System\Security\Cryptography\RSA.Xml.cs (3)
40byte[]? dp = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DP), halfN); 120XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DP), keyParameters.DP, builder);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
776using (PinAndClear.Track(rsaParameters.DP!))