Start integrating the derivable SizedBytes

- just derive it on Key and KeyPair for now
This commit is contained in:
François Garillot
2020-11-03 16:45:37 -05:00
parent 3954cd23b8
commit 230b1bcef6
10 changed files with 84 additions and 100 deletions
+2 -1
View File
@@ -8,13 +8,14 @@ use crate::{
errors::*,
group::Group,
key_exchange::tripledh::{TripleDH, NONCE_LEN},
keypair::{Key, KeyPair, SizedBytes, X25519KeyPair},
keypair::{Key, KeyPair, X25519KeyPair},
opaque::*,
slow_hash::NoOpHash,
tests::mock_rng::CycleRng,
};
use curve25519_dalek::edwards::EdwardsPoint;
use generic_array::GenericArray;
use generic_bytes::SizedBytes;
use rand_core::{OsRng, RngCore};
use serde_json::Value;
use std::convert::TryFrom;