Searched refs:enc_key (Results 1 – 4 of 4) sorted by relevance
344 bool CreateAndSetHwWrappedKey(std::vector<uint8_t> *enc_key,353 std::vector<uint8_t> &enc_key);356 std::vector<uint8_t> &enc_key);357 void VerifyCiphertext(const std::vector<uint8_t> &enc_key,361 const std::vector<uint8_t> &enc_key);453 bool FBEPolicyTest::CreateAndSetHwWrappedKey(std::vector<uint8_t> *enc_key, in CreateAndSetHwWrappedKey() argument466 if (!DeriveHwWrappedEncryptionKey(master_key, enc_key)) return false; in CreateAndSetHwWrappedKey()634 FscryptHkdfContext context, std::vector<uint8_t> &enc_key) { in DerivePerModeEncryptionKey() argument643 return DeriveKey(master_key, hkdf_info, enc_key); in DerivePerModeEncryptionKey()649 std::vector<uint8_t> &enc_key) { in DerivePerFileEncryptionKey() argument[all …]
286 std::vector<uint8_t> enc_key; in TEST_F() local287 ASSERT_TRUE(DeriveHwWrappedEncryptionKey(master_key, &enc_key)); in TEST_F()289 VerifyDecryption(enc_key, Aes256XtsCipher()); in TEST_F()
404 std::vector<uint8_t> *enc_key) { in DeriveHwWrappedEncryptionKey() argument417 enc_key); in DeriveHwWrappedEncryptionKey()
114 std::vector<uint8_t> *enc_key);