Searched refs:eccCommSpec (Results 1 – 8 of 8) sorted by relevance
28 HcfEccCommParamsSpec *eccCommSpec = NULL; in ConstructEccKeyPairCommParamsSpec() local29 HcfEccKeyUtilCreate(algoName, &eccCommSpec); in ConstructEccKeyPairCommParamsSpec()30 if (eccCommSpec == NULL) { in ConstructEccKeyPairCommParamsSpec()33 *spec = eccCommSpec; in ConstructEccKeyPairCommParamsSpec()75 if (eccCommSpec == NULL) { in ConstructEccKeyPairParamsSpec()93 eccKeyPairSpec->base.field = eccCommSpec->field; in ConstructEccKeyPairParamsSpec()107 eccKeyPairSpec->base.h = eccCommSpec->h; in ConstructEccKeyPairParamsSpec()145 if (eccCommSpec == NULL) { in ConstructEccPubKeyParamsSpec()179 eccPubKeySpec->base.h = eccCommSpec->h; in ConstructEccPubKeyParamsSpec()196 if (eccCommSpec == NULL) { in ConstructEccPriKeyParamsSpec()[all …]
49 HcfEccCommParamsSpec *eccCommSpec = in ConstructEcc224CommParamsSpec() local51 if (eccCommSpec == nullptr) { in ConstructEcc224CommParamsSpec()56 HcfFree(eccCommSpec); in ConstructEcc224CommParamsSpec()61 eccCommSpec->base.specType = HCF_COMMON_PARAMS_SPEC; in ConstructEcc224CommParamsSpec()67 eccCommSpec->a.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()69 eccCommSpec->b.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()71 eccCommSpec->g.x.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()73 eccCommSpec->g.y.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()75 eccCommSpec->n.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()76 eccCommSpec->h = g_ecc224CorrectH; in ConstructEcc224CommParamsSpec()[all …]
524 if (eccCommSpec == nullptr) { in ConstructEcc224CommParamsSpec()529 HcfFree(eccCommSpec); in ConstructEcc224CommParamsSpec()551 *spec = eccCommSpec; in ConstructEcc224CommParamsSpec()1108 FreeEccCommSpec(eccCommSpec);1125 FreeEccCommSpec(eccCommSpec);1135 eccCommSpec->a.len = 0;1167 eccCommSpec->b.len = 0;1199 eccCommSpec->n.len = 0;1231 eccCommSpec->g.x.len = 0;1263 eccCommSpec->g.y.len = 0;[all …]
42 eccCommSpec->field = tmpField; in ConstructEcc192CommParamsSpec()57 eccCommSpec->h = g_ecc192CorrectH; in ConstructEcc192CommParamsSpec()70 eccCommSpec->field = tmpField; in ConstructEcc224CommParamsSpec()194 eccCommSpec->field = tmpField; in ConstructEcc256CommParamsSpec()318 eccCommSpec->field = tmpField; in ConstructEcc384CommParamsSpec()442 eccCommSpec->field = tmpField; in ConstructEcc521CommParamsSpec()574 eccCommSpec->b.len = 0; in ConstructEcc224ErrCommParamsSpec()601 eccCommSpec->b.data = 0; in ConstructEcc256ErrCommParamsSpec()602 eccCommSpec->b.len = 0; in ConstructEcc256ErrCommParamsSpec()630 eccCommSpec->b.len = 0; in ConstructEcc384ErrCommParamsSpec()[all …]
505 eccCommSpec->field = tmpField; in ConstructEcc224CommParamsSpec()511 eccCommSpec->a.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()513 eccCommSpec->b.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()515 eccCommSpec->g.x.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()517 eccCommSpec->g.y.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()519 eccCommSpec->n.len = NID_secp224r1_len; in ConstructEcc224CommParamsSpec()520 eccCommSpec->h = g_ecc224CorrectH; in ConstructEcc224CommParamsSpec()627 if (eccCommSpec == nullptr) { in ConstructSm2256CommParamsSpec()630 *spec = eccCommSpec; in ConstructSm2256CommParamsSpec()691 eccPubKeySpec->base.h = eccCommSpec->h; in ConstructSm2256PubKeyParamsSpec()[all …]
29 HcfResult ConstructEccKeyPairParamsSpec(const char *algoName, HcfEccCommParamsSpec *eccCommSpec,31 HcfResult ConstructEccPubKeyParamsSpec(const char *algoName, HcfEccCommParamsSpec *eccCommSpec,33 HcfResult ConstructEccPriKeyParamsSpec(const char *algoName, HcfEccCommParamsSpec *eccCommSpec,
89 HcfEccCommParamsSpec *eccCommSpec = nullptr; in ConstructSm2256CommParamsSpec() local90 HcfEccKeyUtilCreate(g_sm2CurveName.c_str(), &eccCommSpec); in ConstructSm2256CommParamsSpec()91 if (eccCommSpec == nullptr) { in ConstructSm2256CommParamsSpec()94 *spec = (HcfAsyKeyParamsSpec *)eccCommSpec; in ConstructSm2256CommParamsSpec()
74 HcfEccCommParamsSpec *eccCommSpec = nullptr; in ConstructSm2256CommParamsSpec() local75 HcfEccKeyUtilCreate(g_sm2CurveName.c_str(), &eccCommSpec); in ConstructSm2256CommParamsSpec()76 if (eccCommSpec == nullptr) { in ConstructSm2256CommParamsSpec()79 *spec = (HcfAsyKeyParamsSpec *)eccCommSpec; in ConstructSm2256CommParamsSpec()