Skip to content

Commit 35f3c59

Browse files
committed
Make Blake2XbReader public
1 parent 0824a62 commit 35f3c59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

blake2/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ mod simd;
4545
mod macros;
4646

4747
use as_bytes::AsBytes;
48+
pub use blake2x::Blake2bXReader;
4849
use consts::{BLAKE2B_IV, BLAKE2S_IV};
4950
use simd::{Vector4, u32x4, u64x4};
5051

@@ -83,7 +84,7 @@ blake2_mac_impl!(Blake2bMac, Blake2bVarCore, U64, "Blake2b MAC function");
8384
pub type Blake2Xb = CoreWrapper<blake2x::Blake2Xb>;
8485

8586
/// Create a blake2xb generator with maximum output
86-
pub fn blake2xb(seed: &[u8]) -> blake2x::Blake2bXReader {
87+
pub fn blake2xb(seed: &[u8]) -> Blake2bXReader {
8788
use digest::ExtendableOutput;
8889
blake2x::Blake2Xb::new(Some(seed), None)
8990
.unwrap()

0 commit comments

Comments
 (0)