11 references to PrivateSeedSizeInBytes
System.Security.Cryptography (11)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
277if (destination.Length != Algorithm.PrivateSeedSizeInBytes) 280SR.Format(SR.Argument_DestinationImprecise, Algorithm.PrivateSeedSizeInBytes), 303byte[] seed = new byte[Algorithm.PrivateSeedSizeInBytes]; 324/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />. 340if (source.Length != algorithm.PrivateSeedSizeInBytes) 355/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />. 1688if (seed.Length != algorithm.PrivateSeedSizeInBytes) 1708if (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);