8 writes to P
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (2)
364
dsaParams.
P
= Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbKey);
399
dsaParams.
P
= Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
72
P
= parms.P.ToByteArray(isUnsigned: true, isBigEndian: true),
135
P
= parms.P.ToByteArray(isUnsigned: true, isBigEndian: true),
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
192
dsaParameters.
P
= br.ReadReversed(lenP);
223
dsaParameters.
P
= br.ReadReversed(len);
System\Security\Cryptography\DSA.Xml.cs (1)
51
P
= p,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
191
P
= (pNode != null) ? Convert.FromBase64String(pNode.InnerText) : null,
27 references to P
System.Security.Cryptography (26)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (6)
25
if (parameters.
P
== null || parameters.Q == null || parameters.G == null || parameters.Y == null)
30
if (parameters.J != null && parameters.J.Length >= parameters.
P
.Length)
35
int keySizeInBytes = parameters.
P
.Length;
217
Interop.BCrypt.Emit(blob, ref offset, parameters.
P
!);
245
parameters.
P
!.Length +
298
Interop.BCrypt.Emit(blob, ref offset, parameters.
P
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (5)
76
ret.G = parms.G.ExportKeyParameter(ret.
P
.Length);
81
ret.Y = y.ExportKeyParameter(ret.
P
.Length);
139
ret.G = parms.G.ExportKeyParameter(ret.
P
.Length);
140
ret.Y = y.ExportKeyParameter(ret.
P
.Length);
253
writer.WriteKeyParameterInteger(dsaParameters.
P
);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (8)
25
if (dsaParameters.
P
== null || dsaParameters.
P
.Length == 0 || dsaParameters.Q == null || dsaParameters.Q.Length != DSS_Q_LEN)
29
if (dsaParameters.G == null || dsaParameters.G.Length != dsaParameters.
P
.Length)
34
if (dsaParameters.J != null && dsaParameters.J.Length >= dsaParameters.
P
.Length)
38
if (dsaParameters.Y != null && dsaParameters.Y.Length != dsaParameters.
P
.Length)
51
uint bitLenP = (uint)dsaParameters.
P
.Length * 8;
91
bw.WriteReversed(dsaParameters.
P
);
122
bw.WriteReversed(dsaParameters.
P
);
System\Security\Cryptography\DSA.Xml.cs (5)
34
byte[] p = ReadRequiredElement(ref state, nameof(DSAParameters.
P
));
106
Debug.Assert(keyParameters.
P
!= null);
107
StringBuilder builder = new StringBuilder((keyParameters.
P
.Length << 1) / 3);
109
XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.
P
), keyParameters.
P
, builder);
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (2)
50
!currentParameters.
P
.ContentsEqual(newParameters.
P
) ||
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
94
pElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.
P
!)));