Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: crypto/crypto.gyp

Issue 8413024: Add ECPrivateKey for Elliptic Curve keypair generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: crypto/crypto.gyp
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp
index 7b031b2993c1147aab67c18cdced7a2af3322a0e..87e9631a1aa1118def330783f29a395de4f2f7e9 100644
--- a/crypto/crypto.gyp
+++ b/crypto/crypto.gyp
@@ -38,6 +38,7 @@
}, { # os_posix != 1 or OS == "mac"
'sources/': [
['exclude', '_nss\.cc$'],
+ ['include', 'ec_private_key_nss\.cc$'],
],
'sources!': [
'openpgp_symmetric_encryption.cc',
@@ -81,6 +82,7 @@
# TODO(joth): Use a glob to match exclude patterns once the
# OpenSSL file set is complete.
'sources!': [
+ 'ec_private_key_nss.cc',
'encryptor_nss.cc',
'hmac_nss.cc',
'nss_util.cc',
@@ -93,11 +95,14 @@
'symmetric_key_nss.cc',
'third_party/nss/blapi.h',
'third_party/nss/blapit.h',
+ 'third_party/nss/ec.h',
+ 'third_party/nss/ec.cc',
wtc 2011/11/04 22:41:26 For the header file, I suggest naming it something
mattm 2011/11/08 02:12:27 Done.
'third_party/nss/sha256.h',
'third_party/nss/sha512.cc',
],
}, {
'sources!': [
+ 'ec_private_key_openssl.cc',
'encryptor_openssl.cc',
'hmac_openssl.cc',
'openssl_util.cc',
@@ -117,6 +122,9 @@
'crypto_module_blocking_password_delegate.h',
'cssm_init.cc',
'cssm_init.h',
+ 'ec_private_key.h',
+ 'ec_private_key_nss.cc',
+ 'ec_private_key_openssl.cc',
'encryptor.cc',
'encryptor.h',
'encryptor_mac.cc',
@@ -170,6 +178,8 @@
'symmetric_key_win.cc',
'third_party/nss/blapi.h',
'third_party/nss/blapit.h',
+ 'third_party/nss/ec.h',
+ 'third_party/nss/ec.cc',
'third_party/nss/sha256.h',
'third_party/nss/sha512.cc',
],
@@ -182,6 +192,7 @@
'run_all_unittests.cc',
# Tests.
+ 'ec_private_key_unittest.cc',
'encryptor_unittest.cc',
'hmac_unittest.cc',
'rsa_private_key_unittest.cc',

Powered by Google App Engine
This is Rietveld 408576698