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)
50
Debug.Assert(
_mlkemAlgorithm
.SharedSecretSizeInBytes == MLKemSharedSecretSize);
96
int mlkemCiphertextSize =
_mlkemAlgorithm
.CiphertextSizeInBytes;
147
int mlkemCiphertextSize =
_mlkemAlgorithm
.CiphertextSizeInBytes;
195
int mlkemEncapsulationKeySize =
_mlkemAlgorithm
.EncapsulationKeySizeInBytes;
198
MLKem mlkem = MLKem.ImportEncapsulationKey(
_mlkemAlgorithm
, mlkemKey);
229
int mlkemEncapsulationKeySize =
_mlkemAlgorithm
.EncapsulationKeySizeInBytes;
271
int expandedSeedSize = checked(
_mlkemAlgorithm
.PrivateSeedSizeInBytes + _traditionalSeedSizeInBytes);
280
ReadOnlySpan<byte> mlkemSeed = expandedSeed.Slice(0,
_mlkemAlgorithm
.PrivateSeedSizeInBytes);
281
ReadOnlySpan<byte> traditionalSeed = expandedSeed.Slice(
_mlkemAlgorithm
.PrivateSeedSizeInBytes);
283
MLKem mlkem = MLKem.ImportPrivateSeed(
_mlkemAlgorithm
, mlkemSeed);