Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/arkworks-rs/spongefish
/ functions
Functions
314 in github.com/arkworks-rs/spongefish
⨍
Functions
314
◇
Types & classes
54
Method
new
()
spongefish/examples/bulletproof.rs:28
Method
new
(challenge: [u8; 32], bits: f64)
pow/src/lib.rs:23
Method
new
(challenge: [u8; 32], bits: f64)
pow/src/blake3.rs:43
Method
new
(challenge: [u8; 32], bits: f64)
pow/src/keccak.rs:15
Method
new
(linear_combination: impl IntoIterator<Item = (U, T)>, image: U)
circuit/src/permutation.rs:29
Method
new
()
circuit/src/allocator.rs:70
Method
new_std
(protocol_id: &[u8; 64], session_id: &[u8; 64], narg_string: &'a [u8])
spongefish/src/narg_verifier.rs:232
Function
p3_field_deserialize_advances_cursor
()
spongefish/src/drivers/tests.rs:124
Function
p3_field_deserialize_rejects_without_advancing_cursor
()
spongefish/src/drivers/tests.rs:146
Function
p3_field_encoding_is_big_endian
()
spongefish/src/drivers/tests.rs:108
Method
pad_block
Create a block | start | 0000 0000 | end |
spongefish/src/instantiations/hash.rs:122
Function
parse_canonical_prime_field
(bytes: &[u8])
spongefish/src/drivers/ark_ff_impl.rs:14
Method
permute
(&self, state: &[Self::U; 16])
circuit/tests/builder.rs:16
Method
protocol_id
()
spongefish/examples/bulletproof.rs:34
Function
protocol_id_zero_pads_ascii
()
spongefish/src/tests.rs:179
Method
prove
( prover_state: &'a mut ProverState, instance: &Instance, witness: (&[Scalar], &[Scala
spongefish/examples/bulletproof.rs:38
Method
prove
( prover_state: &'a mut ProverState, instance: &[G; 2], x: G::ScalarField, )
spongefish/examples/schnorr.rs:22
Method
prover_messages
Reads a fixed-size array of prover messages `T`, each implementing `Encoding<[H::U]>`.
spongefish/src/narg_verifier.rs:134
Method
prover_messages_iter
Absorbs an iterator of prover messages.
spongefish/src/narg_prover.rs:267
Function
prover_messages_round_trip
()
spongefish/src/tests.rs:26
Method
prover_messages_vec
Reads `len` prover messages `T` into a vector, each implementing `Encoding<[H::U]>`.
spongefish/src/narg_verifier.rs:142
Function
prover_rng_emits_entropy
()
spongefish/src/tests.rs:9
Method
public_messages
Absorbs a slice of public messages. ``` # #[cfg(feature = "sha3")] # { let mut verifier = spongefish::domain_separator!( "examples"; "VerifierState::
spongefish/src/narg_verifier.rs:102
Method
public_messages
Input to the Fiat--Shamir transformation an array of public messages.
spongefish/src/narg_prover.rs:242
Method
public_messages_iter
Absorbs an iterator of public messages. ``` # #[cfg(feature = "sha3")] # { let mut verifier = spongefish::domain_separator!( "examples"; "VerifierSta
spongefish/src/narg_verifier.rs:123
Method
public_messages_iter
Input to the Fiat--Shamir transformation an iterator of public messages.
spongefish/src/narg_prover.rs:249
Method
public_vars
(&self)
circuit/src/allocator.rs:174
Function
public_vars_are_returned_by_variable_index
()
circuit/tests/builder.rs:155
Function
random_bits_in_random_modp
(b: ark_ff::BigInt<N>)
spongefish/src/drivers/ark_ff_impl.rs:179
Method
ratchet
(&mut self)
spongefish/tests/test_spec.rs:65
Function
reject_modulus
Deserializing p (the modulus itself) must fail — the encoding is not canonical because p ≡ 0 and 0 already has its own encoding.
spongefish/src/drivers/ark_ff_impl.rs:304
Method
reseed
Reseeds the internal sponge with fresh entropy from the CSRNG.
spongefish/src/narg_prover.rs:132
Function
roundtrip_testsuite
Encode → serialize → deserialize round-trip, testing zero, one, p-1, and a handful of interior values.
spongefish/src/drivers/ark_ff_impl.rs:246
Function
secp256k1_scalars_arkworks_and_k256
()
spongefish/src/drivers/tests.rs:203
Function
secp256r1_scalars_arkworks_and_p256
()
spongefish/src/drivers/tests.rs:218
Function
session_id_matches_rfc_construction
()
spongefish/src/tests.rs:187
Function
shake128_clone_preserves_squeeze_position
()
spongefish/src/instantiations/xof.rs:167
Function
snapshots_are_immutable_after_builder_mutation
()
circuit/tests/builder.rs:217
Method
solution
(&self, nonce: u64)
pow/src/keccak.rs:24
Method
squeeze_array
Squeeze a fixed-length array of size `LEN`.
spongefish/src/duplex_sponge.rs:83
Function
std_transcript_initialization_matches_manual_shake128
()
spongefish/src/tests.rs:205
Function
str_encoding_prefixes_utf8_with_le_u32_length
()
spongefish/src/tests.rs:251
Function
str_length_prefix_is_fixed_width_u32_le
()
spongefish/src/codecs.rs:263
Function
stress_test_check_many_entropy
()
pow/src/blake3.rs:402
Function
test_all_duplex_sponge_vectors
()
spongefish/tests/test_spec.rs:125
Function
test_check_function_basic
()
pow/src/blake3.rs:279
Function
test_check_many_determinism
()
pow/src/blake3.rs:336
Function
test_check_many_handles_u64_tail
()
pow/src/blake3.rs:292
Function
test_check_many_inserts_nonce_bytes
()
pow/src/blake3.rs:357
Function
test_decoding
()
spongefish/src/drivers/secp256k1_impl.rs:131
Function
test_deterministic
()
spongefish/src/instantiations/tests.rs:79
Function
test_different_challenges_consistency
()
pow/src/blake3.rs:326
Function
test_domain_separator
()
spongefish/src/instantiations/tests.rs:19
Function
test_encoding_small_fp_goldilocks_fp2
()
spongefish/src/drivers/ark_ff_impl.rs:453
Function
test_incomplete_domsep
()
spongefish/src/instantiations/tests.rs:141
Function
test_invalid_domsep_sequence
()
spongefish/src/instantiations/tests.rs:62
Function
test_koalabear_encoding
()
spongefish/src/drivers/p3_koala_bear.rs:83
Function
test_koalabear_out_of_range
()
spongefish/src/drivers/p3_koala_bear.rs:94
Function
test_koalabear_serialize_deserialize
()
spongefish/src/drivers/p3_koala_bear.rs:71
Function
test_linear_equations
()
circuit/tests/builder.rs:89
Function
test_montfp_bitflip
()
spongefish/src/drivers/ark_ff_impl.rs:430
Function
test_montfp_reject_modulus
()
spongefish/src/drivers/ark_ff_impl.rs:424
Function
test_montfp_roundtrip
()
spongefish/src/drivers/ark_ff_impl.rs:418
Function
test_new_invalid_bits
()
pow/src/blake3.rs:274
Function
test_new_pow_valid_bits
()
pow/src/blake3.rs:262
Function
test_point_serialize_deserialize
()
spongefish/src/drivers/secp256k1_impl.rs:105
Function
test_pow_blake3
()
pow/src/blake3.rs:242
Function
test_pow_keccak
()
pow/src/keccak.rs:47
Function
test_prime_field_deserialize_rejects_modulus
()
spongefish/src/drivers/ark_ff_impl.rs:469
Function
test_prime_field_encoding_is_left_padded_big_endian
()
spongefish/src/drivers/ark_ff_impl.rs:458
Function
test_prover_empty_absorb
()
spongefish/src/instantiations/tests.rs:153
Function
test_prover_rng_basic
()
spongefish/src/instantiations/tests.rs:27
Function
test_prover_state_bytewriter
()
spongefish/src/instantiations/tests.rs:44
Function
test_scalar_encoding
()
spongefish/src/drivers/secp256k1_impl.rs:119
Function
test_scalar_serialize_deserialize
()
spongefish/src/drivers/secp256k1_impl.rs:93
Function
test_shosha
()
spongefish/src/instantiations/hash.rs:193
Function
test_smallfp_bitflip
()
spongefish/src/drivers/ark_ff_impl.rs:398
Function
test_smallfp_deterministic_encoding
()
spongefish/src/drivers/ark_ff_impl.rs:370
Function
test_smallfp_distinct_values_encode_differently
()
spongefish/src/drivers/ark_ff_impl.rs:379
Function
test_smallfp_reject_modulus
()
spongefish/src/drivers/ark_ff_impl.rs:388
Function
test_smallfp_roundtrip
()
spongefish/src/drivers/ark_ff_impl.rs:361
Function
test_smallfp_wrong_length
()
spongefish/src/drivers/ark_ff_impl.rs:407
Function
test_solve_parallel
()
pow/src/blake3.rs:318
Function
test_solve_returns_minimal_nonce
()
pow/src/blake3.rs:376
Function
test_solve_sequential
()
pow/src/blake3.rs:309
Function
test_statistics
()
spongefish/src/instantiations/tests.rs:99
Function
test_streaming_absorb_and_squeeze
Absorbs and squeeze over byte-Units should be stream-able.
spongefish/src/instantiations/tests.rs:163
Function
test_streaming_blake2
()
spongefish/src/instantiations/tests.rs:209
Function
test_streaming_keccak
()
spongefish/src/instantiations/tests.rs:215
Function
test_streaming_sha2
()
spongefish/src/instantiations/tests.rs:203
Function
test_threshold_rounding_boundaries
()
pow/src/blake3.rs:348
Function
test_transcript_readwrite
()
spongefish/src/instantiations/tests.rs:118
Function
test_witness_linear_equations
()
circuit/tests/builder.rs:122
Function
test_xof
()
circuit/tests/builder.rs:42
Method
to_prover
(&self, h: H)
spongefish/src/domain_separator.rs:212
Method
to_verifier
(&self, h: H, narg_string: &'ver [u8])
spongefish/src/domain_separator.rs:226
Method
transcript
(&self)
spongefish/src/narg_prover.rs:231
Method
try_fill_bytes
(&mut self, dest: &mut [u8])
spongefish/src/narg_prover.rs:116
Method
try_from_index
(index: usize)
circuit/src/allocator.rs:29
Function
verifier_challenge_matches_prover
()
spongefish/src/tests.rs:61
← previous
next →
201–300 of 314, ranked by callers