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

Unified Diff: crypto/hmac.h

Issue 1924093006: Removing crypto/third_party/nss/ and removing crypto _win files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused sources. 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/crypto_nacl.gyp ('k') | crypto/hmac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/hmac.h
diff --git a/crypto/hmac.h b/crypto/hmac.h
index ec32ed7cd1c56d63a78fe2694b9dc4ae22d53d30..24213338cc0b2a1bbae3bf24edadd48463b9a635 100644
--- a/crypto/hmac.h
+++ b/crypto/hmac.h
@@ -11,6 +11,7 @@
#include <stddef.h>
#include <memory>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -20,7 +21,6 @@
namespace crypto {
// Simplify the interface and reduce includes by abstracting out the internals.
-struct HMACPlatformData;
class SymmetricKey;
class CRYPTO_EXPORT HMAC {
@@ -86,7 +86,8 @@ class CRYPTO_EXPORT HMAC {
private:
HashAlgorithm hash_alg_;
- std::unique_ptr<HMACPlatformData> plat_;
+ bool initialized_;
+ std::vector<unsigned char> key_;
DISALLOW_COPY_AND_ASSIGN(HMAC);
};
« no previous file with comments | « crypto/crypto_nacl.gyp ('k') | crypto/hmac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698