Module primitives

Source
Expand description

Asynchronous verification of cryptographic primitives.

Modules§

ed25519
Async Ed25519 batch verifier service
groth16
Async Groth16 batch verifier service
halo2
Async Halo2 batch verifier service
redjubjub
Async RedJubjub batch verifier service
redpallas
Async RedPallas batch verifier service

Constants§

MAX_BATCH_LATENCY 🔒
The maximum latency bound for any of the batch verifiers.
MAX_BATCH_SIZE 🔒
The maximum batch size for any of the batch verifiers.

Functions§

spawn_fifo
Fires off a task into the Rayon threadpool and awaits the result through a oneshot channel.
spawn_fifo_and_convert
Fires off a task into the Rayon threadpool, awaits the result through a oneshot channel, then converts the error to a BoxError.