Searched refs:pubKeyBuff (Results 1 - 5 of 5) sorted by relevance
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
H A D | key_management_test.cpp | 135 KeyBuff pubKeyBuff = { keyData, P256_PUBLIC_SIZE, false }; in HWTEST_F() local 136 ret = GetLoaderInstance()->agreeSharedSecretWithStorage(&privKeyParams, &pubKeyBuff, P256, P256_PUBLIC_SIZE, in HWTEST_F()
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 1216 static int32_t AgreeSharedSecretWithStorageP256(const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff, in AgreeSharedSecretWithStorageP256() argument 1231 struct HksBlob pubKeyBlob = { pubKeyBuff->keyLen, pubKeyBuff->key }; in AgreeSharedSecretWithStorageP256() 1266 const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff) in ConstructAgreeWithStorageParams() 1269 struct HksBlob pubKeyBlob = { pubKeyBuff->keyLen, pubKeyBuff->key }; in ConstructAgreeWithStorageParams() 1294 agreeParams[idx++].boolParam = pubKeyBuff->isAlias; in ConstructAgreeWithStorageParams() 1304 static int32_t CheckAgreeWithStorageParams(const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff, in CheckAgreeWithStorageParams() argument 1311 CHECK_PTR_RETURN_HAL_ERROR_CODE(pubKeyBuff, "pubKeyBuff"); in CheckAgreeWithStorageParams() 1265 ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff) ConstructAgreeWithStorageParams() argument 1328 AgreeSharedSecretWithStorage(const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff, Algorithm algo, uint32_t sharedKeyLen, const Uint8Buff *sharedKeyAlias) AgreeSharedSecretWithStorage() argument [all...] |
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 115 typedef int32_t (*AgreeSharedSecretWithStorageFunc)(const KeyParams *priKeyParams, const KeyBuff *pubKeyBuff,
|
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/pake_v2_auth_task/ |
H A D | pake_v2_auth_task_common.c | 120 KeyBuff pubKeyBuff = { params->pkPeerBuff.val, params->pkPeerBuff.length, false }; in GenerateEcdhSharedKey() local 121 res = params->pakeParams.loader->agreeSharedSecretWithStorage(&privKeyParams, &pubKeyBuff, in GenerateEcdhSharedKey()
|
/base/security/device_auth/services/identity_manager/src/ |
H A D | cert_operation.c | 342 KeyBuff pubKeyBuff = { peerPkBuff.val, peerPkBuff.length, false }; in GetSharedSecretForAccountInPake() local 344 &privKeyParams, &pubKeyBuff, P256, P256_SHARED_SECRET_KEY_SIZE, sharedSecret); in GetSharedSecretForAccountInPake()
|
Completed in 7 milliseconds