Function nrfxlib_sys::ocrypto_curve25519_scalarmult_base
source · pub unsafe extern "C" fn ocrypto_curve25519_scalarmult_base(
r: *mut u8,
n: *const u8
)
Expand description
Curve25519 scalar multiplication r = n * basePoint
.
Given a secret key * n
- , the corresponding Curve25519 public key is computed
and put into * r
- .
r
- Resulting curve point.n
- Scalar factor.
@remark * r
- may be same as * n
- .