diff options
author | lloyd <[email protected]> | 2010-03-09 14:14:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-09 14:14:31 +0000 |
commit | 358769448aae3200da3d56055d253f63a02be6bf (patch) | |
tree | fd1f2222c1c4b5f8b3ef462526e08b87f1c50509 /checks/bench.h | |
parent | 339c10806c2011c3fc0075b9d4d20895fc6cd313 (diff) |
Oops. Secret nonce/seed for blinding for DH and ElGamal was 2^x mod p.
However if the group generator is 2, that's precisely the public key,
which is hardly secret at all.
Instead use y^x mod p, which while a little dubious in terms of
mathematical structure is probably OK after being hashed through
SHA-512 with some high resolution timestamps.
Diffstat (limited to 'checks/bench.h')
0 files changed, 0 insertions, 0 deletions