SimpleTranscript

Git Source

Functions

simple_fiat_shamir_rng

Simple fiat shamir rng

function simple_fiat_shamir_rng(Transcript memory self) internal pure returns (Transcript memory);

set_protocol_params

function set_protocol_params(Transcript memory self, bytes memory domain, bytes memory kzg_vk) internal pure;

set_keyset_commitment

function set_keyset_commitment(Transcript memory self, bytes memory keyset_commitment) internal pure;

append_public_input

function append_public_input(Transcript memory self, bytes memory public_input) internal pure;

append_register_commitments

function append_register_commitments(Transcript memory self, bytes memory register_commitments) internal pure;

get_bitmask_aggregation_challenge

function get_bitmask_aggregation_challenge(Transcript memory self) internal pure returns (Bw6Fr memory);

append_2nd_round_register_commitments

function append_2nd_round_register_commitments(Transcript memory self, bytes memory register_commitments)
    internal
    pure;

get_constraints_aggregation_challenge

function get_constraints_aggregation_challenge(Transcript memory self) internal pure returns (Bw6Fr memory);

append_quotient_commitment

function append_quotient_commitment(Transcript memory self, bytes memory point) internal pure;

get_evaluation_point

function get_evaluation_point(Transcript memory self) internal pure returns (Bw6Fr memory);

append_evaluations

function append_evaluations(
    Transcript memory self,
    bytes memory evals,
    bytes memory q_at_zeta,
    bytes memory r_at_zeta_omega
) internal pure;

get_kzg_aggregation_challenges

function get_kzg_aggregation_challenges(Transcript memory self, uint256 n) internal pure returns (Bw6Fr[] memory);

init

function init(bytes memory message) internal pure returns (Transcript memory);

update

function update(Transcript memory self, bytes memory message) internal pure;

reset

function reset(Transcript memory self) internal pure;

finalize

function finalize(Transcript memory self) internal pure returns (bytes16);

_get_128_bit_challenge

function _get_128_bit_challenge(Transcript memory self, bytes memory label) internal pure returns (Bw6Fr memory);

_get_128_bit_challenges

function _get_128_bit_challenges(Transcript memory self, bytes memory label, uint256 n)
    internal
    pure
    returns (Bw6Fr[] memory);

_append_serializable

function _append_serializable(Transcript memory self, bytes memory label, bytes memory message) internal pure;

rand_u128

function rand_u128(Transcript memory self) internal pure returns (Bw6Fr memory);