HomeSort by relevance Sort by last modified time
    Searched refs:SecureBlob (Results 1 - 3 of 3) sorted by null

  /external/libbrillo/brillo/
secure_blob.cc 33 SecureBlob::SecureBlob(const Blob& blob)
34 : SecureBlob(blob.begin(), blob.end()) {}
36 SecureBlob::SecureBlob(const std::string& data)
37 : SecureBlob(data.begin(), data.end()) {}
39 SecureBlob::~SecureBlob() {
43 void SecureBlob::resize(size_type count) {
50 void SecureBlob::resize(size_type count, const value_type& value)
    [all...]
secure_blob.h 27 // SecureBlob erases the contents on destruction. It does not guarantee erasure
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)
    [all...]
secure_blob_unittest.cc 5 // Unit tests for SecureBlob.
53 static bool FindBlobInBlob(const brillo::SecureBlob& haystack,
54 const brillo::SecureBlob& needle) {
60 static int FindBlobIndexInBlob(const brillo::SecureBlob& haystack,
61 const brillo::SecureBlob& needle) {
75 // Checks that allocating a SecureBlob of a specified size works.
76 SecureBlob blob(32);
82 // Checks that constructing a SecureBlob with |count| copies of |value| works.
83 SecureBlob blob(32, 'a');
91 // This test will become important once SecureBlob stops inheriting from Blob
    [all...]

Completed in 164 milliseconds