Struct filecoin_hashers::blake2s::Blake2sDomain [−][src]
Implementations
impl Blake2sDomain
[src]
impl Blake2sDomain
[src]pub fn trim_to_fr32(&mut self)
[src]
Trait Implementations
impl Algorithm<Blake2sDomain> for Blake2sFunction
[src]
impl Algorithm<Blake2sDomain> for Blake2sFunction
[src]fn hash(&mut self) -> Blake2sDomain
[src]
fn reset(&mut self)
[src]
fn leaf(&mut self, leaf: Blake2sDomain) -> Blake2sDomain
[src]
fn node(
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
_height: usize
) -> Blake2sDomain
[src]
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
_height: usize
) -> Blake2sDomain
fn multi_node(
&mut self,
parts: &[Blake2sDomain],
_height: usize
) -> Blake2sDomain
[src]
&mut self,
parts: &[Blake2sDomain],
_height: usize
) -> Blake2sDomain
impl AsRef<Blake2sDomain> for Blake2sDomain
[src]
impl AsRef<Blake2sDomain> for Blake2sDomain
[src]impl Clone for Blake2sDomain
[src]
impl Clone for Blake2sDomain
[src]fn clone(&self) -> Blake2sDomain
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Blake2sDomain
[src]
impl Copy for Blake2sDomain
[src]impl Default for Blake2sDomain
[src]
impl Default for Blake2sDomain
[src]fn default() -> Blake2sDomain
[src]
impl<'de> Deserialize<'de> for Blake2sDomain
[src]
impl<'de> Deserialize<'de> for Blake2sDomain
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Domain for Blake2sDomain
[src]
impl Domain for Blake2sDomain
[src]impl Element for Blake2sDomain
[src]
impl Element for Blake2sDomain
[src]impl Eq for Blake2sDomain
[src]
impl Eq for Blake2sDomain
[src]impl From<Fr> for Blake2sDomain
[src]
impl From<Fr> for Blake2sDomain
[src]impl From<FrRepr> for Blake2sDomain
[src]
impl From<FrRepr> for Blake2sDomain
[src]impl Hash for Blake2sDomain
[src]
impl Hash for Blake2sDomain
[src]impl HashFunction<Blake2sDomain> for Blake2sFunction
[src]
impl HashFunction<Blake2sDomain> for Blake2sFunction
[src]fn hash(data: &[u8]) -> Blake2sDomain
[src]
fn hash2(a: &Blake2sDomain, b: &Blake2sDomain) -> Blake2sDomain
[src]
fn hash_multi_leaf_circuit<Arity, CS: ConstraintSystem<Bls12>>(
cs: CS,
leaves: &[AllocatedNum<Bls12>],
_height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
[src]
cs: CS,
leaves: &[AllocatedNum<Bls12>],
_height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
fn hash_leaf_bits_circuit<CS: ConstraintSystem<Bls12>>(
cs: CS,
left: &[Boolean],
right: &[Boolean],
_height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
[src]
cs: CS,
left: &[Boolean],
right: &[Boolean],
_height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
fn hash_circuit<CS: ConstraintSystem<Bls12>>(
cs: CS,
bits: &[Boolean]
) -> Result<AllocatedNum<Bls12>, SynthesisError>
[src]
cs: CS,
bits: &[Boolean]
) -> Result<AllocatedNum<Bls12>, SynthesisError>
fn hash2_circuit<CS>(
cs: CS,
a_num: &AllocatedNum<Bls12>,
b_num: &AllocatedNum<Bls12>
) -> Result<AllocatedNum<Bls12>, SynthesisError> where
CS: ConstraintSystem<Bls12>,
[src]
cs: CS,
a_num: &AllocatedNum<Bls12>,
b_num: &AllocatedNum<Bls12>
) -> Result<AllocatedNum<Bls12>, SynthesisError> where
CS: ConstraintSystem<Bls12>,
fn hash_md(input: &[T]) -> T
[src]
fn hash_leaf(data: &dyn LightHashable<Self>) -> T
[src]
fn hash_single_node(data: &dyn LightHashable<Self>) -> T
[src]
fn hash_leaf_circuit<CS: ConstraintSystem<Bls12>>(
cs: CS,
left: &AllocatedNum<Bls12>,
right: &AllocatedNum<Bls12>,
height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
[src]
cs: CS,
left: &AllocatedNum<Bls12>,
right: &AllocatedNum<Bls12>,
height: usize
) -> Result<AllocatedNum<Bls12>, SynthesisError>
fn hash_md_circuit<CS: ConstraintSystem<Bls12>>(
_cs: &mut CS,
_elements: &[AllocatedNum<Bls12>]
) -> Result<AllocatedNum<Bls12>, SynthesisError>
[src]
_cs: &mut CS,
_elements: &[AllocatedNum<Bls12>]
) -> Result<AllocatedNum<Bls12>, SynthesisError>
impl Hashable<Blake2sFunction> for Blake2sDomain
[src]
impl Hashable<Blake2sFunction> for Blake2sDomain
[src]fn hash(&self, state: &mut Blake2sFunction)
[src]
pub fn hash_slice(data: &[Self], state: &mut H)
[src]
impl Ord for Blake2sDomain
[src]
impl Ord for Blake2sDomain
[src]impl PartialEq<Blake2sDomain> for Blake2sDomain
[src]
impl PartialEq<Blake2sDomain> for Blake2sDomain
[src]fn eq(&self, other: &Blake2sDomain) -> bool
[src]
fn ne(&self, other: &Blake2sDomain) -> bool
[src]
impl PartialOrd<Blake2sDomain> for Blake2sDomain
[src]
impl PartialOrd<Blake2sDomain> for Blake2sDomain
[src]fn partial_cmp(&self, other: &Blake2sDomain) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for Blake2sDomain
[src]
impl Serialize for Blake2sDomain
[src]impl StructuralEq for Blake2sDomain
[src]
impl StructuralEq for Blake2sDomain
[src]impl StructuralPartialEq for Blake2sDomain
[src]
impl StructuralPartialEq for Blake2sDomain
[src]Auto Trait Implementations
impl RefUnwindSafe for Blake2sDomain
impl RefUnwindSafe for Blake2sDomain
impl Send for Blake2sDomain
impl Send for Blake2sDomain
impl Sync for Blake2sDomain
impl Sync for Blake2sDomain
impl Unpin for Blake2sDomain
impl Unpin for Blake2sDomain
impl UnwindSafe for Blake2sDomain
impl UnwindSafe for Blake2sDomain
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,