Lines Matching refs:std
30 bool Encrypt(const std::vector<uint8_t> &key, const uint8_t *iv, in Encrypt()
76 std::string Errno();
78 void DeleteRecursively(const std::string &path);
80 void RandomBytesForTesting(std::vector<uint8_t> &bytes);
82 std::vector<uint8_t> GenerateTestKey(size_t size);
84 std::string BytesToHex(const std::vector<uint8_t> &bytes);
87 static inline std::string BytesToHex(const uint8_t (&array)[N]) { in BytesToHex()
88 return BytesToHex(std::vector<uint8_t>(&array[0], &array[N])); in BytesToHex()
100 std::string fs_blk_device;
101 std::string type;
103 std::string raw_blk_device;
106 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info);
108 bool VerifyDataRandomness(const std::vector<uint8_t> &bytes);
110 bool CreateHwWrappedKey(std::vector<uint8_t> *master_key,
111 std::vector<uint8_t> *exported_key);
113 bool DeriveHwWrappedEncryptionKey(const std::vector<uint8_t> &master_key,
114 std::vector<uint8_t> *enc_key);
116 bool DeriveHwWrappedRawSecret(const std::vector<uint8_t> &master_key,
117 std::vector<uint8_t> *secret);