PKCS12_key_gen_uni function

  1. @Native<Int Function(Pointer<UnsignedChar>, Int, Pointer<UnsignedChar>, Int, Int, Int, Int, Pointer<UnsignedChar>, Pointer<evp_md_st>)>(ffi.Pointer<ffi.UnsignedChar>, ffi.Int, ffi.Pointer<ffi.UnsignedChar>, ffi.Int, ffi.Int, ffi.Int, ffi.Int, ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<evp_md_st>)>()
int PKCS12_key_gen_uni(
  1. Pointer<UnsignedChar> pass,
  2. int passlen,
  3. Pointer<UnsignedChar> salt,
  4. int saltlen,
  5. int id,
  6. int iter,
  7. int n,
  8. Pointer<UnsignedChar> out,
  9. Pointer<evp_md_st> md_type,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Int,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Int,
    ffi.Int,
    ffi.Int,
    ffi.Int,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Pointer<evp_md_st>,
  )
>()
external int PKCS12_key_gen_uni(
  ffi.Pointer<ffi.UnsignedChar> pass,
  int passlen,
  ffi.Pointer<ffi.UnsignedChar> salt,
  int saltlen,
  int id,
  int iter,
  int n,
  ffi.Pointer<ffi.UnsignedChar> out,
  ffi.Pointer<evp_md_st> md_type,
);