Skip to content

Commit

Permalink
document top level lib
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz committed May 2, 2024
1 parent ab07ba3 commit 64682d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rust_bindings/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//! Hasthree rust bindings
//!
//! hashtree is a SHA256 library highly optimized for Merkle tree computations. It is based on
//! Intel's implementation (intel-ipsec-mb) with a few modifications like hardcoding the scheduled
//! words. This library exposes a single function that takes an input slice of bytes to be
//! considered as chunks of 64 bytes each, and another slice where the digests of each chunk will
//! be written consecutively
//!
extern crate libc;
use libc::c_int;
use std::ptr;
Expand Down

0 comments on commit 64682d4

Please sign in to comment.