Skip to main content

Module roinput

Module roinput 

Source
Expand description

Random oracle input structures and algorithms

Definition of random oracle input structure and methods for serializing into bytes and field elements

Re-exportsยง

use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use core::fmt::Error; ๐Ÿ”’
use super::Hashable; ๐Ÿ”’
use ark_ff::BigInteger; ๐Ÿ”’
use ark_ff::PrimeField; ๐Ÿ”’
use bitvec::view::AsBits; ๐Ÿ”’
use mina_curves::pasta::Fp; ๐Ÿ”’
use mina_curves::pasta::Fq; ๐Ÿ”’
use o1_utils::FieldHelpers; ๐Ÿ”’
use bitvec::prelude::*; ๐Ÿ”’

Structsยง

ROInput
Random oracle input structure

Constantsยง

SER_HEADER_SIZE ๐Ÿ”’
Total number of bytes for the header of the serialized ROInput.
SINGLE_HEADER_SIZE ๐Ÿ”’
Number of bytes for each part of the header of the serialized ROInput.