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