Searched refs:enc_key (Results 1 – 4 of 4) sorted by relevance
347 bool CreateAndSetHwWrappedKey(std::vector<uint8_t> *enc_key,356 std::vector<uint8_t> &enc_key);359 std::vector<uint8_t> &enc_key);360 void VerifyCiphertext(const std::vector<uint8_t> &enc_key,364 const std::vector<uint8_t> &enc_key);456 bool FBEPolicyTest::CreateAndSetHwWrappedKey(std::vector<uint8_t> *enc_key, in CreateAndSetHwWrappedKey() argument469 if (!DeriveHwWrappedEncryptionKey(master_key, enc_key)) return false; in CreateAndSetHwWrappedKey()637 FscryptHkdfContext context, std::vector<uint8_t> &enc_key) { in DerivePerModeEncryptionKey() argument646 return DeriveKey(master_key, hkdf_info, enc_key); in DerivePerModeEncryptionKey()652 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()
403 std::vector<uint8_t> *enc_key) { in DeriveHwWrappedEncryptionKey() argument416 enc_key); in DeriveHwWrappedEncryptionKey()
114 std::vector<uint8_t> *enc_key);