1 write to EncapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
25EncapsulationKeySizeInBytes = encapsulationKeySizeInBytes;
7 references to EncapsulationKeySizeInBytes
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (6)
456if (source.Length != algorithm.EncapsulationKeySizeInBytes) 562if (destination.Length != Algorithm.EncapsulationKeySizeInBytes) 565SR.Format(SR.Argument_DestinationImprecise, Algorithm.EncapsulationKeySizeInBytes), 586byte[] encapsulationKey = new byte[Algorithm.EncapsulationKeySizeInBytes]; 1182if (key.Length != algorithm.EncapsulationKeySizeInBytes) 1623int encapsulationKeySize = Algorithm.EncapsulationKeySizeInBytes;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
59Debug.Assert(source.Length == algorithm.EncapsulationKeySizeInBytes);