diff options
author | Bodo Möller <bodo@openssl.org> | 2003-02-06 20:25:12 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2003-02-06 20:25:12 +0100 |
commit | 37c660ff9b22d6f0eb19a9881d3b663ca4f63449 (patch) | |
tree | b4e2e8e2eb24d85d0a9859194f34b1e62ee9f396 /apps | |
parent | typo in WIN16 section (diff) | |
download | openssl-37c660ff9b22d6f0eb19a9881d3b663ca4f63449.tar.xz openssl-37c660ff9b22d6f0eb19a9881d3b663ca4f63449.zip |
implement fast point multiplication with precomputation
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index 758ce250de..d6f78fb5d4 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1933,6 +1933,9 @@ int MAIN(int argc, char **argv) } else { +#if 1 + EC_GROUP_precompute_mult(ecdsa[j]->group, NULL); +#endif /* Perform ECDSA signature test */ EC_KEY_generate_key(ecdsa[j]); ret = ECDSA_sign(0, buf, 20, ecdsasig, |