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

Trait Implementations

impl Copy for br_multihash_context
[src]

impl Clone for br_multihash_context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more