Home
last modified time | relevance | path

Searched refs:algorithmType (Results 1 – 4 of 4) sorted by relevance

/base/security/device_auth/services/data_manager/cred_data_manager/inc/
Dcredential_data_manager.h38 uint8_t algorithmType; member
61 uint8_t algorithmType; member
/base/security/device_auth/services/data_manager/cred_data_manager/src/
Dcredential_data_manager.c43 CredTlvUint8 algorithmType; member
72 CRED_TLV_MEMBER(CredTlvUint8, algorithmType, 0x4009)
256 returnEntry->algorithmType = entry->algorithmType; in GenerateCredFromCred()
305 entry->algorithmType = credential->algorithmType.data; in GenerateCredentialFromTlv()
589 element->algorithmType.data = entry->algorithmType; in SetCredentialElement()
835 uint8_t algorithmType = credInfo->algorithmType; in AddAlgorithmTypeToReturn() local
836 if (AddIntToJson(json, FIELD_ALGORITHM_TYPE, algorithmType) != IS_SUCCESS) { in AddAlgorithmTypeToReturn()
1171 … dprintf(fd, "||%-16s = %-43d| |\n", "algorithmType", credential->algorithmType); in DumpCredential()
/base/security/device_auth/services/identity_service/src/
Didentity_operation.c294 static Algorithm GetAlgoFromCred(uint8_t algorithmType) in GetAlgoFromCred() argument
296 switch (algorithmType) { in GetAlgoFromCred()
315 …uint32_t keyLen = (credential->algorithmType == ALGO_TYPE_AES_128) ? AES_128_KEY_LEN : ALGO_KEY_LE… in GenerateKeyValue()
364 Algorithm algo = GetAlgoFromCred(credential->algorithmType); in AddKeyValueToHuks()
534 if (GetUint8FromJson(json, FIELD_ALGORITHM_TYPE, &credential->algorithmType) != IS_SUCCESS) { in SetAlgorithmType()
540 if (!IsValueInArray(credential->algorithmType, algorithmTypeRange, length)) { in SetAlgorithmType()
884 if (GetUint8FromJson(json, FIELD_ALGORITHM_TYPE, &queryParams->algorithmType) != IS_SUCCESS) { in SetQueryParamsFromJson()
Didentity_service_impl.c560 agreeCredential->algorithmType, &selfCredIdByte, &peerKeyAlias, &agreeCredIdByte); in AgreeCredentialImplInner()