1 write to DecapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
26DecapsulationKeySizeInBytes = decapsulationKeySizeInBytes;
12 references to DecapsulationKeySizeInBytes
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
399if (source.Length != algorithm.DecapsulationKeySizeInBytes) 508if (destination.Length != Algorithm.DecapsulationKeySizeInBytes) 511SR.Format(SR.Argument_DestinationImprecise, Algorithm.DecapsulationKeySizeInBytes), 534byte[] decapsulationKey = new byte[Algorithm.DecapsulationKeySizeInBytes]; 1697if (expandedKey.Length != algorithm.DecapsulationKeySizeInBytes) 1706int decapsulationKeySize = algorithm.DecapsulationKeySizeInBytes; 1759int initialSize = Algorithm.DecapsulationKeySizeInBytes + 32; 1789int size = Algorithm.DecapsulationKeySizeInBytes + 32;
src\libraries\Common\src\System\Security\Cryptography\MLKemImplementation.cs (2)
22byte[] rented = CryptoPool.Rent(alg.DecapsulationKeySizeInBytes); 34size = alg.DecapsulationKeySizeInBytes;
src\libraries\Common\src\System\Security\Cryptography\MLKemPkcs8.cs (1)
41int decapsulationKeySize = kem.Algorithm.DecapsulationKeySizeInBytes;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
50Debug.Assert(source.Length == algorithm.DecapsulationKeySizeInBytes);