Lines Matching refs:hmac_session
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()
725 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); in PolicyOrTest() local
726 result = hmac_session->StartUnboundSession(true); in PolicyOrTest()
738 kNoCreationPCR, hmac_session->GetDelegate(), &key_blob, nullptr); in PolicyOrTest()
744 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyOrTest()
752 hmac_session.reset(); in PolicyOrTest()