Lines Matching refs:scoped_key

121   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()
469 result = utility->Verify(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAuthValueTest()
477 utility->AsymmetricEncrypt(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAuthValueTest()
492 scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, ciphertext, in PolicyAuthValueTest()
569 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyAndTest() local
593 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
625 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
632 result = utility->Verify(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyAndTest()
749 ScopedKeyHandle scoped_key(factory_, key_handle); in PolicyOrTest() local
805 result = utility->Sign(scoped_key.get(), TPM_ALG_NULL, TPM_ALG_NULL, in PolicyOrTest()