Home
last modified time | relevance | path

Searched refs:tokenFromPeer (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/device_auth/services/protocol/inc/iso_protocol/
H A Diso_protocol_common.h52 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 Diso_server_protocol_task.c180 Uint8Buff tokenFromPeer = { peerToken, ISO_TOKEN_LEN }; in CalTokenAndGenSessionKey() local
191 res = IsoServerGenSessionKeyAndCalToken(&params->baseParams, &tokenFromPeer, &tokenToPeer); in CalTokenAndGenSessionKey()
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/
H A Diso_protocol_common.c350 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 Ddeviceauth_interface_test.cpp845 Uint8Buff tokenFromPeer = { 0 }; variable
846 res = IsoServerGenSessionKeyAndCalToken(baseParams, &tokenFromPeer, nullptr);
849 res = IsoServerGenSessionKeyAndCalToken(baseParams, &tokenFromPeer, &tokenToPeer);