pub unsafe extern "C" fn randomx_calculate_commitment(
    input: *const c_void,
    inputSize: usize,
    hash_in: *const c_void,
    com_out: *mut c_void
)
Expand description

Calculate a RandomX commitment from a RandomX hash and its input.

@param input is a pointer to memory that was hashed. Must not be NULL. @param inputSize is the number of bytes in the input. @param hash_in is the output from randomx_calculate_hash* (RANDOMX_HASH_SIZE bytes). @param com_out is a pointer to memory where the commitment will be stored. Must not be NULL and at least RANDOMX_HASH_SIZE bytes must be available for writing.