Home
last modified time | relevance | path

Searched refs:ScopedKeyHandle (Results 1 – 6 of 6) sorted by relevance

/system/tpm/trunks/
Dscoped_key_handle.cc31 ScopedKeyHandle::ScopedKeyHandle(const TrunksFactory& factory) in ScopedKeyHandle() function in trunks::ScopedKeyHandle
35 ScopedKeyHandle::ScopedKeyHandle(const TrunksFactory& factory, in ScopedKeyHandle() function in trunks::ScopedKeyHandle
40 ScopedKeyHandle::~ScopedKeyHandle() { in ~ScopedKeyHandle()
46 TPM_HANDLE ScopedKeyHandle::release() { in release()
52 void ScopedKeyHandle::reset(TPM_HANDLE new_handle) { in reset()
60 void ScopedKeyHandle::reset() { in reset()
64 TPM_HANDLE* ScopedKeyHandle::ptr() { in ptr()
68 TPM_HANDLE ScopedKeyHandle::get() const { in get()
72 void ScopedKeyHandle::FlushHandleContext(TPM_HANDLE handle) { in FlushHandleContext()
Dscoped_key_handle.h29 class TRUNKS_EXPORT ScopedKeyHandle {
33 explicit ScopedKeyHandle(const TrunksFactory& factory);
34 ScopedKeyHandle(const TrunksFactory& factory, TPM_HANDLE handle);
35 virtual ~ScopedKeyHandle();
66 DISALLOW_COPY_AND_ASSIGN(ScopedKeyHandle);
Dscoped_key_handle_test.cc53 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F()
60 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F()
66 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F()
74 ScopedKeyHandle scoped_handle(factory_, old_handle); in TEST_F()
86 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F()
Dtrunks_client_test.h131 bool LoadSigningKey(ScopedKeyHandle* key_handle, std::string* public_key);
135 bool SignAndVerify(const ScopedKeyHandle& key_handle,
Dtrunks_client_test.cc121 ScopedKeyHandle scoped_key(*factory_.get(), signing_key); in SignTest()
162 ScopedKeyHandle scoped_key(*factory_.get(), decrypt_key); in DecryptTest()
193 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in ImportTest()
220 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in AuthChangeTest()
282 ScopedKeyHandle certify_key(*factory_.get(), key_handle); in VerifyKeyCreationTest()
283 ScopedKeyHandle alternate_key(*factory_.get(), alternate_key_handle); in VerifyKeyCreationTest()
447 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyAuthValueTest()
575 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyAndTest()
755 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyOrTest()
890 std::vector<std::unique_ptr<ScopedKeyHandle>> key_handles; in ManyKeysTest()
[all …]
Dtpm_utility_impl.cc1115 ScopedKeyHandle sealed_object(factory_, object_handle); in UnsealData()
1539 ScopedKeyHandle rsa_key(factory_, object_handle); in CreateStorageRootKeys()
1592 ScopedKeyHandle ecc_key(factory_, object_handle); in CreateStorageRootKeys()
1686 ScopedKeyHandle key(factory_, key_handle); in CreateSaltingKey()