Home
last modified time | relevance | path

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 Diso_server_protocol_task.c83 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 Diso_client_protocol_task.c167 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 Diso_base_cur_task.h33 #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 Diso_protocol.c23 #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()