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