Searched refs:SecureBlob (Results 1 – 3 of 3) sorted by relevance
/external/libbrillo/brillo/ |
D | secure_blob.cc | 33 SecureBlob::SecureBlob(const Blob& blob) in SecureBlob() function in brillo::SecureBlob 34 : SecureBlob(blob.begin(), blob.end()) {} in SecureBlob() 36 SecureBlob::SecureBlob(const std::string& data) in SecureBlob() function in brillo::SecureBlob 37 : SecureBlob(data.begin(), data.end()) {} in SecureBlob() 39 SecureBlob::~SecureBlob() { in ~SecureBlob() 43 void SecureBlob::resize(size_type count) { in resize() 50 void SecureBlob::resize(size_type count, const value_type& value) { in resize() 57 void SecureBlob::clear() { in clear() 62 std::string SecureBlob::to_string() const { in to_string() 66 SecureBlob SecureBlob::Combine(const SecureBlob& blob1, in Combine() [all …]
|
D | secure_blob_unittest.cc | 53 static bool FindBlobInBlob(const brillo::SecureBlob& haystack, in FindBlobInBlob() 54 const brillo::SecureBlob& needle) { in FindBlobInBlob() 60 static int FindBlobIndexInBlob(const brillo::SecureBlob& haystack, in FindBlobIndexInBlob() 61 const brillo::SecureBlob& needle) { in FindBlobIndexInBlob() 76 SecureBlob blob(32); in TEST_F() 83 SecureBlob blob(32, 'a'); in TEST_F() 92 SecureBlob blob(32, 0); in TEST_F() 104 SecureBlob blob(std::begin(from_data), std::end(from_data)); in TEST_F() 117 const SecureBlob secure_blob(blob); in TEST_F() 127 SecureBlob blob(std::begin(from_data), std::end(from_data)); in TEST_F() [all …]
|
D | secure_blob.h | 29 class BRILLO_EXPORT SecureBlob : public Blob { 31 SecureBlob() = default; 33 explicit SecureBlob(const Blob& blob); 34 explicit SecureBlob(const std::string& data); 35 ~SecureBlob(); 46 static SecureBlob Combine(const SecureBlob& blob1, const SecureBlob& blob2); 48 SecureBlob* output);
|