1 write to DecapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
25DecapsulationKeySizeInBytes = decapsulationKeySizeInBytes;
12 references to DecapsulationKeySizeInBytes
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
414if (source.Length != algorithm.DecapsulationKeySizeInBytes) 523if (destination.Length != Algorithm.DecapsulationKeySizeInBytes) 526SR.Format(SR.Argument_DestinationImprecise, Algorithm.DecapsulationKeySizeInBytes), 549byte[] decapsulationKey = new byte[Algorithm.DecapsulationKeySizeInBytes]; 1741if (expandedKey.Length != algorithm.DecapsulationKeySizeInBytes) 1750int decapsulationKeySize = algorithm.DecapsulationKeySizeInBytes; 1803int initialSize = Algorithm.DecapsulationKeySizeInBytes + 32; 1833int 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);