Home
last modified time | relevance | path

Searched refs:keyParams (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c456 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in ComputeHmac()
566 struct HksBlob keyAliasBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in ComputeHmacWithThreeStageInner()
607 MoveDeKeyToCe(keyParams->keyBuff.isAlias, keyParams->osAccountId, &keyAliasBlob); in ComputeHmacWithThreeStage()
610 … .keyBuff = { keyParams->keyBuff.key, keyParams->keyBuff.keyLen, keyParams->keyBuff.isAlias }, in ComputeHmacWithThreeStage()
675 struct HksBlob srcKeyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in ComputeHkdf()
769 struct HksBlob srcKeyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in ComputePseudonymPskInner()
812 … .keyBuff = { keyParams->keyBuff.key, keyParams->keyBuff.keyLen, keyParams->keyBuff.isAlias }, in ComputePseudonymPsk()
953 … .keyBuff = { keyParams->keyBuff.key, keyParams->keyBuff.keyLen, keyParams->keyBuff.isAlias }, in GetKeyExtInfo()
1029 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in AesGcmEncrypt()
1117 struct HksBlob keyBlob = { keyParams->keyBuff.keyLen, keyParams->keyBuff.key }; in AesGcmDecrypt()
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_parser_test.cpp74 keyParams.push_back(kp);
79 keyParams.push_back(kp);
84 keyParams.push_back(kp);
89 keyParams.push_back(kp);
94 keyParams.push_back(kp);
107 for (auto kp = keyParams.begin(); kp != keyParams.end(); kp++) {
157 keyParams.push_back(kp);
162 keyParams.push_back(kp);
167 keyParams.push_back(kp);
172 keyParams.push_back(kp);
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_parser_test.cpp75 keyParams.push_back(kp);
80 keyParams.push_back(kp1);
85 keyParams.push_back(kp2);
90 keyParams.push_back(kp3);
95 keyParams.push_back(kp4);
100 keyParams.push_back(kp5);
113 keyParams.clear();
161 keyParams.push_back(kp1);
166 keyParams.push_back(kp2);
171 keyParams.push_back(kp3);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_key_parser.h40 bool DeclarativeParse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams);
53 bool ParseMatch(const std::vector<std::string>& keys, std::vector<KeyParam>& keyParams,
55 static bool ParseMcc(const std::string& key, std::vector<KeyParam>& keyParams);
56 static bool ParseMnc(const std::string& key, std::vector<KeyParam>& keyParams);
57 static bool ParseOrientation(const std::string& key, std::vector<KeyParam>& keyParams);
58 static bool ParseColorMode(const std::string& key, std::vector<KeyParam>& keyParams);
59 static bool ParseDeviceType(const std::string& key, std::vector<KeyParam>& keyParams);
60 static bool ParseResolution(const std::string& key, std::vector<KeyParam>& keyParams);
61 static bool ParseDefaults(const std::string& key, std::vector<KeyParam>& keyParams);
62 static bool ParseScreenShape(const std::string& key, std::vector<KeyParam>& keyParams);
[all …]
H A Dace_res_key_parser.cpp119 if (!ParseMatch(reskeyParts, keyParams, functions, FUNC_LEN, true)) { in DeclarativeParse()
141 if (functions[k](*iter, keyParams)) { in ParseMatch()
160 keyParams.emplace_back(keyParam); in ParseMcc()
177 keyParams.emplace_back(keyParam); in ParseMnc()
190 keyParams.emplace_back(keyParam); in ParseScreenShape()
203 keyParams.emplace_back(keyParam); in ParseLongScreen()
216 keyParams.emplace_back(keyParam); in ParseOrientation()
229 keyParams.emplace_back(keyParam); in ParseColorMode()
242 keyParams.emplace_back(keyParam); in ParseDeclarativeColorMode()
255 keyParams.emplace_back(keyParam); in ParseDeviceType()
[all …]
H A Dace_res_config.cpp897 bool AceResConfig::ParseConfig(const std::vector<KeyParam>& keyParams) in ParseConfig() argument
899 for (auto keyParam : keyParams) { in ParseConfig()
975 std::vector<KeyParam> keyParams; in ConvertResTagToConfig() local
976 … bool parseSucceed = AceResKeyParser::GetInstance().Parse(deviceResConfigTag, keyParams, styleRes); in ConvertResTagToConfig()
978 resConfig.ParseConfig(keyParams); in ConvertResTagToConfig()
986 std::vector<KeyParam> keyParams; in ConvertDeclarativeResTagToConfig() local
992 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
1007 …bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
1009 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
1021 parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(resConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
[all …]
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h86 typedef int32_t (*ComputeHmacFunc)(const KeyParams *keyParams, const Uint8Buff *message, Uint8Buff …
88 typedef int32_t (*ComputeHmacWithThreeStageFunc)(const KeyParams *keyParams, const Uint8Buff *messa…
91 typedef int32_t (*ComputeHkdfFunc)(const KeyParams *keyParams, const Uint8Buff *salt, const Uint8Bu…
94 typedef int32_t (*ComputePseudonymPskFunc)(const KeyParams *keyParams, const Uint8Buff *pskKeyAlias,
97 typedef int32_t (*GetKeyExtInfoFunc)(const KeyParams *keyParams, Uint8Buff *outExtInfo);
99 typedef int32_t (*ImportSymmetricKeyFunc)(const KeyParams *keyParams, const Uint8Buff *authToken, K…
124 typedef int32_t (*GenerateKeyPairWithStorageFunc)(const KeyParams *keyParams, uint32_t keyLen, Algo…
129 typedef int32_t (*ExportPublicKeyFunc)(const KeyParams *keyParams, Uint8Buff *outPubKey);
131 typedef int32_t (*SignFunc)(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo,
134 typedef int32_t (*VerifyFunc)(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo,
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
H A Dhks_mac_test.cpp139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
149 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
150 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
151 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
152 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_mac_test.c140 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
143 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
150 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
151 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
152 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
153 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_mac_test.cpp140 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
143 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
150 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
151 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
152 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
153 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/
H A Diso_protocol_common.c129 KeyParams keyParams = { { pskBuf.val, pskBuf.length, false }, false, params->osAccountId }; in IsoCalSelfToken() local
130 res = params->loader->computeHmac(&keyParams, &messageBuf, outHmac); in IsoCalSelfToken()
176 KeyParams keyParams = { { pskBuf.val, pskBuf.length, false }, false, params->osAccountId }; in IsoCalPeerToken() local
177 res = params->loader->computeHmac(&keyParams, &messageBufSelf, selfToken); in IsoCalPeerToken()
230 KeyParams keyParams = { { pskBuf->val, pskBuf->length, false }, false, params->osAccountId }; in IsoGenSessionKey() local
231 res = params->loader->computeHkdf(&keyParams, &hkdfSaltBuf, &keyInfoBuf, &params->sessionKey); in IsoGenSessionKey()
303 KeyParams keyParams = { { pskBuf.val, pskBuf.length, false }, false, params->osAccountId }; in IsoClientGenSessionKey() local
304 int res = params->loader->computeHmac(&keyParams, &hmacMessage, &outHmacBuf); in IsoClientGenSessionKey()
386 KeyParams keyParams = { { pskBuf.val, pskBuf.length, false }, false, params->osAccountId }; in IsoServerGenSessionKeyAndCalToken() local
387 res = params->loader->computeHmac(&keyParams, &messageBuf, tokenToPeer); in IsoServerGenSessionKeyAndCalToken()
/ohos5.0/base/security/device_auth/services/mk_agree/src/
H A Dkey_manager.c183 KeyParams keyParams = { { keyAliasBuff.val, keyAliasBuff.length, true }, false, osAccountId }; in GenerateDeviceKeyPair() local
184 …res = GetLoaderInstance()->generateKeyPairWithStorage(&keyParams, PAKE_X25519_KEY_PAIR_LEN, X25519, in GenerateDeviceKeyPair()
283 KeyParams keyParams = { { pskAliasBuff.val, pskAliasBuff.length, true }, false, osAccountId }; in GeneratePseudonymPsk() local
284 res = GetLoaderInstance()->importSymmetricKey(&keyParams, &pskBuff, KEY_PURPOSE_MAC, NULL); in GeneratePseudonymPsk()
336 KeyParams keyParams = { { pskAliasBuff.val, pskAliasBuff.length, true }, false, osAccountId }; in GenerateAndSavePseudonymId() local
337 res = GetLoaderInstance()->computeHmac(&keyParams, saltBuff, &pseudonymIdBuff); in GenerateAndSavePseudonymId()
384 KeyParams keyParams = { { keyAliasBuff.val, keyAliasBuff.length, true }, false, osAccountId }; in GetDevicePubKey() local
385 res = GetLoaderInstance()->exportPublicKey(&keyParams, devicePk); in GetDevicePubKey()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp290 bool IsLocaleMatch(const ResConfigImpl *defaultConfig, const std::vector<KeyParam *> &keyParams) in IsLocaleMatch() argument
293 ResConfigImpl *config = HapParser::CreateResConfigFromKeyParams(keyParams); in IsLocaleMatch()
298 HILOG_DEBUG("mismatch, do not parse %s", HapParser::ToFolderPath(keyParams).c_str()); in IsLocaleMatch()
396 ResConfigImpl *HapParser::CreateResConfigFromKeyParams(const std::vector<KeyParam *> &keyParams) in CreateResConfigFromKeyParams() argument
403 size_t len = keyParams.size(); in CreateResConfigFromKeyParams()
417 const KeyParam *kp = keyParams.at(i); in CreateResConfigFromKeyParams()
496 std::string HapParser::ToFolderPath(const std::vector<KeyParam *> &keyParams) in ToFolderPath() argument
498 if (keyParams.size() == 0) { in ToFolderPath()
508 for (size_t i = 0; i < keyParams.size(); ++i) { in ToFolderPath()
509 KeyParam *keyParam = keyParams[i]; in ToFolderPath()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c105 …res = pakeParams->baseParams.loader->generateKeyPairWithStorage(&keyParams, PAKE_ED25519_KEY_PAIR_… in GenerateKeyPairIfNotExist()
124 KeyParams keyParams = { in PackageAuthInfo() local
129 res = pakeParams->baseParams.loader->exportPublicKey(&keyParams, &(exchangeParams->pubKeySelf)); in PackageAuthInfo()
260 KeyParams keyParams = { in EncryptAuthAndSignInfo() local
265 res = pakeParams->baseParams.loader->aesGcmEncrypt(&keyParams, &exchangeInfo, &encryptInfo, in EncryptAuthAndSignInfo()
294 KeyParams keyParams = { in DecryptAuthAndSignInfo() local
299 …int32_t res = pakeParams->baseParams.loader->aesGcmDecrypt(&keyParams, &(exchangeParams->exInfoCip… in DecryptAuthAndSignInfo()
383 KeyParams keyParams = { in VerifySignInfo() local
388 res = pakeParams->baseParams.loader->verify(&keyParams, &verifyMsg, alg, signInfo); in VerifySignInfo()
419 …KeyParams keyParams = { { keyAlias.val, keyAlias.length, true }, false, pakeParams->baseParams.osA… in SaveAuthInfo() local
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dglobal_utils.c147 if (keys[i].keyParams[j].type == LANGUAGES && keys[i].keyParams[j].value == value) { in FindOffsetByLanguage()
188 SetLocaleItemViaKeys(&(keys[i].keyParams[j]), &locale); in FindOffsetByLangWithScriptOrRegion()
224 SetLocaleItemViaKeys(&(keys[i].keyParams[j]), &locale); in FindOffsetByAllParam()
287 free(keys[i].keyParams); in FreeKeyParams()
288 keys[i].keyParams = NULL; in FreeKeyParams()
316 keys[i].keyParams = (KeyParam *)malloc(sizeof(KeyParam) * keys[i].keysCount); in GetKeyParams()
317 if (keys[i].keyParams == NULL) { in GetKeyParams()
322 keys[i].keyParams[j].type = (KeyType)GetDefaultOffsetValue(file); in GetKeyParams()
323 keys[i].keyParams[j].value = GetKeyValue(file); in GetKeyParams()
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
H A Dpake_v1_protocol_common.c196 …KeyParams keyParams = { { params->psk.val, params->psk.length, false }, false, params->osAccountId… in GeneratePakeParams() local
197 res = params->loader->computeHkdf(&keyParams, &(params->salt), &keyInfo, &secret); in GeneratePakeParams()
237 KeyParams keyParams = { in DeriveKeyFromSharedSecret() local
242 res = params->loader->computeHkdf(&keyParams, &(params->salt), &keyInfo, &unionKey); in DeriveKeyFromSharedSecret()
313 …KeyParams keyParams = { { params->hmacKey.val, params->hmacKey.length, false }, false, params->osA… in GenerateProof() local
314 res = params->loader->computeHmac(&keyParams, &challenge, &(params->kcfData)); in GenerateProof()
344 …KeyParams keyParams = { { params->hmacKey.val, params->hmacKey.length, false }, false, params->osA… in VerifyProof() local
345 res = params->loader->computeHmac(&keyParams, &challenge, &verifyProof); in VerifyProof()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp466 const std::vector<std::shared_ptr<KeyParam>> &keyParams = item->keyParams_; in GetLimitPathsKeys() local
467 for_each(keyParams.begin(), keyParams.end(), [&](auto &keyParam) { in GetLimitPathsKeys()
488 void HapResource::GetKeyParamsLocales(const std::vector<std::shared_ptr<KeyParam>> keyParams, in GetKeyParamsLocales() argument
493 for (size_t i = 0; i < keyParams.size(); i++) { in GetKeyParamsLocales()
494 KeyType keyType = keyParams[i]->type_; in GetKeyParamsLocales()
499 locale = keyParams[i]->GetStr(); in GetKeyParamsLocales()
505 locale.append(keyParams[i]->GetStr()); in GetKeyParamsLocales()
510 locale.append(keyParams[i]->GetStr()); in GetKeyParamsLocales()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhap_parser.h70 static ResConfigImpl *CreateResConfigFromKeyParams(const std::vector<KeyParam *> &keyParams);
77 static std::string ToFolderPath(const std::vector<KeyParam *> &keyParams);
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
H A Diso_client_bind_exchange_task.c56 KeyParams keyParams = { in DecAndImportInner() local
61 res = params->baseParams.loader->aesGcmDecrypt(&keyParams, encDataBuf, &gcmParam, authCodeBuf); in DecAndImportInner()
192 KeyParams keyParams = { in ClientBindAesEncrypt() local
197 res = params->baseParams.loader->aesGcmEncrypt(&keyParams, &challengeBuf, &gcmParams, &outBuf); in ClientBindAesEncrypt()
H A Diso_server_bind_exchange_task.c102 KeyParams keyParams = { in DecryptChallenge() local
107 … res = params->baseParams.loader->aesGcmDecrypt(&keyParams, &encDataBuf, &gcmParam, &challengeBuf); in DecryptChallenge()
165 KeyParams keyParams = { in GenAndEncAuthCode() local
170 …res = params->baseParams.loader->aesGcmEncrypt(&keyParams, &authCodeBuf, &gcmParam, encAuthCodeBuf… in GenAndEncAuthCode()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
H A Dpake_v1_protocol_task_common.c156 …KeyParams keyParams = { { peerKeyAlias.val, peerKeyAlias.length, true }, true, params->baseParams.… in LoadPseudonymFlagIfNeed() local
157 res = params->baseParams.loader->getKeyExtInfo(&keyParams, &extInfoBuff); in LoadPseudonymFlagIfNeed()
314 …KeyParams keyParams = { { pskAlias.val, pskAlias.length, true }, isDeStorage, params->baseParams.o… in FillPskWithDerivedKeyHex() local
315 res = params->baseParams.loader->computeHkdf(&keyParams, &(params->nonce), &keyInfo, &pskByte); in FillPskWithDerivedKeyHex()
398 …KeyParams keyParams = { { pskAliasBuff.val, pskAliasBuff.length, true }, true, params->baseParams.… in LoadPseudonymExtInfoIfNeed() local
399 res = params->baseParams.loader->getKeyExtInfo(&keyParams, &extInfoBuff); in LoadPseudonymExtInfoIfNeed()
480 …KeyParams keyParams = { { baseKeyAlias.val, baseKeyAlias.length, true }, true, params->baseParams.… in GeneratePseudonymPskIfNotExist() local
481 …res = params->baseParams.loader->computePseudonymPsk(&keyParams, &pskAliasBuff, NULL, &outKeyBuff); in GeneratePseudonymPskIfNotExist()
805 …KeyParams keyParams = { { baseKeyAlias.val, baseKeyAlias.length, true }, true, params->baseParams.… in SaveExtInfoToPseudonymPsk() local
806 res = params->baseParams.loader->computePseudonymPsk(&keyParams, pskAliasBuff, extInfoStrBuff, in SaveExtInfoToPseudonymPsk()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dpub_key_exchange.c232 …KeyParams keyParams = { { keyAlias.val, keyAlias.length, true }, params->isSelfFromUpgrade, params… in ExportSelfPubKey() local
242 … res = GetLoaderInstance()->generateKeyPairWithStorage(&keyParams, PAKE_ED25519_KEY_PAIR_LEN, alg, in ExportSelfPubKey()
254 res = GetLoaderInstance()->exportPublicKey(&keyParams, &params->pkSelf); in ExportSelfPubKey()
370 KeyParams keyParams = { { peerKeyAlias->val, peerKeyAlias->length, true }, false, osAccountId }; in ComputeAndSavePskInner() local
371 int32_t res = GetLoaderInstance()->exportPublicKey(&keyParams, &peerPubKeyBuff); in ComputeAndSavePskInner()
439 KeyParams keyParams = { { keyAlias.val, keyAlias.length, true }, false, params->osAccountId }; in SavePeerPubKey() local
440 res = GetLoaderInstance()->importPublicKey(&keyParams, &params->pkPeer, ED25519, &exInfo); in SavePeerPubKey()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp562 const std::vector<std::shared_ptr<KeyParam>> &keyParams) in IsLocaleMatch() argument
567 auto config = HapParser::CreateResConfigFromKeyParams(keyParams); in IsLocaleMatch()
574 …RESMGR_HILOGD(RESMGR_TAG, "mismatch, do not parse %s", HapParser::ToFolderPath(keyParams).c_str()); in IsLocaleMatch()
704 const std::vector<std::shared_ptr<KeyParam>> &keyParams) in CreateResConfigFromKeyParams() argument
711 size_t len = keyParams.size(); in CreateResConfigFromKeyParams()
720 const std::shared_ptr<KeyParam> kp = keyParams.at(i); in CreateResConfigFromKeyParams()
858 std::string HapParser::ToFolderPath(const std::vector<std::shared_ptr<KeyParam>> &keyParams) in ToFolderPath() argument
860 if (keyParams.size() == 0) { in ToFolderPath()
865 for (const auto &keyParam : keyParams) { in ToFolderPath()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_parser.h148 const std::vector<std::shared_ptr<KeyParam>> &keyParams);
155 static std::string ToFolderPath(const std::vector<std::shared_ptr<KeyParam>> &keyParams);
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/creds_manager/
H A Ddas_standard_token_manager.c43 …KeyParams keyParams = { { keyAliasBuff.val, keyAliasBuff.length, true }, false, params->osAccountI… in RegisterLocalIdentityStd() local
44 res = loader->generateKeyPairWithStorage(&keyParams, PAKE_ED25519_KEY_PAIR_LEN, ED25519, in RegisterLocalIdentityStd()
405 …KeyParams keyParams = { { keyAliasBuff.val, keyAliasBuff.length, true }, isDeStorage, params->osAc… in GetPublicKeyStd() local
406 res = loader->exportPublicKey(&keyParams, returnPk); in GetPublicKeyStd()

123