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