Introduce enum structs to replicate TLS message format
This PR favors native coercions of enums to numerical types to help ser/de operations. Small rearrangement of the serialization module.
This commit is contained in:
+1
-2
@@ -6,8 +6,7 @@
|
||||
//! Defines the Group trait to specify the underlying prime order group used in
|
||||
//! OPAQUE's OPRF
|
||||
|
||||
use crate::elligator;
|
||||
use crate::errors::InternalPakeError;
|
||||
use crate::{elligator, errors::InternalPakeError};
|
||||
|
||||
use curve25519_dalek::{
|
||||
edwards::{CompressedEdwardsY, EdwardsPoint},
|
||||
|
||||
Reference in New Issue
Block a user