cairo_native_runtime

Function cairo_native__libfunc__ec__ec_point_from_x_nz

Source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__libfunc__ec__ec_point_from_x_nz(
    point_ptr: &mut [[u8; 32]; 2],
) -> bool
Expand description

Compute ec_point_from_x_nz(x) and store it.

§Panics

This function will panic if either operand is out of range for a felt.

§Safety

This function is intended to be called from MLIR, deals with pointers, and is therefore definitely unsafe to use manually.