Searched refs:ISO_TOKEN_LEN (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 | 83 uint8_t *selfToken = (uint8_t *)HcMalloc(ISO_TOKEN_LEN, 0); in IsoServerStart() 88 Uint8Buff selfTokenBuf = { selfToken, ISO_TOKEN_LEN }; in IsoServerStart() 173 peerToken = (uint8_t *)HcMalloc(ISO_TOKEN_LEN, 0); in CalTokenAndGenSessionKey() 179 GOTO_ERR_AND_SET_RET(GetByteFromJson(in, FIELD_TOKEN, peerToken, ISO_TOKEN_LEN), res); in CalTokenAndGenSessionKey() 180 Uint8Buff tokenFromPeer = { peerToken, ISO_TOKEN_LEN }; in CalTokenAndGenSessionKey() 182 tokenSelf = (uint8_t *)HcMalloc(ISO_TOKEN_LEN, 0); in CalTokenAndGenSessionKey() 188 Uint8Buff tokenToPeer = { tokenSelf, ISO_TOKEN_LEN }; in CalTokenAndGenSessionKey()
|
H A D | iso_client_protocol_task.c | 167 uint8_t peerToken[ISO_TOKEN_LEN] = { 0 }; in CalculateTokenClient() 168 Uint8Buff peerTokenBuf = { peerToken, ISO_TOKEN_LEN }; in CalculateTokenClient() 170 uint8_t selfToken[ISO_TOKEN_LEN] = { 0 }; in CalculateTokenClient() 171 Uint8Buff selfTokenBuf = { selfToken, ISO_TOKEN_LEN }; in CalculateTokenClient()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/iso_task/ |
H A D | iso_base_cur_task.h | 33 #define ISO_TOKEN_LEN 32 macro
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | iso_protocol.c | 23 #define ISO_TOKEN_LEN 32 macro 445 uint8_t tokenSVal[ISO_TOKEN_LEN] = { 0 }; in ClientGenTokenParseEvent() 446 Uint8Buff tokenS = { tokenSVal, ISO_TOKEN_LEN }; in ClientGenTokenParseEvent() 530 uint8_t tokenCVal[ISO_TOKEN_LEN] = { 0 }; in ServerGenSessKeyParseEvent() 531 Uint8Buff tokenC = { tokenCVal, ISO_TOKEN_LEN }; in ServerGenSessKeyParseEvent()
|