Home
last modified time | relevance | path

Searched refs:agreeParams (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c1272 if (agreeParams == NULL) { in ConstructAgreeWithStorageParams()
1277 agreeParams[idx].tag = HKS_TAG_ALGORITHM; in ConstructAgreeWithStorageParams()
1279 agreeParams[idx].tag = HKS_TAG_KEY_SIZE; in ConstructAgreeWithStorageParams()
1281 agreeParams[idx].tag = HKS_TAG_PURPOSE; in ConstructAgreeWithStorageParams()
1283 agreeParams[idx].tag = HKS_TAG_DIGEST; in ConstructAgreeWithStorageParams()
1290 agreeParams[idx++].blob = priKeyBlob; in ConstructAgreeWithStorageParams()
1292 agreeParams[idx++].blob = pubKeyBlob; in ConstructAgreeWithStorageParams()
1297 HcFree(agreeParams); in ConstructAgreeWithStorageParams()
1403 if (agreeParams == NULL) { in ConstructAgreeParamSet()
1410 agreeParams[idx].tag = HKS_TAG_KEY_SIZE; in ConstructAgreeParamSet()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_access_control_agree_test.cpp382 struct HksParam agreeParams[] = variable
389 ret = InitParamSet(&agreeParamSet, agreeParams, sizeof(agreeParams) / sizeof(HksParam));
437 struct HksParam agreeParams[] = variable
453 ret = InitParamSet(&agreeParamSet, agreeParams, sizeof(agreeParams) / sizeof(HksParam));
H A Dhks_chipset_platform_encrypt_test.cpp322 static struct HksParam agreeParams[] = { in AgreeSharedKey() local
334 int32_t ret = InitParamSet(&agreeParamSet.s, agreeParams, HKS_ARRAY_SIZE(agreeParams)); in AgreeSharedKey()
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_generate.c309 struct HksParam agreeParams[] = { in AddAgreeKeyParamSetFromUnwrapSuite() local
315 … int32_t ret = HksAddParams(paramSet, agreeParams, sizeof(agreeParams) / sizeof(struct HksParam)); in AddAgreeKeyParamSetFromUnwrapSuite()
/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-arkts.md486 callerKeyAlias: string, huksPublicKey: Uint8Array, agreeParams: huks.HuksOptions) {
488 outSharedKey = await agreeFunction(callerKeyAlias, agreeParams, huksPublicKey);
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-arkts.md486 callerKeyAlias: string, huksPublicKey: Uint8Array, agreeParams: huks.HuksOptions) {
488 outSharedKey = await agreeFunction(callerKeyAlias, agreeParams, huksPublicKey);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks-sys.md1128 callerKeyAlias: string, huksPublicKey: Uint8Array, agreeParams: huks.HuksOptions) {
1131 …importParamsAgreeKey.inData = await AgreeFunction(userId, callerKeyAlias, agreeParams, huksPublicK…
/ohos5.0/docs/en/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks-sys.md1128 callerKeyAlias: string, huksPublicKey: Uint8Array, agreeParams: huks.HuksOptions) {
1131 …importParamsAgreeKey.inData = await AgreeFunction(userId, callerKeyAlias, agreeParams, huksPublicK…