Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Diso_protocol.c363 Uint8Buff tokenS = { tokenValS, SHA256_LEN }; in ServerGenTokenProcEvent() local
364 res = IsoCalToken(impl, &tokenS, true); in ServerGenTokenProcEvent()
369 if (DeepCopyUint8Buff(&tokenS, &impl->params.tokenSelf) != HC_SUCCESS) { in ServerGenTokenProcEvent()
446 Uint8Buff tokenS = { tokenSVal, ISO_TOKEN_LEN }; in ClientGenTokenParseEvent() local
447 if (GetByteFromJson(inputEvent, FIELD_TOKEN_SERVER, tokenS.val, tokenS.length) != HC_SUCCESS) { in ClientGenTokenParseEvent()
459 if (DeepCopyUint8Buff(&tokenS, &params->tokenPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent()
469 Uint8Buff tokenS = { tokenValS, SHA256_LEN }; in ClientGenTokenProcEvent() local
470 int32_t res = IsoCalToken(impl, &tokenS, false); in ClientGenTokenProcEvent()
475 if ((impl->params.tokenPeer.length != tokenS.length) || in ClientGenTokenProcEvent()
476 (memcmp(impl->params.tokenPeer.val, tokenS.val, tokenS.length) != 0)) { in ClientGenTokenProcEvent()