-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: pad numbers to requested size before XOR-ing them (#22)
Problem: rebuilding the random number from the random bytes in the executor responses does not work when the generated random number is smaller than the requested number of bytes. This occurs because the random number is not padded before being XOR-ed with the others. Solution: pad the random number of each executor to guarantee that it is N bytes wide.
- Loading branch information
1 parent
4863a2a
commit f204ad8
Showing
2 changed files
with
9 additions
and
6 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