Struct bearssl::br_multihash_context
[−]
[src]
#[repr(C)]pub struct br_multihash_context { pub buf: [c_uchar; 128], pub count: u64, pub val_32: [u32; 25], pub val_64: [u64; 16], pub impl_: [*const br_hash_class; 6], }
\brief Multi-hasher context structure.
The multi-hasher runs up to six hash functions in the standard TLS list (MD5, SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512) in parallel, over the same input.
The multi-hasher does not follow the OOP structure with a vtable. Instead, it is configured with the vtables of the hash functions it should run. Structure fields are not supposed to be accessed directly.
Fields
buf: [c_uchar; 128]
count: u64
val_32: [u32; 25]
val_64: [u64; 16]
impl_: [*const br_hash_class; 6]
Trait Implementations
impl Copy for br_multihash_context
[src]
impl Clone for br_multihash_context
[src]
fn clone(&self) -> br_multihash_context
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more