diff options
author | Adam Langley <agl@google.com> | 2015-04-14 22:07:44 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-16 23:53:05 +0300 |
commit | ad6b28e9745a3567ac991ca3cc57a1bbafd0642a (patch) | |
tree | 411a9ea28a72236fd79b83fde577a773391aa231 /crypto/test | |
parent | 042bcdd9bd68633b5bc9ded6b82ba59e03c33583 (diff) |
Add 64-bit, P-256 implementation.
This is taken from upstream, although it originally came from us. This
will only take effect on 64-bit systems (x86-64 and aarch64).
Before:
Did 1496 ECDH P-256 operations in 1038743us (1440.2 ops/sec)
Did 2783 ECDSA P-256 signing operations in 1081006us (2574.5 ops/sec)
Did 2400 ECDSA P-256 verify operations in 1059508us (2265.2 ops/sec)
After:
Did 4147 ECDH P-256 operations in 1061723us (3905.9 ops/sec)
Did 9372 ECDSA P-256 signing operations in 1040589us (9006.4 ops/sec)
Did 4114 ECDSA P-256 verify operations in 1063478us (3868.4 ops/sec)
Change-Id: I11fabb03239cc3a7c4a97325ed4e4c97421f91a9
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/scoped_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/test/scoped_types.h b/crypto/test/scoped_types.h index d4e69517..69c64231 100644 --- a/crypto/test/scoped_types.h +++ b/crypto/test/scoped_types.h @@ -80,6 +80,7 @@ using ScopedDH = ScopedOpenSSLType<DH, DH_free>; using ScopedECDSA_SIG = ScopedOpenSSLType<ECDSA_SIG, ECDSA_SIG_free>; using ScopedEC_GROUP = ScopedOpenSSLType<EC_GROUP, EC_GROUP_free>; using ScopedEC_KEY = ScopedOpenSSLType<EC_KEY, EC_KEY_free>; +using ScopedEC_POINT = ScopedOpenSSLType<EC_POINT, EC_POINT_free>; using ScopedEVP_PKEY = ScopedOpenSSLType<EVP_PKEY, EVP_PKEY_free>; using ScopedPKCS8_PRIV_KEY_INFO = ScopedOpenSSLType<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free>; |