Searched refs:signAlg (Results 1 – 7 of 7) sorted by relevance
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
D | dcm_attest.c | 522 if (IsValidTlv(cert->signAlg)) { in IsValidAttestCert() 530 if ((cert->signAlg.value.size != cert->tbs.signature.value.size) || in IsValidAttestCert() 531 …(HksMemCmp(cert->signAlg.value.data, cert->tbs.signature.value.data, cert->signAlg.value.size) != … in IsValidAttestCert() 567 ret += DcmAsn1ExtractTag(&val, &cert->signAlg, &val, ASN_1_TAG_TYPE_SEQ); in ParseAttestCert() 723 static void GetSignatureByAlg(uint32_t signAlg, struct HksAsn1Blob *sigature) in GetSignatureByAlg() argument 725 if (signAlg == HKS_ALG_RSA) { in GetSignatureByAlg() 728 } else if (signAlg == HKS_ALG_SM2) { in GetSignatureByAlg() 737 struct HksBlob *tbs, uint32_t signAlg) in CreateTbs() argument 743 GetSignatureByAlg(signAlg, &sigature); in CreateTbs() 874 …ignTbs(struct HksBlob *sig, const struct HksBlob *tbs, const struct HksBlob *key, uint32_t signAlg) in SignTbs() argument [all …]
|
/base/security/device_auth/services/creds_manager/inc/ |
D | creds_manager_defines.h | 82 Algorithm signAlg; member
|
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/include/ |
D | dcm_attest.h | 98 struct HksAsn1Obj signAlg; member
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_v2.c | 467 if (AddIntToJson(credInfo, FIELD_SIGN_ALG, cred->proof.certInfo.signAlg) != HC_SUCCESS) { in AddCertCredInfo() 519 …tic int32_t BuildPeerCertInfo(const char *pkInfoStr, const char *pkInfoSignHexStr, int32_t signAlg, in BuildPeerCertInfo() argument 540 peerCert->signAlg = signAlg; in BuildPeerCertInfo() 557 int32_t signAlg; in GetPeerCertInfo() local 558 if (GetIntFromJson(credInfo, FIELD_SIGN_ALG, &signAlg) != HC_SUCCESS) { in GetPeerCertInfo() 574 res = BuildPeerCertInfo(pkInfoStr, pkInfoSignHexStr, signAlg, peerCert); in GetPeerCertInfo()
|
/base/security/device_auth/services/creds_manager/src/account_related/ |
D | account_related_creds_manager.c | 111 ret = GetLoaderInstance()->verify(&keyAlias, &certInfo->pkInfoStr, certInfo->signAlg, in VerifyPeerCertInfo() 237 certInfo->signAlg = P256; in GetCertInfo()
|
/base/security/device_auth/services/creds_manager/src/ |
D | creds_manager.c | 728 if (AddIntToJson(out, FIELD_SIGN_ALG, certInfo->signAlg) != HC_SUCCESS) { in AddCertInfoToJson()
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
D | creds_manager_test.cpp | 576 certInfo->signAlg = GetAccountAuthTokenManager()->getAlgVersion(osAccountId, userId, deviceId); in GetCertInfo()
|