diff options
author | Brian Warner <warner@lothar.com> | 2018-10-17 10:44:37 -0700 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-10-17 11:31:16 -0700 |
commit | 488b8101869e0f36cdee59fd5862c8c0d8ab8278 (patch) | |
tree | b8571a17bb986e0664291176efd3ee9d29db5354 /spake2/src | |
parent | abb0dc09dbb7971da2ce16c974d5d4980ae969df (diff) | |
download | PAKEs-488b8101869e0f36cdee59fd5862c8c0d8ab8278.tar.xz |
update spake2 deps (sha2-0.8, hkdf-0.7)
Diffstat (limited to 'spake2/src')
-rw-r--r-- | spake2/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spake2/src/lib.rs b/spake2/src/lib.rs index 163cb26..5025800 100644 --- a/spake2/src/lib.rs +++ b/spake2/src/lib.rs @@ -240,7 +240,7 @@ fn ed25519_hash_ab( //let mut hash = G::TranscriptHash::default(); let mut hash = Sha256::new(); - hash.input(&transcript); + hash.input(transcript.to_vec()); hash.result().to_vec() } @@ -285,7 +285,7 @@ fn ed25519_hash_symmetric( transcript[128..160].copy_from_slice(key_bytes); let mut hash = Sha256::new(); - hash.input(&transcript); + hash.input(transcript.to_vec()); hash.result().to_vec() } |