RSA_new_private_key_large_e function

  1. @RecordUse.new()
  2. @Native<Pointer<RSA> Function(Pointer<BIGNUM> n, Pointer<BIGNUM> e, Pointer<BIGNUM> d, Pointer<BIGNUM> p, Pointer<BIGNUM> q, Pointer<BIGNUM> dmp1, Pointer<BIGNUM> dmq1, Pointer<BIGNUM> iqmp)>(ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>)>(symbol: 'bssl_dart_RSA_new_private_key_large_e')
Pointer<RSA> RSA_new_private_key_large_e(
  1. Pointer<BIGNUM> n,
  2. Pointer<BIGNUM> e,
  3. Pointer<BIGNUM> d,
  4. Pointer<BIGNUM> p,
  5. Pointer<BIGNUM> q,
  6. Pointer<BIGNUM> dmp1,
  7. Pointer<BIGNUM> dmq1,
  8. Pointer<BIGNUM> iqmp,
)

RSA_new_private_key_large_e behaves like RSA_new_private_key but allows any e up to n.

BoringSSL typically bounds public exponents as a denial-of-service mitigation. Keys created by this function may perform worse than those created by RSA_new_private_key.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Pointer<RSA> Function(
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BIGNUM>,
  )
>(symbol: 'bssl_dart_RSA_new_private_key_large_e')
external ffi.Pointer<RSA> RSA_new_private_key_large_e(
  ffi.Pointer<BIGNUM> n,
  ffi.Pointer<BIGNUM> e,
  ffi.Pointer<BIGNUM> d,
  ffi.Pointer<BIGNUM> p,
  ffi.Pointer<BIGNUM> q,
  ffi.Pointer<BIGNUM> dmp1,
  ffi.Pointer<BIGNUM> dmq1,
  ffi.Pointer<BIGNUM> iqmp,
);