From 25ae7ff9bf218f71502f3829212542b1f667f76e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Wed, 21 Oct 2020 18:20:43 -0400 Subject: [PATCH] Make Hash module public Fixes #63 --- src/hash.rs | 2 ++ src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hash.rs b/src/hash.rs index 03a591e..94b74a3 100644 --- a/src/hash.rs +++ b/src/hash.rs @@ -3,6 +3,8 @@ // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. +//! A convenience trait for digest bounds used throughout the library + use digest::{BlockInput, FixedOutput, Reset, Update}; /// Trait inheriting the requirements from digest::Digest for compatibility with HKDF and HMAC diff --git a/src/lib.rs b/src/lib.rs index 1560775..ce39d7b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -411,7 +411,7 @@ pub mod opaque; pub mod ciphersuite; mod envelope; -mod hash; +pub mod hash; mod elligator; pub mod group;