-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce Serialized Size of HybridInfo (#1485)
This PR does a few things 1) Changes the codebase to assume helper_origin is a static string and does not need to be stored anywhere. It is removed from structs and outputs and simply grabbed from the place where it's defined if needed. 2) Additionally removes DOMAIN from serialized HybridInfo bytes. 3) Adds a second "to_bytes" method for HybridInfo structs. While we don't need hybrid_info and DOMAIN to deserialize HybridInfo, they are needed when we're actually encrypting/decrypting. For those purposes, a new to_enc_bytes() function is added.
- Loading branch information
Showing
10 changed files
with
113 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.