EVP_EncryptInit_ex function

  1. @Native<Int Function(Pointer<evp_cipher_ctx_st>, Pointer<evp_cipher_st>, Pointer<engine_st>, Pointer<UnsignedChar>, Pointer<UnsignedChar>)>(ffi.Pointer<evp_cipher_ctx_st>, ffi.Pointer<evp_cipher_st>, ffi.Pointer<engine_st>, ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<ffi.UnsignedChar>)>()
int EVP_EncryptInit_ex(
  1. Pointer<evp_cipher_ctx_st> ctx,
  2. Pointer<evp_cipher_st> cipher,
  3. Pointer<engine_st> impl,
  4. Pointer<UnsignedChar> key,
  5. Pointer<UnsignedChar> iv,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<evp_cipher_ctx_st>,
    ffi.Pointer<evp_cipher_st>,
    ffi.Pointer<engine_st>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Pointer<ffi.UnsignedChar>,
  )
>()
external int EVP_EncryptInit_ex(
  ffi.Pointer<evp_cipher_ctx_st> ctx,
  ffi.Pointer<evp_cipher_st> cipher,
  ffi.Pointer<engine_st> impl,
  ffi.Pointer<ffi.UnsignedChar> key,
  ffi.Pointer<ffi.UnsignedChar> iv,
);