Home
last modified time | relevance | path

Searched defs:master_key (Results 1 – 3 of 3) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp593 bool FBEPolicyTest::SetMasterKey(const std::vector<uint8_t> &master_key, in SetMasterKey()
636 std::vector<uint8_t> master_key, exported_key; in CreateAndSetHwWrappedKey() local
818 static bool DeriveKey(const std::vector<uint8_t> &master_key, in DeriveKey()
835 const std::vector<uint8_t> &master_key) { in VerifyKeyIdentifier()
850 const std::vector<uint8_t> &master_key, int mode, in DerivePerModeEncryptionKey()
865 const std::vector<uint8_t> &master_key, const FscryptFileNonce &nonce, in DerivePerFileEncryptionKey()
876 static bool HashInodeNumber(const std::vector<uint8_t> &master_key, in HashInodeNumber()
963 static bool InitIVForInoLblk32(const std::vector<uint8_t> &master_key, in InitIVForInoLblk32()
975 auto master_key = GenerateTestKey(kFscryptMasterKeySize); in TestAesPerFileKeysPolicy() local
1008 auto master_key = GenerateTestKey(kFscryptMasterKeySize); in TestAesInlineCryptOptimizedPolicy() local
[all …]
Dutils.cpp522 bool CreateHwWrappedKey(std::vector<uint8_t> *master_key, in CreateHwWrappedKey()
617 KdfVariant kdf_id, const std::vector<uint8_t> &master_key, in DeriveHwWrappedEncryptionKeyByKdfId()
626 bool DeriveHwWrappedEncryptionKey(const std::vector<uint8_t> &master_key, in DeriveHwWrappedEncryptionKey()
636 KdfVariant kdf_id, const std::vector<uint8_t> &master_key, in DeriveHwWrappedRawSecretByKdfId()
645 bool DeriveHwWrappedRawSecret(const std::vector<uint8_t> &master_key, in DeriveHwWrappedRawSecret()
716 const std::vector<uint8_t> master_key = { in TEST() local
Dmetadata_encryption_tests.cpp279 std::vector<uint8_t> master_key, exported_key; in TEST_F() local