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_.get(), signing_key); in SignTest() local
162 ScopedKeyHandle scoped_key(*factory_.get(), decrypt_key); in DecryptTest() local
163 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), in DecryptTest()
193 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in ImportTest() local
194 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, in ImportTest()
220 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in AuthChangeTest() local
235 scoped_key.reset(key_handle); in AuthChangeTest()
236 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, in AuthChangeTest()
447 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyAuthValueTest() local
466 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAuthValueTest()
[all …]
/system/tpm/attestation/common/
Dtpm_utility_v1.cc690 ScopedByteArray scoped_key(parsed.pubKey.key); in ConvertPublicKeyToDER() local