Function p256_cortex_m4_sys::p256_scalarmult_base [−][src]
pub unsafe extern "C" fn p256_scalarmult_base(
result_x: *mut u32,
result_y: *mut u32,
scalar: *const u32
) -> bool
Raw scalar multiplication by the base point of the elliptic curve.
This function can be used to implement custom algorithms using the P-256 curve.
This function validates that the scalar lies in the accepted range 1 to n-1, where n is the order of the elliptic curve, and returns true only if this validation succeeds. Otherwise false is returned.