Home
last modified time | relevance | path

Searched refs:KeyAgreeSession (Results 1 - 5 of 5) sorted by relevance

/base/security/device_auth/services/key_agree_sdk/inc/
H A Dkey_agree_sdk.h28 } KeyAgreeSession; typedef
96 KeyAgreeResult KeyAgreeInitSession(int32_t osAccountId, KeyAgreeSession *session, KeyAgreeProtocol protocol,
98 KeyAgreeResult KeyAgreeStartSession(KeyAgreeSession *session, const KeyAgreeBlob *sharedSecret,
100 KeyAgreeResult KeyAgreeGenerateNextMessage(KeyAgreeSession *session, const KeyAgreeBlob *messageReceived,
102 KeyAgreeResult KeyAgreeIsFinish(KeyAgreeSession *session);
103 KeyAgreeResult KeyAgreeGetResult(KeyAgreeSession *session, KeyAgreeBlob *sessionKey);
104 void KeyAgreeFreeSession(KeyAgreeSession *session);
H A Dkey_agree_session_manager.h23 uint32_t (*addSession)(KeyAgreeSession *sessionId, SpekeSession *spekeSession);
24 uint32_t (*deleteSession)(KeyAgreeSession *sessionId);
25 SpekeSession *(*getSession)(KeyAgreeSession *sessionId);
/base/security/device_auth/test/unittest/deviceauth/source/
H A Dkey_agree_sdk_test.cpp33 static KeyAgreeSession *g_session;
34 static KeyAgreeSession *g_session_s;
56 g_session = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
57 g_session_s = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
137 g_session = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
138 g_session_s = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), in SetUpTestCase()
[all...]
/base/security/device_auth/services/key_agree_sdk/src/
H A Dkey_agree_session_manager.c25 KeyAgreeSession *session;
76 static uint32_t AddSessionInner(KeyAgreeSession *session, SpekeSession *spekeSession) in AddSessionInner()
96 static uint32_t DeleteSessionInner(KeyAgreeSession *session) in DeleteSessionInner()
120 static SpekeSession *GetSessionInner(KeyAgreeSession *session) in GetSessionInner()
H A Dkey_agree_sdk.c147 KeyAgreeResult KeyAgreeInitSession(int32_t osAccountId, KeyAgreeSession *session, KeyAgreeProtocol protocol, in KeyAgreeInitSession()
191 KeyAgreeResult KeyAgreeStartSession(KeyAgreeSession *session, const KeyAgreeBlob *sharedSecret, in KeyAgreeStartSession()
217 KeyAgreeResult KeyAgreeGenerateNextMessage(KeyAgreeSession *session, const KeyAgreeBlob *messageReceived, in KeyAgreeGenerateNextMessage()
266 KeyAgreeResult KeyAgreeIsFinish(KeyAgreeSession *session) in KeyAgreeIsFinish()
291 KeyAgreeResult KeyAgreeGetResult(KeyAgreeSession *session, KeyAgreeBlob *sessionKey) in KeyAgreeGetResult()
326 void KeyAgreeFreeSession(KeyAgreeSession *session) in KeyAgreeFreeSession()

Completed in 3 milliseconds