diff options
author | David Benjamin <davidben@chromium.org> | 2015-04-15 22:56:27 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-16 00:11:56 +0300 |
commit | daf2c5dc0c865c6c52cbeea1448a9c471e9d192a (patch) | |
tree | 8cb4786fb4dc3436ca8dcc4a3a98f0820acdbb52 /crypto/test | |
parent | e65855c36f354e62f6368266abc5a1604d21c385 (diff) |
Convert ecdsa_test to C++.
Change-Id: I3bcfc9d29fb3b5eed3d578eb4879b815458f20c0
Reviewed-on: https://boringssl-review.googlesource.com/4351
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/scoped_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/test/scoped_types.h b/crypto/test/scoped_types.h index bb8359c3..d4e69517 100644 --- a/crypto/test/scoped_types.h +++ b/crypto/test/scoped_types.h @@ -20,6 +20,9 @@ #include <openssl/bio.h> #include <openssl/bn.h> #include <openssl/dh.h> +#include <openssl/ec.h> +#include <openssl/ec_key.h> +#include <openssl/ecdsa.h> #include <openssl/evp.h> #include <openssl/hmac.h> #include <openssl/mem.h> @@ -74,6 +77,9 @@ using ScopedBIGNUM = ScopedOpenSSLType<BIGNUM, BN_free>; using ScopedBN_CTX = ScopedOpenSSLType<BN_CTX, BN_CTX_free>; using ScopedBN_MONT_CTX = ScopedOpenSSLType<BN_MONT_CTX, BN_MONT_CTX_free>; 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 ScopedEVP_PKEY = ScopedOpenSSLType<EVP_PKEY, EVP_PKEY_free>; using ScopedPKCS8_PRIV_KEY_INFO = ScopedOpenSSLType<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free>; |