cairo_native_runtime

Function cairo_native__libfunc__hades_permutation

Source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__libfunc__hades_permutation(
    op0: &mut [u8; 32],
    op1: &mut [u8; 32],
    op2: &mut [u8; 32],
)
Expand description

Compute hades_permutation(op0, op1, op2) and replace the operands with the results.

All operands need the values in big endian.

§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.