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:
+2
-1
@@ -416,7 +416,6 @@ pub mod opaque;
|
||||
pub mod ciphersuite;
|
||||
mod envelope;
|
||||
pub mod hash;
|
||||
mod serialization;
|
||||
|
||||
mod elligator;
|
||||
pub mod group;
|
||||
@@ -433,5 +432,7 @@ mod oprf;
|
||||
|
||||
pub mod slow_hash;
|
||||
|
||||
mod serialization;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
Reference in New Issue
Block a user