por: print keys for test vector generation

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2022-06-12 03:47:10 +02:00
parent 9456aad233
commit ed0145921c
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ const querylen = 1
proc testbls() : bool =
benchmark "Key generation":
let (spk, ssk) = por.keygen()
echo "Public key: ", $ spk
echo "Private key: ", $ ssk
benchmark "Auth generation (s=" & $sectorsperblock & ")":
let (tau, authenticators) = por.setup(ssk, sectorsperblock, "example.txt")