Home
last modified time | relevance | path

Searched refs:scoped_key (Results 1 – 2 of 2) sorted by relevance

/system/tpm/trunks/
Dtrunks_client_test.cc121 ScopedKeyHandle scoped_key(factory_, signing_key); in SignTest() local
162 ScopedKeyHandle scoped_key(factory_, decrypt_key); in DecryptTest() local
163 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, in DecryptTest()
192 ScopedKeyHandle scoped_key(factory_, key_handle); in ImportTest() local
193 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, in ImportTest()
219 ScopedKeyHandle scoped_key(factory_, key_handle); in AuthChangeTest() local
233 scoped_key.reset(key_handle); in AuthChangeTest()
234 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, in AuthChangeTest()
443 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyAuthValueTest() local
462 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAuthValueTest()
[all …]
/system/tpm/attestation/common/
Dtpm_utility_v1.cc643 ScopedByteArray scoped_key(parsed.pubKey.key); in ConvertPublicKeyToDER() local