Home
last modified time | relevance | path

Searched refs:enc_key (Results 1 – 4 of 4) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp344 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() argument
466 if (!DeriveHwWrappedEncryptionKey(master_key, enc_key)) return false; in CreateAndSetHwWrappedKey()
634 FscryptHkdfContext context, std::vector<uint8_t> &enc_key) { in DerivePerModeEncryptionKey() argument
643 return DeriveKey(master_key, hkdf_info, enc_key); in DerivePerModeEncryptionKey()
649 std::vector<uint8_t> &enc_key) { in DerivePerFileEncryptionKey() argument
[all …]
Dmetadata_encryption_tests.cpp286 std::vector<uint8_t> enc_key; in TEST_F() local
287 ASSERT_TRUE(DeriveHwWrappedEncryptionKey(master_key, &enc_key)); in TEST_F()
289 VerifyDecryption(enc_key, Aes256XtsCipher()); in TEST_F()
Dutils.cpp404 std::vector<uint8_t> *enc_key) { in DeriveHwWrappedEncryptionKey() argument
417 enc_key); in DeriveHwWrappedEncryptionKey()
Dvts_kernel_encryption.h114 std::vector<uint8_t> *enc_key);