Home
last modified time | relevance | path

Searched defs:sharedKey (Results 1 – 18 of 18) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ecdh.c57 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
Dhks_mbedtls_dh.c228 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsDhAgreeKey()
Dhks_mbedtls_x25519.c317 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsX25519KeyAgreement()
798 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEd25519KeyAgreement()
Dhks_mbedtls_engine.c262 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksCryptoHalAgreeKey()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ecc.c360 static int32_t EcdhDerive(EVP_PKEY_CTX *ctx, EVP_PKEY *peerKey, struct HksBlob *sharedKey) in EcdhDerive()
387 …eeKeyEcdh(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *sharedKey) in AgreeKeyEcdh()
430 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEcdhAgreeKey()
Dhks_openssl_curve25519.c142 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslX25519AgreeKey()
184 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEd25519AgreeKey()
Dhks_openssl_dh.c277 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslDhAgreeKey()
Dhks_openssl_engine.c95 const struct HksKeySpec *spec, const struct HksBlob *sharedKey) in AgreeKeyCheckParam()
336 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksCryptoHalAgreeKey()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_chipset_platform_encrypt_test.cpp328 int32_t AgreeSharedKey(struct HksBlob &x509PubKey, struct HksBlob &sharedKey) in AgreeSharedKey()
352 int32_t HmacWrapKey(const struct HksBlob &sharedKey, const struct HksBlob &hmacMsg, struct HksBlob … in HmacWrapKey()
466 …struct HksBlob sharedKey = { .size = PLATFORM_KEY_SHARED_KEY_SIZE, .data = sharedKeyBuffer.data() … in Encrypt() local
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dkey_management_test.cpp133 Uint8Buff sharedKey = { keyData, P256_PUBLIC_SIZE }; variable
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_dh_helper.c144 …t keyLen, const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *sharedKey) in DhAgreeKey()
Dopenssl_ecc_helper.c622 int32_t EcdhDerive(EVP_PKEY_CTX *ctx, EVP_PKEY *peerKey, struct HksBlob *sharedKey) in EcdhDerive()
652 …t keyLen, const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *sharedKey) in EcdhAgreeKey()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp501 HksBlob sharedKey = { .size = keyOutLen, .data = (uint8_t *)HksMalloc(keyOutLen) }; variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter_utils.c798 … CheckAgreeParams(const KeyParams *priKeyParams, const KeyBuff *pubKey, const Uint8Buff *sharedKey) in CheckAgreeParams()
814 …32_t ConstructAgreeParamSet(const KeyParams *keyParams, Algorithm algo, const Uint8Buff *sharedKey, in ConstructAgreeParamSet()
Dhuks_adapter.c704 Uint8Buff *sharedKey) in AgreeSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/common/
Dmbedtls_ec_adapter.c538 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_key_generate.c202 struct HksBlob *sharedKey) in GenKeyByAgree()
/base/security/device_auth/services/
Ddevice_auth.c1567 DataBuff sharedKey = {0}; in ComputeHkdfKeyInner() local