Rename crypto::keygen to crypto::poly.

This commit is contained in:
Andreas Fackler 2018-06-19 15:04:22 +02:00
parent 1436d85455
commit c84c60d826
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ use std::rc::Rc;
use std::{io, iter, process, thread, time};
use hbbft::broadcast::{Broadcast, BroadcastMessage};
use hbbft::crypto::keygen::Poly;
use hbbft::crypto::poly::Poly;
use hbbft::crypto::SecretKeySet;
use hbbft::messaging::{DistAlgorithm, NetworkInfo, SourcedMessage};
use hbbft::proto::message::BroadcastProto;

View File

@ -1,11 +1,11 @@
pub mod error;
pub mod keygen;
pub mod poly;
#[cfg(feature = "serialization-protobuf")]
pub mod protobuf_impl;
#[cfg(feature = "serialization-serde")]
mod serde_impl;
use self::keygen::{Commitment, Poly};
use self::poly::{Commitment, Poly};
use std::fmt;