/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/ |
H A D | credsmanager_fuzzer.cpp | 513 static int32_t GetSeedValue(Uint8Buff *seedBuff) in GetSeedValue() argument 515 seedBuff->val = reinterpret_cast<uint8_t *>(HcMalloc(SEED_LEN, 0)); in GetSeedValue() 516 if (seedBuff->val == NULL) { in GetSeedValue() 520 seedBuff->length = SEED_LEN; in GetSeedValue() 521 int32_t ret = GenerateSeed(seedBuff); in GetSeedValue() 524 FreeUint8Buff(seedBuff); in GetSeedValue() 1251 Uint8Buff seedBuff = { nullptr, 0 }; in CredsManagerTest40() local 1252 int32_t res = GetSeedValue(&seedBuff); in CredsManagerTest40() 1257 AddByteToJson(json, FIELD_SEED, seedBuff.val, seedBuff in CredsManagerTest40() 1439 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest50() local 1476 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest51() local 1512 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest52() local 1574 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest55() local 1604 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest56() local 1636 Uint8Buff seedBuff = { nullptr, 0 }; CredsManagerTest57() local [all...] |
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
H A D | creds_manager_test.cpp | 524 static int32_t GetSeedValue(Uint8Buff *seedBuff) in GetSeedValue() argument 526 seedBuff->val = (uint8_t *)HcMalloc(SEED_LEN, 0); in GetSeedValue() 527 if (seedBuff->val == NULL) { in GetSeedValue() 531 seedBuff->length = SEED_LEN; in GetSeedValue() 532 int32_t ret = GenerateSeed(seedBuff); in GetSeedValue() 535 FreeUint8Buff(seedBuff); in GetSeedValue() 1345 Uint8Buff seedBuff = { nullptr, 0 }; in HWTEST_F() local 1346 int32_t res = GetSeedValue(&seedBuff); in HWTEST_F() 1348 AddByteToJson(json, FIELD_SEED, seedBuff.val, seedBuff in HWTEST_F() 1568 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local 1602 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local 1636 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local 1704 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local 1732 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local 1762 Uint8Buff seedBuff = { nullptr, 0 }; HWTEST_F() local [all...] |
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_pin.c | 290 Uint8Buff seedBuff = { seedVal, SEED_LEN }; in GetSharedSecretForPinInIso() local 291 int32_t ret = GetByteFromJson(in, FIELD_SEED, seedBuff.val, seedBuff.length); in GetSharedSecretForPinInIso() 305 ret = AuthGeneratePskUsePin(in, &seedBuff, pinCode, sharedSecret); in GetSharedSecretForPinInIso()
|
H A D | identity_group.c | 528 Uint8Buff seedBuff = { seedVal, SEED_LEN }; in GetSharedSecretForP2pInIso() local 529 int32_t ret = GetByteFromJson(in, FIELD_SEED, seedBuff.val, seedBuff.length); in GetSharedSecretForP2pInIso() 543 ret = AuthGeneratePsk(in, groupId, &seedBuff, sharedSecret); in GetSharedSecretForP2pInIso()
|
H A D | cert_operation.c | 753 Uint8Buff seedBuff = { seed, SEED_SIZE }; in GetAccountSymSharedSecret() local 768 ret = GetLoaderInstance()->computeHmac(&keyParams, &seedBuff, sharedSecret); in GetAccountSymSharedSecret()
|
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/ |
H A D | iso_auth_client_task.c | 125 Uint8Buff seedBuff = { params->seed, sizeof(params->seed) }; in AccountAuthGenSeed() local 126 int32_t res = params->isoBaseParams.loader->generateRandom(&seedBuff); in AccountAuthGenSeed()
|