MCPcopy Create free account

hub / github.com/Election-Tech-Initiative/electionguard-verifier / functions

Functions128 in github.com/Election-Tech-Initiative/electionguard-verifier

Functionprove_check_zero_fail
()
src/crypto/chaum_pedersen.rs:468
Methodprove_equal
Construct a proof that `message1` and `message2` are encryptions of the same value.
src/crypto/chaum_pedersen.rs:197
Methodprove_exp
Construct a proof that `result = base^secret_key`, where `secret_key` is the secret key corresponding to `public_key`.
src/crypto/chaum_pedersen.rs:375
Methodprove_one
Given a `message` that's an encryption of one, construct a proof that it's either an encryption of zero or an encryption of one.
src/crypto/chaum_pedersen/disj.rs:111
Methodprove_plaintext
Construct a proof that `message` is an encryption of `plaintext`.
src/crypto/chaum_pedersen.rs:274
Methodprove_zero
Construct a proof that `message` is an encryption of zero. This requires knowing the `one_time_secret` key that was used to construct `message`. The
src/crypto/chaum_pedersen.rs:98
Methodprove_zero
Given a `message` that's an encryption of zero, construct a proof that it's either an encryption of zero or an encryption of one.
src/crypto/chaum_pedersen/disj.rs:67
Functionserialize
(value: &DecryptedValue, serializer: S)
src/serialize/decrypted_selection.rs:6
Functionserialize
(value: &DecryptedValue, serializer: S)
src/serialize/decrypted_tally.rs:6
Functionserialize
(value: &BigUint, serializer: S)
src/serialize/hash.rs:4
Functionserialize
(value: &BigUint, serializer: S)
src/serialize/big_uint.rs:8
Methodsimulate
(public_key: &Element, challenge: &Exponent, response: &Exponent)
src/crypto/schnorr.rs:96
Methodsimulate_equal
A "simulator" for the Chaum-Pedersen protocol. Given a preselected `challenge` and `response`, it constructs a valid-seeming proof that `message1` an
src/crypto/chaum_pedersen.rs:226
Methodsimulate_exp
A "simulator" for the Chaum-Pedersen protocol. Given a preselected `challenge` and `response`, it constructs a valid-seeming proof that `result = bas
src/crypto/chaum_pedersen.rs:400
Methodsimulate_plaintext
A "simulator" for the Chaum-Pedersen protocol. Given a preselected `challenge` and `response`, it constructs a valid-seeming proof that `message` is
src/crypto/chaum_pedersen.rs:300
Functionsimulate_transcript
()
src/crypto/schnorr.rs:178
Functionsimulate_transcript_equal
()
src/crypto/chaum_pedersen.rs:772
Functionsimulate_transcript_exp
()
src/crypto/chaum_pedersen.rs:813
Functionsimulate_transcript_plaintext
()
src/crypto/chaum_pedersen.rs:793
Functionsimulate_transcript_zero
()
src/crypto/chaum_pedersen.rs:754
Methodsimulate_zero
A "simulator" for the Chaum-Pedersen protocol. Given a preselected `challenge` and `response`, it constructs a valid-seeming proof that `message` is
src/crypto/chaum_pedersen.rs:138
Methodsub
Subtract group exponents, modulo the group's prime modulus *minus one*.
src/crypto/group.rs:247
Functiontest_missing
()
src/test_gen_check.rs:91
Functiontest_normal
()
src/test_gen_check.rs:9
Functiontest_parsing
()
tests/json.rs:11
Methodto_element
(&self)
src/crypto/group.rs:92
Methodunchecked
Construct an element of a group without checking whether the given integer is part of the group: this is unsafe!
src/crypto/group.rs:48
Methodzero
The zero exponent
src/crypto/group.rs:204
← previous101–128 of 128, ranked by callers