Skip to main content

sol_big_mod_exp

Function sol_big_mod_exp 

Source
pub unsafe fn sol_big_mod_exp(params: *const u8, result: *mut u8) -> u64
Expand description

Run big integer modular exponentiation.

Returns the Solana runtime status code (0 on success).

ยงSafety

params must point to a BigModExpParams-compatible C layout and result must point to writable storage with exactly the modulus length.