summaryrefslogtreecommitdiff
path: root/src/rust/crypto/digests/mod.rs
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-04-21 01:01:04 +0000
committerIsis Lovecruft <isis@torproject.org>2018-05-08 21:03:37 +0000
commitaf182d4ab51d6a1a70559bbdcd4ab842aa855684 (patch)
treea39ec19013bdb85e4ad9aef1dd001747446923f2 /src/rust/crypto/digests/mod.rs
parent3df37d7b6be4f7d6ece0cd12812595d5f91ea72f (diff)
downloadtor-af182d4ab51d6a1a70559bbdcd4ab842aa855684.tar.gz
tor-af182d4ab51d6a1a70559bbdcd4ab842aa855684.zip
rust: Add crypto crate and implement Rust wrappers for SHA2 code.
* FIXES #24659: https://bugs.torproject.org/24659
Diffstat (limited to 'src/rust/crypto/digests/mod.rs')
-rw-r--r--src/rust/crypto/digests/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rust/crypto/digests/mod.rs b/src/rust/crypto/digests/mod.rs
new file mode 100644
index 0000000000..a2463b89eb
--- /dev/null
+++ b/src/rust/crypto/digests/mod.rs
@@ -0,0 +1,7 @@
+// Copyright (c) 2018, The Tor Project, Inc.
+// Copyright (c) 2018, isis agora lovecruft
+// See LICENSE for licensing information
+
+//! Hash Digests and eXtendible Output Functions (XOFs)
+
+pub mod sha2;