Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_chipset_platform_decrypt.c97 struct HksBlob *sharedKey) in DoGenEcdhSharedKey()
128 const struct HksBlob *sharedKey, struct HksBlob *wrappedKey) in DoHmacSha256()
223 struct HksBlob sharedKey = { .size = PLATFORM_KEY_SHARED_KEY_SIZE, in HuksCoreChipsetPlatformDecrypt() local
H A Dhks_core_service_key_generate.c202 struct HksBlob *sharedKey) in GenKeyByAgree()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_ecdh.c55 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
H A Dhks_mbedtls_dh.c228 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsDhAgreeKey()
H A Dhks_mbedtls_x25519.c315 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsX25519KeyAgreement()
796 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEd25519KeyAgreement()
H A Dhks_mbedtls_engine.c208 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksCryptoHalAgreeKey()
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
H A Dhks_chipset_platform_key_hardcoded.c106 struct HksBlob *sharedKey) in HksChipsetPlatformDeriveKeyAndEcdh()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_ecc.c364 static int32_t EcdhDerive(EVP_PKEY_CTX *ctx, EVP_PKEY *peerKey, struct HksBlob *sharedKey) in EcdhDerive()
393 …eeKeyEcdh(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *sharedKey) in AgreeKeyEcdh()
436 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEcdhAgreeKey()
H A Dhks_openssl_curve25519.c142 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslX25519AgreeKey()
184 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEd25519AgreeKey()
H A Dhks_openssl_dh.c273 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslDhAgreeKey()
H A Dhks_openssl_engine.c95 const struct HksKeySpec *spec, const struct HksBlob *sharedKey) in AgreeKeyCheckParam()
336 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksCryptoHalAgreeKey()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp319 int32_t AgreeSharedKey(struct HksBlob &x509PubKey, struct HksBlob &sharedKey) in AgreeSharedKey()
343 int32_t HmacWrapKey(const struct HksBlob &sharedKey, const struct HksBlob &hmacMsg, struct HksBlob … in HmacWrapKey()
458 …struct HksBlob sharedKey = { .size = PLATFORM_KEY_SHARED_KEY_SIZE, .data = sharedKeyBuffer.data() … in Encrypt() local
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Dkey_management_test.cpp133 Uint8Buff sharedKey = { keyData, P256_PUBLIC_SIZE }; variable
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_dh_helper.c144 …t keyLen, const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *sharedKey) in DhAgreeKey()
H A 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()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_api_mbedtls.cpp501 HksBlob sharedKey = { .size = keyOutLen, .data = (uint8_t *)HksMalloc(keyOutLen) }; variable
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/common/
H A Dmbedtls_ec_adapter.c536 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c1383 … CheckAgreeParams(const KeyParams *priKeyParams, const KeyBuff *pubKey, const Uint8Buff *sharedKey) in CheckAgreeParams()
1398 …32_t ConstructAgreeParamSet(const KeyParams *keyParams, Algorithm algo, const Uint8Buff *sharedKey, in ConstructAgreeParamSet()
1424 Uint8Buff *sharedKey) in AgreeSharedSecret()