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

  /external/libbrillo/brillo/
secure_blob.h 17 // SecureBlob erases the contents on destruction. It does not guarantee erasure
19 class BRILLO_EXPORT SecureBlob : public Blob {
21 SecureBlob() = default;
23 explicit SecureBlob(const std::string& data);
24 ~SecureBlob();
35 static SecureBlob Combine(const SecureBlob& blob1, const SecureBlob& blob2);
secure_blob.cc 13 SecureBlob::SecureBlob(const std::string& data)
14 : SecureBlob(data.begin(), data.end()) {}
16 SecureBlob::~SecureBlob() {
20 void SecureBlob::resize(size_type count) {
27 void SecureBlob::resize(size_type count, const value_type& value) {
34 void SecureBlob::clear() {
39 std::string SecureBlob::to_string() const {
43 SecureBlob SecureBlob::Combine(const SecureBlob& blob1
    [all...]
secure_blob_unittest.cc 5 // Unit tests for SecureBlob.
46 // Check that allocating a SecureBlob of a specified size works
47 SecureBlob blob(32);
53 // Check that allocating a SecureBlob with an iterator works
57 SecureBlob blob(std::begin(from_data), std::end(from_data));
67 // Check that allocating a SecureBlob with an iterator works
73 SecureBlob blob(from_blob.begin(), from_blob.end());
80 // Check that resizing a SecureBlob wipes the excess memory. The test assumes
82 // will still be part of the SecureBlob's allocation
84 SecureBlob blob(length)
    [all...]
  /system/webservd/webservd/
utils.h 41 brillo::SecureBlob StoreRSAPrivateKey(RSA* rsa_key_pair);
44 bool ValidateRSAPrivateKey(const brillo::SecureBlob& key);
config.h 48 brillo::SecureBlob private_key;
server.h 85 brillo::SecureBlob TLS_private_key_;
server.cc 61 brillo::SecureBlob LoadAndValidatePrivateKey(const base::FilePath& key_file,
69 brillo::SecureBlob key{key_data};
181 brillo::SecureBlob private_key =
utils.cc 96 brillo::SecureBlob StoreRSAPrivateKey(RSA* rsa_key_pair) {
106 brillo::SecureBlob key_blob(buffer, buffer + size);
111 bool ValidateRSAPrivateKey(const brillo::SecureBlob& key) {
protocol_handler.cc 250 brillo::SecureBlob private_key_copy = config->private_key;
  /system/tpm/attestation/server/
pkcs11_key_store_test.cc 178 virtual uint32_t CreateObject(const brillo::SecureBlob& isolate,
191 virtual uint32_t DestroyObject(const brillo::SecureBlob& isolate,
202 virtual uint32_t GetAttributeValue(const brillo::SecureBlob& isolate,
229 const brillo::SecureBlob& isolate,
239 virtual uint32_t FindObjectsInit(const brillo::SecureBlob& isolate,
263 virtual uint32_t FindObjects(const brillo::SecureBlob& isolate,

Completed in 109 milliseconds