OQS_KEM_alg_is_enabled function

  1. @Native<Int Function(Pointer<Char>)>(ffi.Pointer<ffi.Char>)>()
int OQS_KEM_alg_is_enabled(
  1. Pointer<Char> method_name
)

Indicates whether the specified algorithm was enabled at compile-time or not.

@paramin method_name Name of the desired algorithm; one of the names in OQS_KEM_algs. @return 1 if enabled, 0 if disabled or not found

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Char>)>()
external int OQS_KEM_alg_is_enabled(ffi.Pointer<ffi.Char> method_name);