Home
last modified time | relevance | path

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

/ohos5.0/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 …
98 KeyAgreeResult KeyAgreeStartSession(KeyAgreeSession *session, const KeyAgreeBlob *sharedSecret,
100 KeyAgreeResult KeyAgreeGenerateNextMessage(KeyAgreeSession *session, const KeyAgreeBlob *messageRec…
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);
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Dkey_agree_sdk_test.cpp56 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), 0); in SetUpTestCase()
222 g_session = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
223 g_session_s = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
584 g_session = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
585 g_session_s = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
631 g_session = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
632 g_session_s = (KeyAgreeSession *)HcMalloc(sizeof(KeyAgreeSession), 0); in SetUpTestCase()
[all …]
/ohos5.0/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 … in KeyAgreeInitSession()
191 KeyAgreeResult KeyAgreeStartSession(KeyAgreeSession *session, const KeyAgreeBlob *sharedSecret, in KeyAgreeStartSession()
217 KeyAgreeResult KeyAgreeGenerateNextMessage(KeyAgreeSession *session, const KeyAgreeBlob *messageRec… 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()