Searched refs:ScopedKeyHandle (Results 1 – 6 of 6) sorted by relevance
/system/tpm/trunks/ |
D | scoped_key_handle.cc | 31 ScopedKeyHandle::ScopedKeyHandle(const TrunksFactory& factory) in ScopedKeyHandle() function in trunks::ScopedKeyHandle 34 ScopedKeyHandle::ScopedKeyHandle(const TrunksFactory& factory, in ScopedKeyHandle() function in trunks::ScopedKeyHandle 38 ScopedKeyHandle::~ScopedKeyHandle() { in ~ScopedKeyHandle() 44 TPM_HANDLE ScopedKeyHandle::release() { in release() 50 void ScopedKeyHandle::reset(TPM_HANDLE new_handle) { in reset() 58 void ScopedKeyHandle::reset() { in reset() 62 TPM_HANDLE* ScopedKeyHandle::ptr() { in ptr() 66 TPM_HANDLE ScopedKeyHandle::get() const { in get() 70 void ScopedKeyHandle::FlushHandleContext(TPM_HANDLE handle) { in FlushHandleContext()
|
D | scoped_key_handle.h | 29 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);
|
D | scoped_key_handle_test.cc | 51 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F() 58 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F() 64 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F() 72 ScopedKeyHandle scoped_handle(factory_, old_handle); in TEST_F() 84 ScopedKeyHandle scoped_handle(factory_, handle); in TEST_F()
|
D | trunks_client_test.h | 129 bool LoadSigningKey(ScopedKeyHandle* key_handle, std::string* public_key); 133 bool SignAndVerify(const ScopedKeyHandle& key_handle,
|
D | trunks_client_test.cc | 123 ScopedKeyHandle scoped_key(factory_, signing_key); in SignTest() 164 ScopedKeyHandle scoped_key(factory_, decrypt_key); in DecryptTest() 194 ScopedKeyHandle scoped_key(factory_, key_handle); in ImportTest() 221 ScopedKeyHandle scoped_key(factory_, key_handle); in AuthChangeTest() 280 ScopedKeyHandle certify_key(factory_, key_handle); in VerifyKeyCreationTest() 281 ScopedKeyHandle alternate_key(factory_, alternate_key_handle); in VerifyKeyCreationTest() 445 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyAuthValueTest() 571 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyAndTest() 751 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyOrTest() 921 std::vector<std::unique_ptr<ScopedKeyHandle>> key_handles; in ManyKeysTest() [all …]
|
D | tpm_utility_impl.cc | 1076 ScopedKeyHandle sealed_object(factory_, object_handle); in UnsealData() 1547 ScopedKeyHandle rsa_key(factory_, object_handle); in CreateStorageRootKeys() 1590 ScopedKeyHandle ecc_key(factory_, object_handle); in CreateStorageRootKeys() 1673 ScopedKeyHandle key(factory_, key_handle); in CreateSaltingKey()
|