Home
last modified time | relevance | path

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

/ohos5.0/base/security/crypto_framework/frameworks/cj/src/
H A Ddh_key_util_impl.cpp26 HcfDhCommParamsSpec *dhCommParamsSpec = nullptr; in GenDHCommonParamsSpec() local
27 *errCode = HcfDhKeyUtilCreate(pLen, skLen, &dhCommParamsSpec); in GenDHCommonParamsSpec()
28 return dhCommParamsSpec; in GenDHCommonParamsSpec()
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_dh_key_util.cpp61 HcfDhCommParamsSpec *dhCommParamsSpec = nullptr; in JsGenDHCommonParamsSpec() local
62 if (HcfDhKeyUtilCreate(pLen, skLen, &dhCommParamsSpec) != HCF_SUCCESS) { in JsGenDHCommonParamsSpec()
68 napi_value instance = ConvertDhCommParamsSpecToNapiValue(env, dhCommParamsSpec); in JsGenDHCommonParamsSpec()
69 FreeDhCommParamsSpec(dhCommParamsSpec); in JsGenDHCommonParamsSpec()
/ohos5.0/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/
H A Dasykeygenerator_fuzzer.cpp1090 dhPubKeySpec->base.p.data = dhCommParamsSpec->p.data; in ConstructDhPubKeyParamsSpec()
1091 dhPubKeySpec->base.p.len = dhCommParamsSpec->p.len; in ConstructDhPubKeyParamsSpec()
1092 dhPubKeySpec->base.g.data = dhCommParamsSpec->g.data; in ConstructDhPubKeyParamsSpec()
1093 dhPubKeySpec->base.g.len = dhCommParamsSpec->g.len; in ConstructDhPubKeyParamsSpec()
1094 dhPubKeySpec->base.length = dhCommParamsSpec->length; in ConstructDhPubKeyParamsSpec()
1136 dhPriKeySpec->base.p.data = dhCommParamsSpec->p.data; in ConstructDhPriKeyParamsSpec()
1137 dhPriKeySpec->base.p.len = dhCommParamsSpec->p.len; in ConstructDhPriKeyParamsSpec()
1138 dhPriKeySpec->base.g.data = dhCommParamsSpec->g.data; in ConstructDhPriKeyParamsSpec()
1139 dhPriKeySpec->base.g.len = dhCommParamsSpec->g.len; in ConstructDhPriKeyParamsSpec()
1778 HcfDhCommParamsSpec *dhCommParamsSpec) in GenDhKeyBySpec() argument
[all …]
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_dh_asy_key_generator_by_spec_test.cpp172 HcfDhCommParamsSpec *dhCommParamsSpec, HcfAsyKeyParamsSpec **spec) in ConstructDHKeyPairParamsCommonSpec() argument
192 dhKeyPairSpec->base.p.data = dhCommParamsSpec->p.data; in ConstructDHKeyPairParamsCommonSpec()
193 dhKeyPairSpec->base.p.len = dhCommParamsSpec->p.len; in ConstructDHKeyPairParamsCommonSpec()
194 dhKeyPairSpec->base.g.data = dhCommParamsSpec->g.data; in ConstructDHKeyPairParamsCommonSpec()
195 dhKeyPairSpec->base.g.len = dhCommParamsSpec->g.len; in ConstructDHKeyPairParamsCommonSpec()
196 dhKeyPairSpec->base.length = dhCommParamsSpec->length; in ConstructDHKeyPairParamsCommonSpec()
233 dhKeyPairSpec->base.p.data = dhCommParamsSpec->p.data; in ConstructDHKeyPairParamsSpec()
234 dhKeyPairSpec->base.p.len = dhCommParamsSpec->p.len; in ConstructDHKeyPairParamsSpec()
235 dhKeyPairSpec->base.g.data = dhCommParamsSpec->g.data; in ConstructDHKeyPairParamsSpec()
236 dhKeyPairSpec->base.g.len = dhCommParamsSpec->g.len; in ConstructDHKeyPairParamsSpec()
[all …]