2 writes to _mlkemAlgorithm
System.Security.Cryptography (2)
System\Security\Cryptography\HpkeHybridMLKemAdapter.cs (2)
28_mlkemAlgorithm = MLKemAlgorithm.MLKem768; 37_mlkemAlgorithm = MLKemAlgorithm.MLKem1024;
10 references to _mlkemAlgorithm
System.Security.Cryptography (10)
System\Security\Cryptography\HpkeHybridMLKemAdapter.cs (10)
50Debug.Assert(_mlkemAlgorithm.SharedSecretSizeInBytes == MLKemSharedSecretSize); 96int mlkemCiphertextSize = _mlkemAlgorithm.CiphertextSizeInBytes; 147int mlkemCiphertextSize = _mlkemAlgorithm.CiphertextSizeInBytes; 195int mlkemEncapsulationKeySize = _mlkemAlgorithm.EncapsulationKeySizeInBytes; 198MLKem mlkem = MLKem.ImportEncapsulationKey(_mlkemAlgorithm, mlkemKey); 229int mlkemEncapsulationKeySize = _mlkemAlgorithm.EncapsulationKeySizeInBytes; 271int expandedSeedSize = checked(_mlkemAlgorithm.PrivateSeedSizeInBytes + _traditionalSeedSizeInBytes); 280ReadOnlySpan<byte> mlkemSeed = expandedSeed.Slice(0, _mlkemAlgorithm.PrivateSeedSizeInBytes); 281ReadOnlySpan<byte> traditionalSeed = expandedSeed.Slice(_mlkemAlgorithm.PrivateSeedSizeInBytes); 283MLKem mlkem = MLKem.ImportPrivateSeed(_mlkemAlgorithm, mlkemSeed);