crypto_x25519_inverse function

  1. @Native<Void Function(Pointer<Uint8>, Pointer<Uint8>, Pointer<Uint8>)>(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>)>()
void crypto_x25519_inverse(
  1. Pointer<Uint8> blind_salt,
  2. Pointer<Uint8> private_key,
  3. Pointer<Uint8> curve_point
)

scalar "division" Used for OPRF. Be aware that exponential blinding is less secure than Diffie-Hellman key exchange.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
  )
>()
external void crypto_x25519_inverse(
  ffi.Pointer<ffi.Uint8> blind_salt,
  ffi.Pointer<ffi.Uint8> private_key,
  ffi.Pointer<ffi.Uint8> curve_point,
);