Function secp256kfun::op::scalar_add [−][src]
pub fn scalar_add<Z1, Z2, S1, S2>(
x: &Scalar<S1, Z1>,
y: &Scalar<S2, Z2>
) -> Scalar<Secret, Zero>
Expand description
Adds two scalars together (modulo the curve order)
pub fn scalar_add<Z1, Z2, S1, S2>(
x: &Scalar<S1, Z1>,
y: &Scalar<S2, Z2>
) -> Scalar<Secret, Zero>
Adds two scalars together (modulo the curve order)