Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_test.cpp59 (void)memset_s(pinEnrollParam->salt, CONST_SALT_LEN, 1, CONST_SALT_LEN);
120 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
122 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
133 uint32_t satLen = CONST_SALT_LEN;
169 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
171 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
212 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
214 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
252 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
254 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
[all …]
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/
H A Dall_in_one_func_test.cpp58 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
60 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
H A Dpin_auth_test.cpp36 constexpr uint32_t CONST_SALT_LEN = 32U; variable
74 std::vector<uint8_t> salt1(CONST_SALT_LEN, 1);
262 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
317 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h30 #define CONST_SALT_LEN 32U macro
36 uint8_t salt[CONST_SALT_LEN];
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dpin_auth.cpp110 if (salt.size() != CONST_SALT_LEN || pinData.size() != CONST_PIN_DATA_LEN) { in EnrollPin()
117 if (memcpy_s(&(pinEnrollParam.salt[0]), CONST_SALT_LEN, salt.data(), CONST_SALT_LEN) != EOK) { in EnrollPin()
158 uint32_t algoParameterLen = CONST_SALT_LEN; in GenerateAlgoParameter()
166 if (algoParameterLen != CONST_SALT_LEN) { in GenerateAlgoParameter()
H A Dall_in_one_func.c92 uint32_t algoParameterSize = CONST_SALT_LEN; in DoAllInOneAuth()
H A Dverifier_func.c196 Buffer *algoParam = CreateBufferBySize(CONST_SALT_LEN); in SetVerifyAckDataPinParam()
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dexecutor_func_common.h70 uint8_t algoParameter[CONST_SALT_LEN];
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c570 …ResultCode ret = WriteAddPinInfo(secret, cipherInfo, pinEnrollParam->salt, CONST_SALT_LEN, *templa… in ProcessAddPin()