Skip to content

Commit

Permalink
RFC9830.hash_to_field() is mod n, not mod q.
Browse files Browse the repository at this point in the history
Regenerate test data.
  • Loading branch information
JohnLCaron committed Jun 3, 2024
1 parent 73626d9 commit f2b02bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/CommandLineInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,14 @@ also allows voter challenges. The CLIs documented here have less flexibility but
### Run AddEncryptedBallots

````
Usage: RunExampleEncryption options_list
Usage: RunAddEncryptedBallots options_list
Options:
--inputDir, -in -> Directory containing input election record (always required) { String }
--ballotDir, -ballots -> Directory to read Plaintext ballots from (always required) { String }
--device, -device -> voting device name (always required) { String }
--outputDir, -out -> Directory to write output election record (always required) { String }
--challengePct, -challenge [0] -> Challenge percent of ballots { Int }
--help, -h -> Usage info
--help, -h -> Usage info
````

This reads plaintext ballots from ballotDir and writes their encryptions into the specified election record.
Expand Down
6 changes: 3 additions & 3 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ Install into one of the library paths, usually _/usr/lib_. You can also use
sudo make install
```

which will install into _/usr/local/lib_.
which will install libvec.ao into _/usr/local/lib_.

### Building the Verificatum Elliptic Curve Java library (VECJ)
### Building the Java wrapper for VEC (VECJ)

```
cd devhome
Expand All @@ -121,7 +121,7 @@ Install into one of the library paths, usually _/usr/lib_. You can also use
sudo make install
```

which will install into _/usr/local/lib_.
which will install libvecj.so into _/usr/local/lib_.


### Make sure libraries are on the load path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class RunAddEncryptedBallots {
parser.parse(args)

logger.info {
"starting\n inputDir= $inputDir\n ballotDir = $ballotDir\n device = $device\n" +
"starting RunAddEncryptedBallots\n inputDir= $inputDir\n ballotDir = $ballotDir\n device = $device\n" +
" outputDir = $outputDir\n challengePct = $challengePct"
}

Expand Down

0 comments on commit f2b02bc

Please sign in to comment.