Home
last modified time | relevance | path

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

/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); in HWTEST_F()
120 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); in HWTEST_F()
122 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN); in HWTEST_F()
133 uint32_t satLen = CONST_SALT_LEN; in HWTEST_F()
134 std::vector<uint8_t> saltRes(CONST_SALT_LEN, 0); in HWTEST_F()
169 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); in HWTEST_F()
171 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN); in HWTEST_F()
[all...]
/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];
/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); in HWTEST_F()
60 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN); in HWTEST_F()
H A Dpin_auth_test.cpp36 constexpr uint32_t CONST_SALT_LEN = 32U; member
74 std::vector<uint8_t> salt1(CONST_SALT_LEN, 1); in HWTEST_F()
262 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); in HWTEST_F()
317 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dexecutor_func_common.h70 uint8_t algoParameter[CONST_SALT_LEN];
/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()
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c570 ResultCode ret = WriteAddPinInfo(secret, cipherInfo, pinEnrollParam->salt, CONST_SALT_LEN, *templateId); in ProcessAddPin()

Completed in 6 milliseconds