4 writes to _mlKem
System.Security.Cryptography (4)
System\Security\Cryptography\HpkeMLKemAdapter.cs (4)
21_mlKem = MLKem.GenerateKey(_algorithm); 32_mlKem = MLKem.ImportPrivateSeed(_algorithm, privateSeed); 55_mlKem = MLKem.ImportPrivateSeed(_algorithm, decapsulationKey); 61_mlKem = MLKem.ImportEncapsulationKey(_algorithm, encapsulationKey);
13 references to _mlKem
System.Security.Cryptography (13)
System\Security\Cryptography\HpkeMLKemAdapter.cs (13)
20Debug.Assert(_mlKem is null); 26Debug.Assert(_mlKem is null); 42Debug.Assert(_mlKem is not null); 43_mlKem.Encapsulate(encapsulatedSecret, sharedSecret); 48Debug.Assert(_mlKem is not null); 49_mlKem.Decapsulate(encapsulatedSecret, sharedSecret); 54Debug.Assert(_mlKem is null); 60Debug.Assert(_mlKem is null); 66Debug.Assert(_mlKem is not null); 67_mlKem.ExportPrivateSeed(destination); 72Debug.Assert(_mlKem is not null); 73_mlKem.ExportEncapsulationKey(destination); 76public override void Dispose() => _mlKem?.Dispose();