Searched refs:hmac_session (Results 1 – 2 of 2) sorted by relevance
/system/tpm/trunks/ |
D | trunks_factory_for_test.h | 90 void set_hmac_session(HmacSession* hmac_session) { in set_hmac_session() argument 91 hmac_session_ = hmac_session; in set_hmac_session()
|
D | trunks_client_test.cc | 420 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); in PolicyAuthValueTest() local 421 result = hmac_session->StartUnboundSession(true); in PolicyAuthValueTest() 431 kNoCreationPCR, hmac_session->GetDelegate(), &key_blob, nullptr); in PolicyAuthValueTest() 438 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyAuthValueTest() 446 hmac_session.reset(); in PolicyAuthValueTest() 545 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); in PolicyAndTest() local 546 result = hmac_session->StartUnboundSession(true); in PolicyAndTest() 558 kNoCreationPCR, hmac_session->GetDelegate(), &key_blob, nullptr); in PolicyAndTest() 564 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyAndTest() 572 hmac_session.reset(); in PolicyAndTest() [all …]
|