Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 25 of 105) sorted by relevance

12345

/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_ability.h76 #define HKS_CRYPTO_ABILITY_GENERATE_KEY(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_GENERATE_KEY, alg) argument
77 #define HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_GET_PUBLIC_KEY, al… argument
78 #define HKS_CRYPTO_ABILITY_DERIVE_KEY(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_DERIVE_KEY, alg) argument
79 #define HKS_CRYPTO_ABILITY_AGREE_KEY(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_AGREE_KEY, alg) argument
80 #define HKS_CRYPTO_ABILITY_SIGN(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_SIGN, alg) argument
81 #define HKS_CRYPTO_ABILITY_VERIFY(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_VERIFY, alg) argument
95 #define HKS_CRYPTO_ABILITY_ENCRYPT(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_ENCRYPT, alg) argument
96 #define HKS_CRYPTO_ABILITY_ENCRYPT_INIT(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_ENCRYPT_INIT, alg) argument
98 #define HKS_CRYPTO_ABILITY_ENCRYPT_FINAL(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_ENCRYPT_FINAL, alg) argument
101 #define HKS_CRYPTO_ABILITY_DECRYPT(alg) HKS_CRYPTO_ABILITY(HKS_OPERATION_DECRYPT, alg) argument
[all …]
H A Dhks_base_check.h94 int32_t HksGetKeySize(uint32_t alg, const struct HksBlob *key, uint32_t *keySize);
96 int32_t HksCheckGenKeyPurpose(uint32_t alg, uint32_t inputPurpose, uint32_t keyFlag);
98 int32_t HksGetInputParmasByAlg(uint32_t alg, enum CheckKeyType checkType, const struct HksParamSet …
103 int32_t HksCheckGenKeyMutableParams(uint32_t alg, const struct ParamsValues *inputParams);
105 int32_t CheckImportMutableParams(uint32_t alg, const struct ParamsValues *params);
107 int32_t HksCheckSignature(uint32_t cmdId, uint32_t alg, uint32_t keySize, const struct HksBlob *sig…
109 int32_t HksCheckSignVerifyMutableParams(uint32_t cmdId, uint32_t alg, const struct ParamsValues *in…
111 int32_t HksCheckCipherMutableParams(uint32_t cmdId, uint32_t alg, const struct ParamsValues *inputP…
113 int32_t HksCheckCipherData(uint32_t cmdId, uint32_t alg, const struct ParamsValues *inputParams,
116 int32_t HksCheckCipherMaterialParams(uint32_t alg, const struct ParamsValues *inputParams,
[all …]
H A Dhks_crypto_adapter.h50 int32_t HksSetKeyToMaterial(uint32_t alg, bool isPubKey, const struct HksBlob *key, struct HksBlob …
52 int32_t HksGetKeyFromMaterial(uint32_t alg, bool isPubKey, const struct HksBlob *keyMaterial, struc…
54 int32_t HksFormatKeyFromMaterial(uint32_t alg, const struct HksBlob *keyMaterial, struct HksParamSe…
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_flow_control_alg0.c47 FillpUpdateRecvRateSample(&alg->historyMaxRecvRate, recvRate, alg->historyMaxRecvRateIndex); in FillpAlg0UpdateMaxRecvRate()
48 alg->historyMaxRecvRateIndex = alg->historyMaxRecvRateIndex + 1; in FillpAlg0UpdateMaxRecvRate()
59 alg->historyMaxRecvRateIndex = 0; in FillpAlg0FlowControlInit()
66 alg->maxRecvRate = 0; in FillpAlg0FlowControlInit()
71 alg->packDeltaUsArrayIndex = 0; in FillpAlg0FlowControlInit()
88 if (alg == FILLP_NULL_PTR) { in FillpAlg0FcInit()
151 alg->packDeltaUsArrayIndex++; in FillpAlg0CalMaxPackRcvInterval()
153 alg->packDeltaUsArray[alg->packDeltaUsArrayIndex] = (FILLP_UINT32)((FILLP_ULONG)detaUs); in FillpAlg0CalMaxPackRcvInterval()
175 alg->maxRecvRate = pack->rate; in FillpAlg0FcHandleInit()
186 FILLP_GET_SOCKET(pcb)->index, alg->maxRecvRate, alg->sendRateIncreaseGainIndex); in FillpAlg0FcHandleInit()
[all …]
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_check_paramset.c329 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3 && alg != HKS_ALG_SM4) { in CheckGenKeyMacDeriveParams()
356 uint32_t alg; in CoreCheckGenKeyParams() local
387 switch (alg) { in CheckImportKeySize()
770 uint32_t alg; in HksCoreCheckImportKeyParams()
774 …if ((alg == HKS_ALG_AES) || (alg == HKS_ALG_SM3) || (alg == HKS_ALG_SM4) || (alg == HKS_ALG_HMAC))… in HksCoreCheckImportKeyParams()
831 uint32_t alg; in HksCoreCheckImportWrappedKeyParams()
843 uint32_t alg; in HksCoreCheckSignVerifyParams() local
879 uint32_t alg; in HksLocalCheckSignVerifyParams() local
909 uint32_t alg; in HksCoreCheckAgreeKeyParams() local
928 if (alg == HKS_ALG_DH || alg == HKS_ALG_ECC || alg == HKS_ALG_ECDH) { in HksCoreCheckAgreeKeyParams()
[all …]
H A Dhks_base_check.c964 switch (alg) { in InitInputParamsByAlg()
1028 switch (alg) { in GetExpectParams()
1328 if (alg == HKS_ALG_AES) { in CheckBlockCipherData()
1562 switch (alg) { in HksGetKeySize()
1651 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3) { in HksCheckOptionalParam()
1723 switch (alg) { in HksCheckGenKeyMutableParams()
1755 if (((alg == HKS_ALG_DSA) || (alg == HKS_ALG_ED25519)) && in CheckImportMutableParams()
1803 switch (alg) { in HksCheckSignature()
1852 switch (alg) { in HksCheckSignVerifyMutableParams()
1893 switch (alg) { in HksCheckCipherMutableParams()
[all …]
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/include/
H A Dhks_core_service_three_stage.h34 uint32_t alg);
43 uint32_t alg);
46 uint32_t alg);
55 uint32_t alg);
61 uint32_t alg);
70 uint32_t alg);
73 uint32_t alg);
82 uint32_t alg);
85 uint32_t alg);
88 const struct HksBlob *srcData, struct HksBlob *mac, uint32_t alg);
[all …]
H A Dhks_core_service_key_operate_three_stage.h42 uint32_t alg);
48 const struct HksBlob *srcData, struct HksBlob *signature, uint32_t alg);
54 const struct HksBlob *inData, struct HksBlob *outData, uint32_t alg);
59 …_t (*handler)(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, uint32_t alg);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_hash.c34 static int32_t CheckDigestAlg(uint32_t alg) in CheckDigestAlg() argument
36 switch (alg) { in CheckDigestAlg()
66 static int32_t HashCheckParam(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HashCheckParam() argument
68 … HKS_IF_NOT_SUCC_LOGE_RETURN(CheckDigestAlg(alg), HKS_ERROR_INVALID_DIGEST, "Unsupport HASH Type!") in HashCheckParam()
76 int32_t HksOpensslHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHash() argument
78 int32_t ret = HashCheckParam(alg, msg, hash); in HksOpensslHash()
81 const EVP_MD *opensslAlg = GetOpensslAlg(alg); in HksOpensslHash()
92 int32_t HksOpensslHashInit(void **cryptoCtx, uint32_t alg) in HksOpensslHashInit() argument
94 … HKS_IF_NOT_SUCC_LOGE_RETURN(CheckDigestAlg(alg), HKS_ERROR_INVALID_DIGEST, "Unsupport HASH Type!") in HksOpensslHashInit()
97 if (alg == HKS_DIGEST_SM3) { in HksOpensslHashInit()
[all …]
H A Dhks_openssl_hmac.c71 const struct HksBlob *key, uint32_t alg, const struct HksBlob *msg, const struct HksBlob *mac) in HmacCheckParam() argument
75 if ((alg != HKS_DIGEST_SHA1) && (alg != HKS_DIGEST_SHA224) && (alg != HKS_DIGEST_SHA256) && in HmacCheckParam()
76 (alg != HKS_DIGEST_SHA384) && (alg != HKS_DIGEST_SHA512) && (alg != HKS_DIGEST_SM3)) { in HmacCheckParam()
77 HKS_LOG_E("Invalid alg(0x%" LOG_PUBLIC "x)", alg); in HmacCheckParam()
82 HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetDigestLen(alg, &digestLen), in HmacCheckParam()
83 HKS_ERROR_INVALID_ARGUMENT, "Invalid alg(0x%" LOG_PUBLIC "x)", alg) in HmacCheckParam()
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_three_stage.c1262 (void)alg; in HksCoreSignVerifyThreeStageUpdate()
1283 (void)alg; in HksCoreSignVerifyThreeStageFinish()
1322 (void)alg; in HksCoreSignVerifyThreeStageAbort()
1331 (void)alg; in HksCoreCryptoThreeStageInit()
1435 (void)alg; in HksCoreDeriveThreeStageInit()
1445 (void)alg; in HksCoreDeriveThreeStageUpdate()
1546 (void)alg; in HksCoreDeriveThreeStageFinish()
1566 (void)alg; in HksCoreDeriveThreeStageAbort()
1583 (void)alg; in HksCoreAgreeThreeStageInit()
1596 (void)alg; in HksCoreAgreeThreeStageUpdate()
[all …]
H A Dhks_core_service_key_operate_three_stage.c111 *alg = paramSet->params[i].uint32Param; in GetPurposeAndAlgorithm()
114 if (*pur != 0 && *alg != 0) { in GetPurposeAndAlgorithm()
125 …if (*alg == HKS_ALG_HMAC || *alg == HKS_ALG_SM3 || *pur == HKS_KEY_PURPOSE_SIGN || *pur == HKS_KEY… in GetPurposeAndAlgorithm()
128 *alg = paramSet->params[i].uint32Param; in GetPurposeAndAlgorithm()
186 uint32_t pur, uint32_t alg) in HksCoreInitProcess() argument
217 uint32_t alg = 0; in HksCoreUpdateProcess() local
252 uint32_t alg = 0; in HksCoreFinishProcess() local
329 uint32_t alg = 0; in HksCoreInit() local
349 ret = GetPurposeAndAlgorithm(paramSet, &pur, &alg); in HksCoreInit()
426 uint32_t alg = 0; in HksBatchUpdate() local
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_sign_verify_test.cpp352 return CopyToInner(alg, importType, outKey); in ConstructImportedCurve25519Key()
362 material.keyAlg = (enum HksKeyAlg)alg; in ConstructImportedCurve25519Key()
735 if (alg == HKS_ALG_ED25519 || alg == HKS_ALG_X25519) { in ConstructImportedKey()
737 } else if (alg == HKS_ALG_DSA) { in ConstructImportedKey()
739 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
741 } else if (alg == HKS_ALG_SM2) { in ConstructImportedKey()
756 g_importKeyParams[TAG_ALG_ID].uint32Param = alg; in ModifyImportParams()
765 g_initOp1Params[TAG_ALG_ID].uint32Param = alg; in ModifyinitOp1Params()
773 g_initOp2Params[TAG_ALG_ID].uint32Param = alg; in ModifyinitOp2Params()
937 ModifyinitOp1Params(alg, purposeOp1, keySize, digest); in ImportPlainKeyTest()
[all …]
H A Dhks_import_agree_test.cpp624 g_initOpParams[TAG_ALG_ID].uint32Param = alg; in ModifyinitOpParams()
659 material.keyAlg = (enum HksKeyAlg)alg; in ConstructCurve25519Key()
936 if (alg == HKS_ALG_X25519) { in ConstructImportedKey()
938 } else if (alg == HKS_ALG_DH) { in ConstructImportedKey()
940 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
1017 if (alg == HKS_ALG_X25519) { in ConstructAgreePubKey()
1019 } else if (alg == HKS_ALG_ECC) { in ConstructAgreePubKey()
1021 } else if (alg == HKS_ALG_DH) { in ConstructAgreePubKey()
1085 uint32_t alg, uint32_t keySize) in TestAgreeOp() argument
1099 ModifyinitOpParams((alg == HKS_ALG_ECC) ? HKS_ALG_ECDH : alg, keySize); in TestAgreeOp()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
H A Decdsa_openssl.c52 static bool IsDigestAlgValid(uint32_t alg) in IsDigestAlgValid() argument
54 if ((alg == HCF_OPENSSL_DIGEST_SHA1) || (alg == HCF_OPENSSL_DIGEST_SHA224) || in IsDigestAlgValid()
55 (alg == HCF_OPENSSL_DIGEST_SHA256) ||(alg == HCF_OPENSSL_DIGEST_SHA384) || in IsDigestAlgValid()
56 (alg == HCF_OPENSSL_DIGEST_SHA512)) { in IsDigestAlgValid()
59 LOGE("Invalid digest num is %u.", alg); in IsDigestAlgValid()
64 static bool IsBrainPoolDigestAlgValid(uint32_t alg) in IsBrainPoolDigestAlgValid() argument
66 if ((alg == HCF_OPENSSL_DIGEST_SHA1) || (alg == HCF_OPENSSL_DIGEST_SHA224) || in IsBrainPoolDigestAlgValid()
67 (alg == HCF_OPENSSL_DIGEST_SHA256) || (alg == HCF_OPENSSL_DIGEST_SHA384) || in IsBrainPoolDigestAlgValid()
68 (alg == HCF_OPENSSL_DIGEST_SHA512) || (alg == HCF_OPENSSL_DIGEST_MD5)) { in IsBrainPoolDigestAlgValid()
71 LOGE("Invalid digest num is %u.", alg); in IsBrainPoolDigestAlgValid()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
H A Dhks_keyblob_test.cpp219 uint32_t alg; variable
220 GetDeriveKeyAlg(nullptr, &alg);
221 ASSERT_EQ(alg, HKS_ALG_HKDF);
241 uint32_t alg; variable
242 GetDeriveKeyAlg(paramSet, &alg);
243 ASSERT_EQ(alg, HKS_ALG_PBKDF2);
265 uint32_t alg; variable
266 GetDeriveKeyAlg(paramSet, &alg);
267 ASSERT_EQ(alg, HKS_ALG_HKDF);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dsocket_opt.c194 static FILLP_INT SockSetFcAlg(struct FtSocket *sock, FILLP_UINT32 alg) in SockSetFcAlg() argument
214 if (alg != FILLP_ALG_ONE && alg != FILLP_ALG_TWO && alg != FILLP_ALG_THREE && in SockSetFcAlg()
215 alg != FILLP_ALG_MSG && alg != FILLP_ALG_BASE) { in SockSetFcAlg()
216 FILLP_LOGERR("alg %u is not supported", alg); in SockSetFcAlg()
220 if (alg != FILLP_ALG_BASE) { in SockSetFcAlg()
221 sock->netconn->pcb->fpcb.fcAlg = (FILLP_UINT8)FILLP_SUPPORT_ALG_N(alg); in SockSetFcAlg()
225 if (alg == FILLP_ALG_MSG) { in SockSetFcAlg()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dhash.cpp36 static HASH_ALGORITHM_TYPE GetHashAlgorithm(const unique_ptr<char[]> &alg, const size_t algLen) in GetHashAlgorithm() argument
38 if (algLen == string_view("md5").length() && string_view(alg.get()).compare("md5") == 0) { in GetHashAlgorithm()
40 …} else if (algLen == string_view("sha1").length() && string_view(alg.get()).compare("sha1") == 0) { in GetHashAlgorithm()
42 …} else if (algLen == string_view("sha256").length() && string_view(alg.get()).compare("sha256") ==… in GetHashAlgorithm()
58 auto [resGetSecondArg, alg, algLen] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetHashArgs()
64 HASH_ALGORITHM_TYPE algType = GetHashAlgorithm(alg, algLen); in GetHashArgs()
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/
H A Dpake_protocol_ec_common.c91 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in GenerateEcPakeParams() local
92 res = params->loader->hashToPoint(secret, alg, &params->base); in GenerateEcPakeParams()
99 res = params->loader->agreeSharedSecret(&eskSelfParams, &baseBuff, alg, &params->epkSelf); in GenerateEcPakeParams()
121 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in AgreeEcSharedSecret() local
122 if (!params->loader->checkEcPublicKey(&(params->epkPeer), alg)) { in AgreeEcSharedSecret()
129 res = params->loader->agreeSharedSecret(&eskSelfParams, &epkPeerBuff, alg, sharedSecret); in AgreeEcSharedSecret()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_test_common_h.h33 uint32_t alg; \
68 uint32_t alg; member
80 uint32_t alg; member
108 uint32_t alg; member
125 uint32_t alg; member
259 uint32_t alg; member
273 uint32_t alg; member
303 uint32_t alg; member
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/
H A Dhash.cpp32 static HASH_ALGORITHM_TYPE GetHashAlgorithm(const string &alg) in GetHashAlgorithm() argument
34 …return (algorithmMaps.find(alg) != algorithmMaps.end()) ? algorithmMaps.at(alg) : HASH_ALGORITHM_T… in GetHashAlgorithm()
47 auto [resGetSecondArg, alg, ignore] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetHashArgs()
54 HASH_ALGORITHM_TYPE algType = GetHashAlgorithm(alg.get()); in GetHashArgs()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_crypt.cpp731 static bool CheckDigestAlg(uint32_t alg) in CheckDigestAlg() argument
733 switch (alg) { in CheckDigestAlg()
743 const EVP_MD* GetOpensslAlg(uint32_t alg) in GetOpensslAlg() argument
745 switch (alg) { in GetOpensslAlg()
757 static uint32_t GetHashLen(uint32_t alg) in GetHashLen() argument
759 if (alg == DLP_DIGEST_SHA256) { in GetHashLen()
761 } else if (alg == DLP_DIGEST_SHA384) { in GetHashLen()
770 if (!CheckDigestAlg(alg)) { in HashCheckParam()
780 uint32_t hashLen = GetHashLen(alg); in HashCheckParam()
796 if (!HashCheckParam(alg, msg, hash)) { in DlpOpensslHash()
[all …]
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_hash.c48 static int32_t HksMbedtlsHashMd5Init(void **ctx, uint32_t alg) in HksMbedtlsHashMd5Init() argument
77 outCtx->mAlg = alg; in HksMbedtlsHashMd5Init()
132 static int32_t HksMbedtlsHashSha1Init(void **ctx, uint32_t alg) in HksMbedtlsHashSha1Init() argument
160 outCtx->mAlg = alg; in HksMbedtlsHashSha1Init()
222 static int32_t HksMbedtlsHashSha256Init(void **ctx, int is224, uint32_t alg) in HksMbedtlsHashSha256Init() argument
258 outCtx->mAlg = alg; in HksMbedtlsHashSha256Init()
320 static int32_t HksMbedtlsHashSha512Init(void **ctx, int is384, uint32_t alg) in HksMbedtlsHashSha512Init() argument
356 outCtx->mAlg = alg; in HksMbedtlsHashSha512Init()
604 int32_t HksMbedtlsHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHash() argument
607 switch (alg) { in HksMbedtlsHash()
[all …]
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c149 if (alg == HKS_ALG_SM2) { in EccToX509PublicKey()
202 return EccToX509PublicKey(alg, keySize, x, y, x509Key); in Sm2ToX509PublicKey()
522 pubKeyInfo->keyAlg = alg; in EcKeyToPublicKey()
544 static int32_t X509PublicKeyToEcc(const uint32_t alg, EVP_PKEY *pkey, struct HksBlob *eccPublicKey) in X509PublicKeyToEcc() argument
550 return EcKeyToPublicKey(alg, ecKey, eccPublicKey); in X509PublicKeyToEcc()
556 const uint32_t alg, uint32_t keyLen, const EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in EvpPkeyToHksPubKeyInfo() argument
577 pubKeyInfo->keyAlg = (enum HksKeyAlg)alg; in EvpPkeyToHksPubKeyInfo()
601 static int32_t X509PublicKeyToSm2(const uint32_t alg, EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in X509PublicKeyToSm2() argument
613 int ret = EvpPkeyToHksPubKeyInfo(alg, (uint32_t)keyLen, pkey, sm2PublicKey); in X509PublicKeyToSm2()
751 ret = X509PublicKeyToEcc(alg, pkey, publicKey); in TranslateFromX509PublicKey()
[all …]
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dmbedtls_pkcs7.c110 static bool InvalidDigestAlg(const mbedtls_asn1_buf *alg) in InvalidDigestAlg() argument
219 MBEDTLS_OID_CMP(MBEDTLS_OID_PKCS1_SHA384, alg) && in InvalidDigestEncAlg()
220 MBEDTLS_OID_CMP(MBEDTLS_OID_PKCS1_SHA512, alg) && in InvalidDigestEncAlg()
221 MBEDTLS_OID_CMP(MBEDTLS_OID_ECDSA_SHA256, alg) && in InvalidDigestEncAlg()
222 MBEDTLS_OID_CMP(MBEDTLS_OID_ECDSA_SHA384, alg) && in InvalidDigestEncAlg()
224 MBEDTLS_OID_CMP(MBEDTLS_OID_RSASSA_PSS, alg); in InvalidDigestEncAlg()
643 while (alg != NULL) { in FreeSignedDataDigestAlgs()
644 next = alg->next; in FreeSignedDataDigestAlgs()
645 Pkcs7Free(alg); in FreeSignedDataDigestAlgs()
646 alg = next; in FreeSignedDataDigestAlgs()
[all …]

12345