crypto_x25519_inverse function
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,
);