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

Unified Diff: crypto/encryptor.h

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 months 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
« no previous file with comments | « crypto/ec_signature_creator_nss.cc ('k') | crypto/encryptor_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/encryptor.h
diff --git a/crypto/encryptor.h b/crypto/encryptor.h
index f1a478ad844cb2a91f4530ea88c26a5f48aec592..f5a1031a50a9974c56465d9491a53f1754a617d5 100644
--- a/crypto/encryptor.h
+++ b/crypto/encryptor.h
@@ -15,10 +15,6 @@
#include "build/build_config.h"
#include "crypto/crypto_export.h"
-#if !defined(USE_OPENSSL)
-#include "crypto/scoped_nss_types.h"
-#endif
-
namespace crypto {
class SymmetricKey;
@@ -115,7 +111,6 @@ class CRYPTO_EXPORT Encryptor {
Mode mode_;
std::unique_ptr<Counter> counter_;
-#if defined(USE_OPENSSL)
bool Crypt(bool do_encrypt, // Pass true to encrypt, false to decrypt.
const base::StringPiece& input,
std::string* output);
@@ -123,15 +118,6 @@ class CRYPTO_EXPORT Encryptor {
const base::StringPiece& input,
std::string* output);
std::string iv_;
-#else
- bool Crypt(PK11Context* context,
- const base::StringPiece& input,
- std::string* output);
- bool CryptCTR(PK11Context* context,
- const base::StringPiece& input,
- std::string* output);
- ScopedSECItem param_;
-#endif
};
} // namespace crypto
« no previous file with comments | « crypto/ec_signature_creator_nss.cc ('k') | crypto/encryptor_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698