Searched refs:paramsObj (Results 1 – 3 of 3) sorted by relevance
59 static void SetKeyType(HcfAlgParaValue value, HcfKeyAgreementParams *paramsObj) in SetKeyType() argument66 paramsObj->algo = HCF_ALG_ECC; in SetKeyType()73 static void SetKeyTypeDefault(HcfAlgParaValue value, HcfKeyAgreementParams *paramsObj) in SetKeyTypeDefault() argument77 paramsObj->algo = HCF_ALG_ECC; in SetKeyTypeDefault()91 HcfKeyAgreementParams *paramsObj = (HcfKeyAgreementParams *)params; in ParseKeyAgreementParams() local95 SetKeyTypeDefault(config->paraValue, paramsObj); in ParseKeyAgreementParams()98 SetKeyType(config->paraValue, paramsObj); in ParseKeyAgreementParams()
98 static void SetKeyTypeDefault(HcfAlgParaValue value, HcfSignatureParams *paramsObj) in SetKeyTypeDefault() argument102 paramsObj->algo = HCF_ALG_ECC; in SetKeyTypeDefault()105 paramsObj->algo = HCF_ALG_RSA; in SetKeyTypeDefault()108 paramsObj->algo = HCF_ALG_DSA; in SetKeyTypeDefault()111 paramsObj->algo = HCF_ALG_SM2; in SetKeyTypeDefault()119 static void SetKeyType(HcfAlgParaValue value, HcfSignatureParams *paramsObj) in SetKeyType() argument126 paramsObj->algo = HCF_ALG_ECC; in SetKeyType()135 paramsObj->algo = HCF_ALG_RSA; in SetKeyType()140 paramsObj->algo = HCF_ALG_DSA; in SetKeyType()143 paramsObj->algo = HCF_ALG_SM2; in SetKeyType()[all …]
391 HcfAsyKeyGenParams *paramsObj = (HcfAsyKeyGenParams *)params; in ParseAsyKeyGenParams() local395 SetKeyType(config->paraValue, paramsObj); in ParseAsyKeyGenParams()398 SetPrimes(config->paraValue, paramsObj); in ParseAsyKeyGenParams()