diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 20:37:27 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 20:37:27 +0000 |
commit | e0faab534a55740aa26e5025baaab9d20537e575 (patch) | |
tree | 2585ecc37839376a10d38824c38c9cba52d80431 /crypto/crypto.gyp | |
parent | 68d4743c92ccca8b2f87c7891733c021d921aa1a (diff) | |
download | chromium_src-e0faab534a55740aa26e5025baaab9d20537e575.zip chromium_src-e0faab534a55740aa26e5025baaab9d20537e575.tar.gz chromium_src-e0faab534a55740aa26e5025baaab9d20537e575.tar.bz2 |
crypto: add OpenPGP symmetric encryption for ChromeOS
This contains a basic implementation of OpenPGP (RFC 4880) symmetric
encryption and decryption. It's written specifically on top of OpenSSL,
which should suffice for the intended use case.
BUG=none
TEST=crypto_unittest
Review URL: http://codereview.chromium.org/7247005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90633 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/crypto.gyp')
-rw-r--r-- | crypto/crypto.gyp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp index 7311ace..b6e1f65 100644 --- a/crypto/crypto.gyp +++ b/crypto/crypto.gyp @@ -92,6 +92,7 @@ 'sources!': [ 'encryptor_openssl.cc', 'hmac_openssl.cc', + 'openpgp_symmetric_encryption_openssl.cc', 'openssl_util.cc', 'openssl_util.h', 'rsa_private_key_openssl.cc', @@ -123,13 +124,15 @@ 'hmac_win.cc', 'mac_security_services_lock.cc', 'mac_security_services_lock.h', - 'openssl_util.cc', - 'openssl_util.h', 'nss_util.cc', 'nss_util.h', 'nss_util_internal.h', - 'rsa_private_key.h', + 'openpgp_symmetric_encryption_openssl.cc', + 'openpgp_symmetric_encryption.h', + 'openssl_util.cc', + 'openssl_util.h', 'rsa_private_key.cc', + 'rsa_private_key.h', 'rsa_private_key_mac.cc', 'rsa_private_key_nss.cc', 'rsa_private_key_openssl.cc', @@ -179,6 +182,7 @@ 'signature_creator_unittest.cc', 'signature_verifier_unittest.cc', 'symmetric_key_unittest.cc', + 'openpgp_symmetric_encryption_test_openssl.cc', ], 'dependencies': [ 'crypto', @@ -214,6 +218,10 @@ 'sources!': [ 'rsa_private_key_nss_unittest.cc', ], + }, { + 'sources!': [ + 'openpgp_symmetric_encryption_test_openssl.cc', + ], }], ], }, |