Searched refs:tokenToPeer (Results 1 – 4 of 4) sorted by relevance
/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 | 123 static int PackDataForCalTokenServer(const IsoParams *params, const Uint8Buff *tokenToPeer, CJson *… in PackDataForCalTokenServer() argument 143 …ERR_AND_SET_RET(AddByteToJson(payload, FIELD_RETURN_CODE_MAC, tokenToPeer->val, tokenToPeer->lengt… in PackDataForCalTokenServer() 188 Uint8Buff tokenToPeer = { tokenSelf, ISO_TOKEN_LEN }; in CalTokenAndGenSessionKey() local 191 res = IsoServerGenSessionKeyAndCalToken(¶ms->baseParams, &tokenFromPeer, &tokenToPeer); in CalTokenAndGenSessionKey() 198 res = PackDataForCalTokenServer(params, &tokenToPeer, out); in CalTokenAndGenSessionKey()
|
/ohos5.0/base/security/device_auth/services/protocol/inc/iso_protocol/ |
H A D | iso_protocol_common.h | 52 …ssionKeyAndCalToken(IsoBaseParams *params, const Uint8Buff *tokenFromPeer, Uint8Buff *tokenToPeer);
|
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 350 …essionKeyAndCalToken(IsoBaseParams *params, const Uint8Buff *tokenFromPeer, Uint8Buff *tokenToPeer) in IsoServerGenSessionKeyAndCalToken() argument 356 if (tokenFromPeer == NULL || tokenToPeer == NULL) { in IsoServerGenSessionKeyAndCalToken() 387 res = params->loader->computeHmac(&keyParams, &messageBuf, tokenToPeer); in IsoServerGenSessionKeyAndCalToken()
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | deviceauth_interface_test.cpp | 848 Uint8Buff tokenToPeer = { 0 }; variable 849 res = IsoServerGenSessionKeyAndCalToken(baseParams, &tokenFromPeer, &tokenToPeer);
|