Module snarkvm_wasm::traits [−][src]
Modules
| algorithms | |
| alloc | |
| bits | |
| curves | |
| eq | |
| fields | |
| integers | |
| select |
Traits
| Add | Returns addition of |
| AllocBytesGadget | |
| AllocGadget | |
| CRHGadget | |
| CommitmentGadget | |
| ComparatorGadget | |
| CompressedGroupGadget | |
| CondSelectGadget | If condition is |
| ConditionalEqGadget | If |
| ConditionalOrEqualsGadget | |
| Div | Returns division of |
| EncryptionGadget | |
| EqGadget | |
| EvaluateEqGadget | |
| EvaluateLtGadget | |
| FieldGadget | |
| FullAdder | Single bit binary adder with carry bit https://en.wikipedia.org/wiki/Adder_(electronics)#Full_adder sum = (a XOR b) XOR carry carry = a AND b OR carry AND (a XOR b) Returns (sum, carry) |
| GroupGadget | |
| Integer | The interface for a singed or unsigned integer gadget. |
| MaskedCRHGadget | |
| Mul | Returns multiplication of |
| NEqGadget | |
| Neg | Returns a negated representation of |
| OrEqualsGadget | |
| PRFGadget | |
| PairingGadget | |
| Pow | Returns exponentiation of |
| RippleCarryAdder | Returns the bitwise sum of a n-bit number with carry bit |
| SNARKGadget | This implements constraints for SNARK verifiers. |
| SNARKVerifierGadget | |
| SignExtend | Sign extends an array of bits to the desired length. Expects least significant bit first |
| SignaturePublicKeyRandomizationGadget | |
| Sub | Returns subtraction of |
| ThreeBitCondNegLookupGadget | Uses three bits to perform a lookup into a table, where the last bit performs negation |
| ToConstraintFieldGadget | Specifies how to convert a variable of type |
| TwoBitLookupGadget | Uses two bits to perform a lookup into a table |
| Xor | Performs a bitwise XOR operation between |