11 references to PrivateSeedSizeInBytes
System.Security.Cryptography (11)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
292if (destination.Length != Algorithm.PrivateSeedSizeInBytes) 295SR.Format(SR.Argument_DestinationImprecise, Algorithm.PrivateSeedSizeInBytes), 318byte[] seed = new byte[Algorithm.PrivateSeedSizeInBytes]; 339/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />. 355if (source.Length != algorithm.PrivateSeedSizeInBytes) 370/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />. 1732if (seed.Length != algorithm.PrivateSeedSizeInBytes) 1752if (both.Seed.Length != algorithm.PrivateSeedSizeInBytes ||
src\libraries\Common\src\System\Security\Cryptography\MLKemImplementation.cs (1)
27size = alg.PrivateSeedSizeInBytes;
src\libraries\Common\src\System\Security\Cryptography\MLKemPkcs8.cs (1)
32int seedSize = kem.Algorithm.PrivateSeedSizeInBytes;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
41Debug.Assert(source.Length == algorithm.PrivateSeedSizeInBytes);