HomeSort by relevance Sort by last modified time
    Searched refs:sealed_key (Results 1 - 5 of 5) sorted by null

  /system/tpm/attestation/common/
crypto_utility.h 35 // |sealed_key|. Returns true on success.
37 std::string* sealed_key) = 0;
39 // Encrypts the given |data| using the |aes_key|. The |sealed_key| will be
45 const std::string& sealed_key,
48 // Extracts and unseals the |aes_key| from the |sealed_key| embedded in
49 // the given |encrypted_data|. The |sealed_key| is also provided as an output
54 std::string* sealed_key) = 0;
mock_crypto_utility.h 36 std::string* sealed_key));
40 const std::string& sealed_key,
45 std::string* sealed_key));
crypto_utility_impl_test.cc 86 std::string sealed_key; local
87 EXPECT_TRUE(crypto_utility_->CreateSealedKey(&key, &sealed_key));
90 EXPECT_TRUE(crypto_utility_->EncryptData(data, key, sealed_key,
93 sealed_key.clear();
95 EXPECT_TRUE(crypto_utility_->UnsealKey(encrypted_data, &key, &sealed_key));
104 std::string sealed_key; local
105 EXPECT_FALSE(crypto_utility_->CreateSealedKey(&key, &sealed_key));
crypto_utility_impl.h 39 bool CreateSealedKey(std::string* aes_key, std::string* sealed_key) override;
42 const std::string& sealed_key,
46 std::string* sealed_key) override;
crypto_utility_impl.cc 83 std::string* sealed_key) {
88 if (!tpm_utility_->SealToPCR0(*aes_key, sealed_key)) {
97 const std::string& sealed_key,
110 encrypted_pb.set_wrapped_key(sealed_key);
123 std::string* sealed_key) {
129 *sealed_key = encrypted_pb.wrapped_key();
130 if (!tpm_utility_->Unseal(*sealed_key, aes_key)) {

Completed in 47 milliseconds