pub unsafe extern "C" fn ocrypto_curve25519_scalarmult_base_ctx(
    ctx: *mut ocrypto_curve25519_ctx,
    r: *mut u8,
    n: *const u8
)
Expand description

Curve25519 scalar multiplication r = n * basePoint with context.

Given a secret key * n - , the corresponding Curve25519 public key is computed and put into * r - .

  • ctx - Context.
  • r - Resulting curve point.
  • n - Scalar factor.

@remark * r - may be same as * n - .