7 writes to Seed
System.Security.Cryptography (6)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (3)
360
dsaParams.
Seed
= Interop.BCrypt.Consume(dsaBlob, ref offset, Sha1HashOutputSize);
397
dsaParams.
Seed
= Interop.BCrypt.Consume(dsaBlob, ref offset, pBcryptBlob->cbSeedLength);
412
dsaParams.
Seed
= null;
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
327
dsaParameters.
Seed
= br.ReadReversed(20);
332
dsaParameters.
Seed
= null;
System\Security\Cryptography\DSA.Xml.cs (1)
56
Seed
= seed,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
196
Seed
= (seedNode != null) ? Convert.FromBase64String(seedNode.InnerText) : null,
21 references to Seed
System.Security.Cryptography (19)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (8)
193
if (parameters.
Seed
!= null)
196
if (parameters.
Seed
.Length != Sha1HashOutputSize)
200
Interop.BCrypt.Emit(blob, ref offset, parameters.
Seed
);
243
(parameters.
Seed
== null ? parameters.Q!.Length : parameters.
Seed
.Length) + // Use Q size if Seed is not present
277
if (parameters.
Seed
!= null)
281
pBcryptBlob->cbSeedLength = parameters.
Seed
.Length;
283
Interop.BCrypt.Emit(blob, ref offset, parameters.
Seed
);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (5)
42
if (dsaParameters.
Seed
!= null && dsaParameters.
Seed
.Length != 20)
339
if (dsaParameters.
Seed
== null || dsaParameters.
Seed
.Length == 0)
352
bw.WriteReversed(dsaParameters.
Seed
);
System\Security\Cryptography\DSA.Xml.cs (6)
39
byte[]? seed = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.
Seed
));
63
if (dsaParameters.
Seed
== null)
71
nameof(DSAParameters.
Seed
)));
119
if (keyParameters.
Seed
!= null)
121
XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.
Seed
), keyParameters.
Seed
, builder);
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\DSAKeyValue.cs (2)
117
if (dsaParams.
Seed
!= null)
120
seedElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.
Seed
)));