Home
last modified time | relevance | path

Searched refs:SpekeSession (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/device_auth/services/key_agree_sdk/src/
H A Dkey_agree_session.c363 static int32_t FillExtraData(SpekeSession *spekeSession, const CJson *jsonMessage) in FillExtraData()
396 static int32_t FillPskAndDeviceId(SpekeSession *spekeSession) in FillPskAndDeviceId()
551 static int32_t PakeResponse(SpekeSession *spekeSession, KeyAgreeBlob *out) in PakeResponse()
572 static int32_t CheckPeerProtocolVersion(SpekeSession *spekeSession, CJson *inParams) in CheckPeerProtocolVersion()
588 static int32_t PakeConfirm(SpekeSession *spekeSession, CJson *inParams, KeyAgreeBlob *out) in PakeConfirm()
737 static int32_t InitSpekeSession(SpekeSession *spekeSession, KeyAgreeProtocol protocol) in InitSpekeSession()
782 static int32_t ProcessProtocolInitial(SpekeSession *spekeSession, KeyAgreeBlob *out) in ProcessProtocolInitial()
894 static int32_t CheckAndInitProtocol(SpekeSession *spekeSession, KeyAgreeProtocol protocol) in CheckAndInitProtocol()
933 void DestroySpekeSession(SpekeSession *spekeSession) in DestroySpekeSession()
946 SpekeSession *CreateSpekeSession(int32_t osAccountId) in CreateSpekeSession()
[all …]
H A Dkey_agree_sdk.c107 static int32_t InitKeyAgreeStartSessionParams(SpekeSession *spekeSession, const KeyAgreeBlob *share… in InitKeyAgreeStartSessionParams()
155 SpekeSession *spekeSession = CreateSpekeSession(osAccountId); in KeyAgreeInitSession()
203 SpekeSession *spekeSession = GetManagerInstance()->getSession(session); in KeyAgreeStartSession()
238 SpekeSession *spekeSession = GetManagerInstance()->getSession(session); in KeyAgreeGenerateNextMessage()
278 SpekeSession *spekeSession = sessionManager->getSession(session); in KeyAgreeIsFinish()
307 SpekeSession *spekeSession = sessionManager->getSession(session); in KeyAgreeGetResult()
338 SpekeSession *spekeSession = sessionManager->getSession(session); in KeyAgreeFreeSession()
H A Dkey_agree_session_manager.c26 SpekeSession *spekeSession;
76 static uint32_t AddSessionInner(KeyAgreeSession *session, SpekeSession *spekeSession) in AddSessionInner()
120 static SpekeSession *GetSessionInner(KeyAgreeSession *session) in GetSessionInner()
/ohos5.0/base/security/device_auth/services/key_agree_sdk/inc/
H A Dkey_agree_session.h91 } SpekeSession; typedef
97 SpekeSession *CreateSpekeSession(int32_t osAccountId);
98 void DestroySpekeSession(SpekeSession *spekeSession);
H A Dkey_agree_session_manager.h23 uint32_t (*addSession)(KeyAgreeSession *sessionId, SpekeSession *spekeSession);
25 SpekeSession *(*getSession)(KeyAgreeSession *sessionId);