EVP_OpenInit function

  1. @Native<Int Function(Pointer<evp_cipher_ctx_st>, Pointer<evp_cipher_st>, Pointer<UnsignedChar>, Int, Pointer<UnsignedChar>, Pointer<evp_pkey_st>)>(ffi.Pointer<evp_cipher_ctx_st>, ffi.Pointer<evp_cipher_st>, ffi.Pointer<ffi.UnsignedChar>, ffi.Int, ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<evp_pkey_st>)>()
int EVP_OpenInit(
  1. Pointer<evp_cipher_ctx_st> ctx,
  2. Pointer<evp_cipher_st> type,
  3. Pointer<UnsignedChar> ek,
  4. int ekl,
  5. Pointer<UnsignedChar> iv,
  6. Pointer<evp_pkey_st> priv,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<evp_cipher_ctx_st>,
    ffi.Pointer<evp_cipher_st>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Int,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Pointer<evp_pkey_st>,
  )
>()
external int EVP_OpenInit(
  ffi.Pointer<evp_cipher_ctx_st> ctx,
  ffi.Pointer<evp_cipher_st> type,
  ffi.Pointer<ffi.UnsignedChar> ek,
  int ekl,
  ffi.Pointer<ffi.UnsignedChar> iv,
  ffi.Pointer<evp_pkey_st> priv,
);