Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_chipset_platform_decrypt.c97 struct HksBlob *sharedKey) in DoGenEcdhSharedKey()
129 const struct HksBlob *sharedKey, struct HksBlob *wrappedKey) in DoHmacSha256()
223 struct HksBlob sharedKey = { .size = PLATFORM_KEY_SHARED_KEY_SIZE, in HuksCoreChipsetPlatformDecrypt() local
Dhks_core_service.c247 struct HksBlob *sharedKey) in GenKeyByAgree()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ecdh.c55 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.c311 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsX25519KeyAgreement()
792 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEd25519KeyAgreement()
Dhks_mbedtls_engine.c208 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksCryptoHalAgreeKey()
/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
Dhks_chipset_platform_key_hardcoded.c106 struct HksBlob *sharedKey) in HksChipsetPlatformDeriveKeyAndEcdh()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
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()
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.c167 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.cpp289 int32_t AgreeSharedKey(struct HksBlob &x509PubKey, struct HksBlob &sharedKey) in AgreeSharedKey()
313 int32_t HmacWrapKey(const struct HksBlob &sharedKey, const struct HksBlob &hmacMsg, struct HksBlob … in HmacWrapKey()
420 …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.cpp135 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/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dmbedtls_ec_adapter.c284 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()
Dhuks_adapter.c525 …reeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint8Buff *sharedKey) in AgreeSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dmbedtls_ec_adapter.c285 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()
Dhuks_adapter.c642 …reeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint8Buff *sharedKey) in AgreeSharedSecret()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp503 HksBlob sharedKey = { .size = keyOutLen, .data = (uint8_t *)HksMalloc(keyOutLen) }; variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c711 …reeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint8Buff *sharedKey) in AgreeSharedSecret()