Home
last modified time | relevance | path

Searched refs:deviceUuidLength (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h46 uint8_t *localDeviceId, uint32_t deviceUuidLength);
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dpin_auth.cpp152 static constexpr uint32_t deviceUuidLength = 65; in GenerateAlgoParameter() local
153 char localDeviceId[deviceUuidLength] = {0}; in GenerateAlgoParameter()
154 if (GetDevUdid(localDeviceId, deviceUuidLength) != EC_SUCCESS) { in GenerateAlgoParameter()
161 (uint8_t *)&(localDeviceId[0]), deviceUuidLength); in GenerateAlgoParameter()
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c1075 uint8_t *localDeviceId, uint32_t deviceUuidLength) in GenerateSalt()
1078 if (memcpy_s(sourceDataTemp, SOURCE_DATA_LENGTH, localDeviceId, deviceUuidLength) != EOK) { in GenerateSalt()
1082 if (SecureRandom(&(sourceDataTemp[deviceUuidLength]), SALT_RANDOM_LENGTH) != RESULT_SUCCESS) { in GenerateSalt()
1109 uint8_t *localDeviceId, uint32_t deviceUuidLength) in DoGenerateAlgoParameter()
1113 deviceUuidLength != DEVICE_UUID_LENGTH) { in DoGenerateAlgoParameter()
1122 if (GenerateSalt(algoParameter, algoParameterLength, localDeviceId, deviceUuidLength) != RESULT_SUCCESS) { in DoGenerateAlgoParameter()
1074 GenerateSalt(uint8_t *algoParameter, uint32_t *algoParameterLength, uint8_t *localDeviceId, uint32_t deviceUuidLength) GenerateSalt() argument
1108 DoGenerateAlgoParameter(uint8_t *algoParameter, uint32_t *algoParameterLength, uint32_t *algoVersion, uint8_t *localDeviceId, uint32_t deviceUuidLength) DoGenerateAlgoParameter() argument

Completed in 3 milliseconds