8 writes to G
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (2)
365dsaParams.G = Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbKey); 400dsaParams.G = Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
76ret.G = parms.G.ExportKeyParameter(ret.P.Length); 139ret.G = parms.G.ExportKeyParameter(ret.P.Length);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
194dsaParameters.G = br.ReadReversed(lenP); 225dsaParameters.G = br.ReadReversed(len);
System\Security\Cryptography\DSA.Xml.cs (1)
53G = g,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
193G = (gNode != null) ? Convert.FromBase64String(gNode.InnerText) : null,
16 references to G
System.Security.Cryptography (15)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (5)
25if (parameters.P == null || parameters.Q == null || parameters.G == null || parameters.Y == null) 38if (parameters.G.Length != keySizeInBytes || parameters.Y.Length != keySizeInBytes) 218Interop.BCrypt.Emit(blob, ref offset, parameters.G!); 246parameters.G!.Length + 299Interop.BCrypt.Emit(blob, ref offset, parameters.G);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
255writer.WriteKeyParameterInteger(dsaParameters.G);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (4)
29if (dsaParameters.G == null || dsaParameters.G.Length != dsaParameters.P.Length) 93bw.WriteReversed(dsaParameters.G); 124bw.WriteReversed(dsaParameters.G);
System\Security\Cryptography\DSA.Xml.cs (3)
36byte[] g = ReadRequiredElement(ref state, nameof(DSAParameters.G), p.Length); 111XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.G), keyParameters.G, builder);
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (2)
49if (!currentParameters.G.ContentsEqual(newParameters.G) ||
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
102gElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.G!)));