1 write to _algorithm
System.Security.Cryptography (1)
System\Security\Cryptography\HpkeMLKemAdapter.cs (1)
15
_algorithm
= GetAlgorithm(suite.KemAlgorithm);
5 references to _algorithm
System.Security.Cryptography (5)
System\Security\Cryptography\HpkeMLKemAdapter.cs (5)
21
_mlKem = MLKem.GenerateKey(
_algorithm
);
32
_mlKem = MLKem.ImportPrivateSeed(
_algorithm
, privateSeed);
55
_mlKem = MLKem.ImportPrivateSeed(
_algorithm
, decapsulationKey);
61
_mlKem = MLKem.ImportEncapsulationKey(
_algorithm
, encapsulationKey);
80
Debug.Assert(privateSeed.Length ==
_algorithm
.PrivateSeedSizeInBytes);