Home
last modified time | relevance | path

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

/drivers/peripheral/pin_auth/test/uinttest/pin_auth/database/src/
Dpin_db_test.cpp61 (void)memset_s(pinEnrollParam->salt, CONST_SALT_LEN, 1, CONST_SALT_LEN);
117 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
119 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
130 uint32_t satLen = CONST_SALT_LEN;
131 std::vector<uint8_t> saltRes(CONST_SALT_LEN, 0);
164 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
166 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
207 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
209 (void)memcpy_s(&(pinEnrollParam->salt[0]), CONST_SALT_LEN, &salt[0], CONST_SALT_LEN);
247 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
[all …]
/drivers/peripheral/pin_auth/hdi_service/main/src/
Dpin_auth.cpp88 if (salt.size() != CONST_SALT_LEN || pinData.size() != CONST_PIN_DATA_LEN) { in EnrollPin()
95 if (memcpy_s(&(pinEnrollParam.salt[0]), CONST_SALT_LEN, salt.data(), CONST_SALT_LEN) != EOK) { in EnrollPin()
131 salt.resize(CONST_SALT_LEN); in GetSalt()
132 uint32_t satLen = CONST_SALT_LEN; in GetSalt()
/drivers/peripheral/pin_auth/test/uinttest/pin_auth/main/src/
Dpin_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);
Dpin_auth_test.cpp30 constexpr uint32_t CONST_SALT_LEN = 32U; variable
68 std::vector<uint8_t> salt1(CONST_SALT_LEN, 1);
195 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
245 std::vector<uint8_t> salt(CONST_SALT_LEN, 1);
/drivers/peripheral/pin_auth/hdi_service/database/inc/
Dpin_db.h63 #define CONST_SALT_LEN 32U macro
94 uint8_t salt[CONST_SALT_LEN];
/drivers/peripheral/pin_auth/hdi_service/database/src/
Dpin_db.c805 …ret = WriteAddPinInfo(secret, pinCredCiphertext, pinEnrollParam->salt, CONST_SALT_LEN, templateId); in ProcessAddPin()