Searched refs:authIdLen (Results 1 - 5 of 5) sorted by relevance
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/ |
H A D | pake_task_common.c | 147 uint32_t authIdLen = HcStrlen(authId); in FillAuthId() local 148 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in FillAuthId() 149 LOGE("Invalid self authId length: %d.", authIdLen); in FillAuthId() 152 params->baseParams.idSelf.length = authIdLen; in FillAuthId() 169 authIdLen = HcStrlen(authId); in FillAuthId() 170 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in FillAuthId() 171 LOGE("Invalid peer authId length: %d.", authIdLen); in FillAuthId() 174 params->baseParams.idPeer.length = authIdLen; in FillAuthId() [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/ |
H A D | iso_task_common.c | 347 uint32_t authIdLen = HcStrlen(authId); in FillAuthId() local 348 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in FillAuthId() 349 LOGE("Invalid authIdSelfLen: %d.", authIdLen); in FillAuthId() 352 params->baseParams.authIdSelf.length = authIdLen; in FillAuthId() 373 authIdLen = HcStrlen(authId); in FillAuthId() 374 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in FillAuthId() 375 LOGE("Invalid authIdPeerLen %d.", authIdLen); in FillAuthId() 378 params->baseParams.authIdPeer.length = authIdLen; in FillAuthId() [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/ |
H A D | das_task_common.c | 470 uint32_t authIdLen = HcStrlen(authIdStr) / BYTE_TO_HEX_OPER_LENGTH; in GetIdPeer() local 471 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in GetIdPeer() 472 LOGE("Invalid authIdPeerLen: %u.", authIdLen); in GetIdPeer() 475 int32_t res = InitSingleParam(authIdPeer, authIdLen); in GetIdPeer()
|
/base/security/device_auth/services/key_agree_sdk/src/ |
H A D | key_agree_session.c | 55 uint32_t authIdLen = HcStrlen(authIdStr) / BYTE_TO_HEX_OPER_LENGTH; in GetIdPeer() local 56 if (authIdLen == 0 || authIdLen > MAX_AUTH_ID_LEN) { in GetIdPeer() 57 LOGE("Invalid authIdPeerLen: %u.", authIdLen); in GetIdPeer() 60 int32_t res = InitSingleParam(authIdPeer, authIdLen); in GetIdPeer()
|
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_group.c | 567 uint32_t authIdLen = HcStrlen(selfAuthId); in GetSelfAuthIdAndUserType() local 568 authIdBuff->val = (uint8_t *)HcMalloc(authIdLen + 1, 0); in GetSelfAuthIdAndUserType() 574 if (memcpy_s(authIdBuff->val, authIdLen + 1, selfAuthId, authIdLen) != EOK) { in GetSelfAuthIdAndUserType() 581 authIdBuff->length = authIdLen; in GetSelfAuthIdAndUserType()
|
Completed in 6 milliseconds