7 writes to P
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
279
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
201
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
Mono.Cecil (1)
Mono.Security.Cryptography\CryptoConvert.cs (1)
102
rsap.
P
= new byte [byteHalfLen];
System.Security.Cryptography (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
43
P
= new byte[halfModulusLength],
System\Security\Cryptography\CapiHelper.Shared.cs (1)
183
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
System\Security\Cryptography\CngHelpers.cs (1)
267
rsaParams.
P
= Interop.BCrypt.Consume(rsaBlob, ref offset, pBcryptBlob->cbPrime1);
System\Security\Cryptography\RSA.Xml.cs (1)
50
P
= p,
25 references to P
Mono.Cecil (2)
Mono.Security.Cryptography\CryptoConvert.cs (2)
103
Buffer.BlockCopy (blob, pos, rsap.
P
, 0, byteHalfLen);
104
Array.Reverse (rsap.
P
);
System.Security.Cryptography (23)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
53
using (PinAndClear.Track(parameters.
P
))
70
key.Prime1.ToUnsignedIntegerBytes(parameters.
P
);
119
rsaParameters.
P
== null ||
137
writer.WriteKeyParameterInteger(rsaParameters.
P
);
System\Security\Cryptography\CapiHelper.Shared.cs (5)
82
if (rsaParameters.
P
!= null)
84
if (rsaParameters.
P
.Length != halfModulusLength)
103
bool isPrivate = (rsaParameters.
P
!= null && rsaParameters.
P
.Length != 0);
130
bw.WriteReversed(rsaParameters.
P
!);
System\Security\Cryptography\CngHelpers.cs (6)
122
if (parameters.
P
!= null ||
135
if (parameters.
P
== null ||
154
parameters.
P
.Length != halfModulusLength ||
181
blobSize += parameters.
P
!.Length +
198
pBcryptBlob->cbPrime1 = parameters.
P
!.Length;
213
Interop.BCrypt.Emit(rsaBlob, ref offset, parameters.
P
!);
System\Security\Cryptography\RSA.cs (4)
858
fixed (byte* pPin = rsaParameters.
P
)
956
fixed (byte* pPin = ret.
P
)
987
fixed (byte* pPin = ret.
P
)
1355
CryptographicOperations.ZeroMemory(rsaParameters.
P
);
System\Security\Cryptography\RSA.Xml.cs (3)
38
byte[]? p = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.
P
), halfN);
118
XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.
P
), keyParameters.
P
, builder);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (1)
237
using (PinAndClear.Track(privateParameters.
P
!))