MCPcopy Create free account

hub / github.com/andrewmilson/sandstorm / functions

Functions239 in github.com/andrewmilson/sandstorm

Methodderef
(&self)
builtins/src/bitwise/mod.rs:88
Methodderef
(&self)
binary/src/lib.rs:167
Functiondeserialize_big_uint
Deserializes a JSON big integer This deserializer uses serde_json's arbitrary precision features to convert large numbers to a string and then convert
binary/src/utils.rs:69
Functiondeserialize_hex_str_as_field_element
Deserializes a hex string into a field element
binary/src/utils.rs:22
Functiondeserialize_hex_str_memory_entries
Deserializes a list of memory entries of the form `{value: "0x...", address: ...}`
binary/src/utils.rs:37
Functiondeserialize_vec_hex_str
Deserializes a list of hex strings into a list of big integers
binary/src/utils.rs:53
Methoddeserialize_with_mode
( mut reader: R, compress: ark_serialize::Compress, validate: ark_serialize::Validate,
crypto/src/merkle/mod.rs:222
Methoddeserialize_with_mode
( mut reader: R, compress: ark_serialize::Compress, validate: ark_serialize::Validate,
crypto/src/merkle/mixed.rs:89
Methoddeserialize_with_mode
( reader: R, compress: ark_serialize::Compress, validate: ark_serialize::Validate,
binary/src/lib.rs:136
Functiondilute
Dilutes input v by interspersing `SPACING - 1` many 0s between bits E.g. `SPACING=4, v=0b1111, diluted_v=0001000100010001`
builtins/src/bitwise/mod.rs:127
Functiondilute_works
()
builtins/src/bitwise/mod.rs:141
Methoddraw
(&mut self)
crypto/src/public_coin/solidity.rs:88
Functiondraw_matches_solidity_verifier
()
crypto/src/public_coin/solidity.rs:173
Methoddraw_queries
(&mut self, max_n: usize, domain_size: usize)
crypto/src/public_coin/cairo.rs:108
Methoddraw_queries
(&mut self, max_n: usize, domain_size: usize)
crypto/src/public_coin/solidity.rs:99
Functionfield_bytes
Calculates the number of bytes per field element the same way as StarkWare's runner
binary/src/utils.rs:88
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crypto/src/public_coin/cairo.rs:33
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crypto/src/public_coin/solidity.rs:27
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crypto/src/hash/pedersen.rs:18
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
binary/src/errors.rs:12
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
binary/src/lib.rs:73
Functionfriendly_merkle_tree_with_multi_row_decommitment
()
crypto/src/merkle/mod.rs:610
Functionfriendly_merkle_tree_with_multiple_pedersen_layers
()
crypto/src/merkle/mod.rs:583
Functionfriendly_merkle_tree_with_single_column
()
crypto/src/merkle/mod.rs:505
Functionfriendly_merkle_tree_with_single_pedersen_layer
()
crypto/src/merkle/mod.rs:556
Functionfriendly_merkle_tree_without_pedersen
()
crypto/src/merkle/mod.rs:529
Methodfrom
(value: Fp)
crypto/src/hash/pedersen.rs:39
Methodfrom
(value: Flag)
layouts/src/starknet/air.rs:2517
Methodfrom
(value: Flag)
layouts/src/recursive/air.rs:1302
Methodfrom
(value: Flag)
layouts/src/plain/air.rs:609
Methodfrom_matrix
(matrix: &Matrix<Fp>)
crypto/src/merkle/mod.rs:110
Methodfrom_public_input
( air_public_input: &AirPublicInput<<Self::Field as Field>::BasePrimeField>, )
src/lib.rs:134
Methodfrom_reader
Parses trace data in the format outputted by a `cairo-run`.
binary/src/lib.rs:152
Methodfrom_sharp_code
(code: u128)
binary/src/lib.rs:104
Functionfull_round_keys0_match
()
builtins/src/poseidon/periodic.rs:242
Functionfull_round_keys1_match
()
builtins/src/poseidon/periodic.rs:259
Functionfull_round_keys2_match
()
builtins/src/poseidon/periodic.rs:276
Methodgen_deep_coeffs
( &self, public_coin: &mut Self::PublicCoin, air: &Air<Self::AirConfig>, )
src/lib.rs:102
Functiongen_ec_mad_steps
Generates a list of the steps involved with an EC multiply-add TODO: NOTE: MAX_POINT_DOUBLINGS is a little decoupled but this is to do with the period
builtins/src/ecdsa/mod.rs:167
Methodgen_hints
( trace_len: usize, execution_info: &AirPublicInput<Self::Fp>, challenges: &Challenges
layouts/src/starknet/air.rs:2408
Methodgen_hints
( trace_len: usize, execution_info: &AirPublicInput<Self::Fp>, challenges: &Challenges
layouts/src/recursive/air.rs:1202
Methodgen_hints
( trace_len: usize, public_input: &AirPublicInput<Self::Fp>, challenges: &Challenges<S
layouts/src/plain/air.rs:535
Functiongen_periodic_table
Generates a periodic table comprising of values in the matrix. The columns of the periodic table are are represented by polynomials that evaluate to t
builtins/src/utils.rs:32
Methodgen_public_coin
(&self, air: &ministark::Air<Self::AirConfig>)
src/lib.rs:118
Methodgenerate_trace
(&self, witness: CairoWitness<Fp>)
src/lib.rs:94
Methodget_ordered_accesses_with_padding
( &self, trace_len: usize, public_memory: Vec<MemoryEntry<F>>, padding_entry:
layouts/src/utils.rs:168
Functionget_ordered_memory_accesses
Orders memory accesses Accesses must be of the form (address, value) Output is of the form (address, value) TODO: make sure supports input, output and
layouts/src/utils.rs:116
Methodgrind_proof_of_work
(&self, proof_of_work_bits: u8)
crypto/src/public_coin/solidity.rs:120
Methodhash
(bytes: impl IntoIterator<Item = u8>)
crypto/src/hash/blake2s.rs:16
Methodhash
(_bytes: impl IntoIterator<Item = u8>)
crypto/src/hash/pedersen.rs:50
Methodhash
(bytes: impl IntoIterator<Item = u8>)
crypto/src/hash/keccak.rs:19
Methodhash_boundary
( n0: &SerdeOutput<Blake2s256>, n1: &SerdeOutput<Blake2s256>, )
crypto/src/merkle/mixed.rs:148
Methodhash_chunks
(chunks: impl IntoIterator<Item = &'a [u8]>)
crypto/src/hash/blake2s.rs:24
Methodhash_chunks
(_chunks: impl IntoIterator<Item = &'a [u8]>)
crypto/src/hash/pedersen.rs:54
Methodhash_chunks
(chunks: impl IntoIterator<Item = &'a [u8]>)
crypto/src/hash/keccak.rs:41
Methodhash_elements
(elements: impl IntoIterator<Item = Fp>)
crypto/src/hash/blake2s.rs:51
Methodhash_elements
(elements: impl IntoIterator<Item = Fp>)
crypto/src/hash/pedersen.rs:68
Methodhash_elements
(elements: impl IntoIterator<Item = Fp>)
crypto/src/hash/keccak.rs:51
Functionhash_example0_works
()
builtins/src/pedersen/mod.rs:184
Functionhash_example1_works
()
builtins/src/pedersen/mod.rs:199
Methodhash_leaves
(_: u32, l0: &Fp, l1: &Fp)
crypto/src/merkle/mod.rs:426
Methodhash_leaves
(depth: u32, l0: &Self::Leaf, l1: &Self::Leaf)
crypto/src/merkle/mixed.rs:110
Methodhash_nodes
(_: u32, n0: &H::Digest, n1: &H::Digest)
crypto/src/merkle/mod.rs:430
Methodhash_nodes
(depth: u32, n0: &Self::Digest, n1: &Self::Digest)
crypto/src/merkle/mixed.rs:117
Functionhash_row
(row: &[Fp])
crypto/src/merkle/utils.rs:9
Functionhash_rows
(matrix: &Matrix<Fp>)
crypto/src/merkle/utils.rs:19
Methodidentity
()
builtins/src/utils.rs:59
Functionleaf_variant_merkle_tree_with_multiple_columns
()
crypto/src/merkle/mod.rs:479
Functionleaf_variant_merkle_tree_with_single_column
()
crypto/src/merkle/mod.rs:456
Functionmain
()
cli/src/main.rs:70
Functionmask_least_significant_bytes
(bytes: &mut [u8])
crypto/src/hash/mod.rs:6
Functionmask_most_significant_bytes
(bytes: &mut [u8])
crypto/src/hash/mod.rs:16
Functionmatrix_multiplication
()
builtins/src/utils.rs:192
Methodmemory_page_values
(&self)
src/input.rs:113
Methodmerge
( v0: &SerdeOutput<Blake2s256>, v1: &SerdeOutput<Blake2s256>, )
crypto/src/hash/blake2s.rs:32
Methodmerge
(v0: &PedersenDigest, v1: &PedersenDigest)
crypto/src/hash/pedersen.rs:58
Methodmerge
(v0: &SerdeOutput<Keccak256>, v1: &SerdeOutput<Keccak256>)
crypto/src/hash/keccak.rs:27
Methodmerge_with_int
(seed: &SerdeOutput<Blake2s256>, value: u64)
crypto/src/hash/blake2s.rs:42
Methodmerge_with_int
(seed: &PedersenDigest, value: u64)
crypto/src/hash/pedersen.rs:62
Methodmerge_with_int
(seed: &SerdeOutput<Keccak256>, value: u64)
crypto/src/hash/keccak.rs:34
Methodmul
Multiplies the matrix by a scalar
builtins/src/utils.rs:93
Methodnew
(digest: Self::Digest)
crypto/src/public_coin/cairo.rs:64
Methodnew
(digest: SerdeOutput<Keccak256>)
crypto/src/public_coin/solidity.rs:58
Methodnew
()
layouts/src/utils.rs:159
Methodnew
( air_private_input: AirPrivateInput, register_states: RegisterStates, memory: Memory<
layouts/src/lib.rs:45
Methodnew
( program: CompiledProgram<Fp>, air_public_input: AirPublicInput<Fp>, witness: CairoWi
layouts/src/starknet/trace.rs:99
Methodnew
( program: CompiledProgram<Fp>, air_public_input: AirPublicInput<Fp>, witness: CairoWi
layouts/src/recursive/trace.rs:89
Methodnew
( program: CompiledProgram<Fp>, air_public_input: AirPublicInput<Fp>, witness: CairoWi
layouts/src/plain/trace.rs:59
Methodnew
(cairo_program: CompiledProgram<Fp>, air_public_input: AirPublicInput<Fp>)
src/lib.rs:58
Methodnew
(instance: PedersenInstance)
builtins/src/pedersen/mod.rs:83
Methodnew
(instance: RangeCheckInstance)
builtins/src/range_check/mod.rs:12
Methodnew
(instance: EcOpInstance)
builtins/src/ec_op/mod.rs:40
Methodnew
TODO: error handling
builtins/src/ecdsa/mod.rs:85
Methodnew
(instance: PoseidonInstance)
builtins/src/poseidon/mod.rs:63
Methodnew
(instance: BitwiseInstance)
builtins/src/bitwise/mod.rs:23
Methodnew
(word: U256)
binary/src/lib.rs:643
Methodnew_dummy
Creates a new dummy instance. Can be used for filling holes in an execution trace
builtins/src/ec_op/mod.rs:76
Methodnew_dummy
Creates a new dummy instance. Can be used for filling holes in an execution trace
builtins/src/ecdsa/mod.rs:151
Methodnew_empty
(index: u32)
binary/src/lib.rs:380
Methodoffset
(&self, cycle_offset: isize)
layouts/src/plain/air.rs:636
← previousnext →101–200 of 239, ranked by callers