Edit

Share via


MLKem.DecapsulateCore(ReadOnlySpan<Byte>, Span<Byte>) Method

Definition

When overridden in a derived class, decapsulates a shared secret from a provided ciphertext.

protected:
 abstract void DecapsulateCore(ReadOnlySpan<System::Byte> ciphertext, Span<System::Byte> sharedSecret);
protected abstract void DecapsulateCore(ReadOnlySpan<byte> ciphertext, Span<byte> sharedSecret);
abstract member DecapsulateCore : ReadOnlySpan<byte> * Span<byte> -> unit
Protected MustOverride Sub DecapsulateCore (ciphertext As ReadOnlySpan(Of Byte), sharedSecret As Span(Of Byte))

Parameters

ciphertext
ReadOnlySpan<Byte>

The ciphertext.

sharedSecret
Span<Byte>

The buffer to receive the shared secret.

Exceptions

An error occurred during decapsulation.

Applies to