Lines Matching refs:scoped_key
121 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()
473 result = utility->Verify(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAuthValueTest()
480 result = utility->AsymmetricEncrypt(scoped_key.get(), TPM_ALG_NULL, in PolicyAuthValueTest()
496 result = utility->AsymmetricDecrypt(scoped_key.get(), TPM_ALG_NULL, in PolicyAuthValueTest()
575 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyAndTest() local
599 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
631 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
638 result = utility->Verify(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
755 ScopedKeyHandle scoped_key(*factory_.get(), key_handle); in PolicyOrTest() local
811 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyOrTest()