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.cpp347 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() argument
469 if (!DeriveHwWrappedEncryptionKey(master_key, enc_key)) return false; in CreateAndSetHwWrappedKey()
637 FscryptHkdfContext context, std::vector<uint8_t> &enc_key) { in DerivePerModeEncryptionKey() argument
646 return DeriveKey(master_key, hkdf_info, enc_key); in DerivePerModeEncryptionKey()
652 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.cpp403 std::vector<uint8_t> *enc_key) { in DeriveHwWrappedEncryptionKey() argument
416 enc_key); in DeriveHwWrappedEncryptionKey()
Dvts_kernel_encryption.h114 std::vector<uint8_t> *enc_key);