Searched refs:hkdfSaltLen (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/ |
H A D | iso_task_common.c | 38 uint32_t hkdfSaltLen = params->baseParams.randPeer.length + params->baseParams.randPeer.length; in GenerateReturnKey() local 40 uint8_t *hkdfSalt = (uint8_t *)HcMalloc(hkdfSaltLen, 0); in GenerateReturnKey() 45 if (memcpy_s(hkdfSalt, hkdfSaltLen, params->baseParams.randSelf.val, in GenerateReturnKey() 51 …if (memcpy_s(hkdfSalt + params->baseParams.randSelf.length, hkdfSaltLen - params->baseParams.randS… in GenerateReturnKey() 58 if (memcpy_s(hkdfSalt, hkdfSaltLen, params->baseParams.randPeer.val, in GenerateReturnKey() 64 …if (memcpy_s(hkdfSalt + params->baseParams.randPeer.length, hkdfSaltLen - params->baseParams.randP… in GenerateReturnKey() 71 Uint8Buff hkdfSaltBuf = { hkdfSalt, hkdfSaltLen }; in GenerateReturnKey()
|
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 215 uint32_t hkdfSaltLen = params->randPeer.length + params->randSelf.length; in IsoGenSessionKey() local 216 uint8_t *hkdfSalt = (uint8_t *)HcMalloc(hkdfSaltLen, 0); in IsoGenSessionKey() 221 Uint8Buff hkdfSaltBuf = { hkdfSalt, hkdfSaltLen }; in IsoGenSessionKey()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | iso_protocol.c | 212 uint32_t hkdfSaltLen = impl->params.randPeer.length + impl->params.randSelf.length; in IsoGenSessionKey() local 213 uint8_t *hkdfSalt = (uint8_t *)HcMalloc(hkdfSaltLen, 0); in IsoGenSessionKey() 218 Uint8Buff hkdfSaltBuf = { hkdfSalt, hkdfSaltLen }; in IsoGenSessionKey()
|