Searched refs:hmac_session (Results 1 - 2 of 2) sorted by relevance

/system/tpm/trunks/
H A Dtrunks_factory_for_test.h90 void set_hmac_session(HmacSession* hmac_session) { argument
91 hmac_session_ = hmac_session;
H A Dtrunks_client_test.cc38 #include "trunks/hmac_session.h"
420 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); local
421 result = hmac_session->StartUnboundSession(true);
431 kNoCreationPCR, hmac_session->GetDelegate(), &key_blob, nullptr);
438 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle);
445 // Now we can reset the hmac_session.
446 hmac_session.reset();
545 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); local
546 result = hmac_session->StartUnboundSession(true);
558 kNoCreationPCR, hmac_session
725 std::unique_ptr<HmacSession> hmac_session = factory_.GetHmacSession(); local
[all...]

Completed in 71 milliseconds