BIO_set_cipher function

  1. @Native<Int Function(Pointer<bio_st>, Pointer<evp_cipher_st>, Pointer<UnsignedChar>, Pointer<UnsignedChar>, Int)>(ffi.Pointer<bio_st>, ffi.Pointer<evp_cipher_st>, ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<ffi.UnsignedChar>, ffi.Int)>()
int BIO_set_cipher(
  1. Pointer<bio_st> b,
  2. Pointer<evp_cipher_st> c,
  3. Pointer<UnsignedChar> k,
  4. Pointer<UnsignedChar> i,
  5. int enc,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<bio_st>,
    ffi.Pointer<evp_cipher_st>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Int,
  )
>()
external int BIO_set_cipher(
  ffi.Pointer<bio_st> b,
  ffi.Pointer<evp_cipher_st> c,
  ffi.Pointer<ffi.UnsignedChar> k,
  ffi.Pointer<ffi.UnsignedChar> i,
  int enc,
);