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

Unified Diff: secure_blob.h

Issue 2645008: Update on feedback, update dbus API, add unit tests. TEST=manual,unit,BVT BUG=3628 323 (Closed) Base URL: ssh://git@chromiumos-git/cryptohome.git
Patch Set: Address second round of feedback. Created 10 years, 6 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 | « platform.cc ('k') | secure_blob.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: secure_blob.h
diff --git a/secure_blob.h b/secure_blob.h
index aa5afd1ac8582adaa2581e48a1e72cf67bb16c55..f8c65eff295ca049a18bb4a6ee5c961834baf63b 100644
--- a/secure_blob.h
+++ b/secure_blob.h
@@ -5,7 +5,7 @@
#ifndef SECURE_BLOB_H_
#define SECURE_BLOB_H_
-#include "chromeos/utility.h"
+#include <chromeos/utility.h>
namespace cryptohome {
@@ -19,10 +19,15 @@ class SecureBlob : public chromeos::Blob {
SecureBlob(chromeos::Blob::const_iterator begin,
chromeos::Blob::const_iterator end);
explicit SecureBlob(int size);
+ SecureBlob(const unsigned char* from, int from_length);
+ SecureBlob(const char* from, int from_length);
virtual ~SecureBlob();
void resize(size_type sz);
void resize(size_type sz, const SecureBlobElement& x);
+
+ void* data();
+ const void* const_data() const;
};
} // cryptohome
« no previous file with comments | « platform.cc ('k') | secure_blob.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698