Lines Matching refs:std
30 bool Encrypt(const std::vector<uint8_t> &key, const uint8_t *iv, in Encrypt()
38 bool Decrypt(const std::vector<uint8_t> &key, const uint8_t *iv, in Decrypt()
90 std::string Errno();
92 void DeleteRecursively(const std::string &path);
94 void RandomBytesForTesting(std::vector<uint8_t> &bytes);
96 std::vector<uint8_t> GenerateTestKey(size_t size);
98 std::string BytesToHex(const std::vector<uint8_t> &bytes);
101 static inline std::string BytesToHex(const uint8_t (&array)[N]) { in BytesToHex()
102 return BytesToHex(std::vector<uint8_t>(&array[0], &array[N])); in BytesToHex()
114 std::string fs_blk_device;
115 std::string type;
117 std::string raw_blk_device;
120 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info);
122 bool VerifyDataRandomness(const std::vector<uint8_t> &bytes);
124 bool CreateHwWrappedKey(std::vector<uint8_t> *master_key,
125 std::vector<uint8_t> *exported_key);
127 bool DeriveHwWrappedEncryptionKey(const std::vector<uint8_t> &master_key,
128 std::vector<uint8_t> *enc_key);
130 bool DeriveHwWrappedRawSecret(const std::vector<uint8_t> &master_key,
131 std::vector<uint8_t> *secret);