OQS_KEM_decaps function

OQS_STATUS OQS_KEM_decaps(
  1. Pointer<OQS_KEM> kem,
  2. Pointer<Uint8> shared_secret,
  3. Pointer<Uint8> ciphertext,
  4. Pointer<Uint8> secret_key,
)

Implementation

OQS_STATUS OQS_KEM_decaps(
  ffi.Pointer<OQS_KEM> kem,
  ffi.Pointer<ffi.Uint8> shared_secret,
  ffi.Pointer<ffi.Uint8> ciphertext,
  ffi.Pointer<ffi.Uint8> secret_key,
) => OQS_STATUS.fromValue(
  _OQS_KEM_decaps(kem, shared_secret, ciphertext, secret_key),
);