/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_ecdh.c | 43 const struct HksBlob *pubKey, mbedtls_ecdh_context *ctx) in EccKeyMaterialToCtx() 55 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
|
D | hks_crypto_ed25519.c | 42 static int32_t SaveEd25519KeyMaterial(const struct HksBlob *pubKey, const struct HksBlob *priKey, in SaveEd25519KeyMaterial() 90 uint8_t pubKey[ED25519_PUBLIC_KEY_LEN] = {0}; in HksEd25519GenerateKey() local
|
D | hks_mbedtls_x25519.c | 152 …atic int32_t X25519CheckKeyMaterialSize(const struct HksBlob *priKey, const struct HksBlob *pubKey) in X25519CheckKeyMaterialSize() 261 static int32_t X25519KeyMaterialToPub(const struct HksBlob *pubKey, mbedtls_ecp_point *pub) in X25519KeyMaterialToPub() 311 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()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_dh.c | 75 BIGNUM *pubKey = BN_bin2bn(key->data + offset, keyMaterial->pubKeySize, NULL); in InitDhStruct() local 91 const BIGNUM *pubKey = NULL; in DhSaveKeyMaterial() local 166 int32_t HksOpensslDhAgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslDhAgreeKey()
|
D | hks_openssl_curve25519.c | 114 const struct HksBlob *pubKey) in ImportX25519EvpKey() 141 int32_t HksOpensslX25519AgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslX25519AgreeKey() 198 int32_t HksOpensslEd25519AgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslEd25519AgreeKey()
|
D | hks_openssl_ecc.c | 366 static int32_t GetPeerKey(const struct HksBlob *pubKey, EVP_PKEY *key) in GetPeerKey() 402 static int32_t AgreeKeyEcdh(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct H… in AgreeKeyEcdh() 444 int32_t HksOpensslEcdhAgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslEcdhAgreeKey()
|
D | hks_openssl_ed25519tox25519.c | 156 uint8_t pubKey[P_BYTES] = {0}; in Curve25519Initialize() local 280 static int32_t FillPubKeyByZero(uint8_t *pubKey, uint32_t *pubKeySize) in FillPubKeyByZero()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | openssl_dh_helper.c | 48 const BIGNUM *pubKey = NULL; in DhSaveKeyMaterial() local 125 BIGNUM *pubKey = BN_bin2bn(key->data + offset, keyMaterial->pubKeySize, NULL); in InitDhStruct() local 144 …const int keyLen, const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *s… in DhAgreeKey() 236 const BIGNUM *pubKey = DH_get0_pub_key(dh); in DhX509ToHksBlob() local
|
/base/security/crypto_framework/interfaces/innerkits/key/ |
D | key_pair.h | 29 HcfPubKey *pubKey; member
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_pub_key.cpp | 27 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey() 78 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded() local
|
D | napi_key_pair.cpp | 61 napi_value pubKey = napiPubKey->ConvertToJsPubKey(env); in ConvertToJsKeyPair() local
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | ecc_asy_key_generator_openssl.c | 57 const EC_POINT *pubKey = EC_KEY_get0_public_key(ecKey); in NewEcKeyPairByOpenssl() local 317 static HcfResult CreateEccPubKey(int32_t curveId, EC_POINT *pubKey, HcfOpensslEccPubKey **returnObj) in CreateEccPubKey() 356 static HcfResult CreateEccKeyPair(HcfOpensslEccPubKey *pubKey, HcfOpensslEccPriKey *priKey, in CreateEccKeyPair() 382 const EC_POINT *pubKey = EC_KEY_get0_public_key(ecKey); in ConvertEcPubKeyByOpenssl() local 455 HcfOpensslEccPubKey *pubKey = NULL; in EngineConvertEccKey() local 502 HcfOpensslEccPubKey *pubKey = NULL; in EngineGenerateKeyPair() local
|
D | rsa_asy_key_generator_openssl.c | 411 static HcfResult DuplicatePkAndSkFromRSA(RSA *rsa, RSA **pubKey, RSA **priKey) in DuplicatePkAndSkFromRSA() 436 RSA *pubKey = NULL, *priKey = NULL; in PackKeyPair() local 571 HcfOpensslRsaPubKey *pubKey = NULL; in ConvertPubKey() local 618 HcfOpensslRsaPubKey *pubKey = NULL; in EngineConvertKey() local
|
/base/security/huks/test/fuzz_test/hksimportkey_fuzzer/ |
D | hksimportkey_fuzzer.cpp | 42 struct HksBlob pubKey = { BLOB_SIZE, static_cast<uint8_t *>(myData + BLOB_SIZE) }; in DoSomethingInterestingWithMyAPI() local
|
/base/security/huks/test/fuzz_test/hksexportpublickey_fuzzer/ |
D | hksexportpublickey_fuzzer.cpp | 42 struct HksBlob pubKey = { BLOB_SIZE, static_cast<uint8_t *>(myData + BLOB_SIZE) }; in DoSomethingInterestingWithMyAPI() local
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_ed25519_sign_verify_test.cpp | 123 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; in HksEd25519SignVerifyTestNormalCase() local 180 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; variable 246 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; variable
|
D | hks_ecc_sign_verify_test_common.cpp | 88 uint8_t pubKey[HKS_ECC_KEY_SIZE_521] = {0}; in HksEccSignVerifyTestNormalCase() local
|
/base/update/updater/services/package/pkg_verify/ |
D | openssl_util.cpp | 141 EVP_PKEY *pubKey = X509_get_pubkey(issuerCert); in VerifyX509CertByIssuerCert() local 150 int32_t VerifyDigestByPubKey(EVP_PKEY *pubKey, const int nid, const std::vector<uint8_t> &digestDat… in VerifyDigestByPubKey()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_safe_cipher_key_test.cpp | 91 uint8_t pubKey[32] = {0}; variable
|
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
D | hks_safe_cipher_key_test.cpp | 91 uint8_t pubKey[32] = {0}; variable
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
D | mbedtls_ec_adapter.c | 76 static void SwapEndian(uint8_t *pubKey, int len) in SwapEndian() 284 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()
|
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/ |
D | asykeygenerator_fuzzer.cpp | 89 HcfPubKey *pubKey = dupKeyPair->pubKey; in TestRsaKey() local
|
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
D | hks_crypto_hal_dsa_sign.cpp | 118 … struct HksBlob pubKey = { .size = PUB_KEY_SIZE, .data = (uint8_t *)HksMalloc(PUB_KEY_SIZE) }; in RunTestCase() local
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algo_sign.cpp | 135 EVP_PKEY *pubKey = X509_get_pubkey(rcert); in VerifyDigest() local
|
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
D | hks_safe_cipher_key_test.c | 133 uint8_t pubKey[32] = {0}; in LITE_TEST_CASE() local
|