Searched refs:tokenFromPeer (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/device_auth/services/protocol/inc/iso_protocol/ |
H A D | iso_protocol_common.h | 52 int IsoServerGenSessionKeyAndCalToken(IsoBaseParams *params, const Uint8Buff *tokenFromPeer, Uint8B…
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_protocol_task/ |
H A D | iso_server_protocol_task.c | 180 Uint8Buff tokenFromPeer = { peerToken, ISO_TOKEN_LEN }; in CalTokenAndGenSessionKey() local 191 res = IsoServerGenSessionKeyAndCalToken(¶ms->baseParams, &tokenFromPeer, &tokenToPeer); in CalTokenAndGenSessionKey()
|
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 350 int IsoServerGenSessionKeyAndCalToken(IsoBaseParams *params, const Uint8Buff *tokenFromPeer, Uint8B… in IsoServerGenSessionKeyAndCalToken() argument 356 if (tokenFromPeer == NULL || tokenToPeer == NULL) { in IsoServerGenSessionKeyAndCalToken() 370 if (memcmp(tokenFromPeer->val, outHmac.val, outHmac.length) != 0) { in IsoServerGenSessionKeyAndCalToken()
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | deviceauth_interface_test.cpp | 845 Uint8Buff tokenFromPeer = { 0 }; variable 846 res = IsoServerGenSessionKeyAndCalToken(baseParams, &tokenFromPeer, nullptr); 849 res = IsoServerGenSessionKeyAndCalToken(baseParams, &tokenFromPeer, &tokenToPeer);
|