/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_pub_key.cpp | 29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey() 77 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded() local 97 static napi_value GetAsyKeySpecBigInt(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecBigInt() 112 static napi_value GetAsyKeySpecNumber(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecNumber() 127 static napi_value GetAsyKeySpecString(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecString() 169 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetAsyKeySpec() local
|
/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 | 54 static int32_t SaveEd25519KeyMaterial(const struct HksBlob *pubKey, const struct HksBlob *priKey, in SaveEd25519KeyMaterial() 102 uint8_t pubKey[ED25519_PUBLIC_KEY_LEN] = {0}; in HksEd25519GenerateKey() local
|
/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() 183 int32_t HksOpensslEd25519AgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslEd25519AgreeKey()
|
D | hks_openssl_ecc.c | 357 static int32_t GetPeerKey(const struct HksBlob *pubKey, EVP_PKEY *key) in GetPeerKey() 393 static int32_t AgreeKeyEcdh(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct H… in AgreeKeyEcdh() 435 int32_t HksOpensslEcdhAgreeKey(const struct HksBlob *nativeKey, const struct HksBlob *pubKey, in HksOpensslEcdhAgreeKey()
|
/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/test/unittest/src/ |
D | crypto_rsa_asy_key_generator_by_spec_test.cpp | 978 HcfPubKey *pubKey = nullptr; variable 1047 HcfPubKey *pubKey = nullptr; variable 1537 HcfPubKey *pubKey = nullptr; variable 1563 HcfPubKey *pubKey = nullptr; variable 1586 HcfPubKey *pubKey = nullptr; variable 1611 HcfPubKey *pubKey = nullptr; variable 1640 HcfPubKey *pubKey = nullptr; variable 1665 HcfPubKey *pubKey = nullptr; variable 1697 HcfPubKey *pubKey = nullptr; variable 1921 HcfPubKey *pubKey = nullptr; variable [all …]
|
D | crypto_ecc_asy_key_generator_by_spec_test.cpp | 1235 HcfPubKey *pubKey = nullptr; variable 1304 HcfPubKey *pubKey = nullptr; variable 1437 HcfPubKey *pubKey = nullptr; variable 1509 HcfPubKey *pubKey = nullptr; variable 1578 HcfPubKey *pubKey = nullptr; variable 1641 HcfPubKey *pubKey = nullptr; variable 1891 HcfPubKey *pubKey = nullptr; variable 1963 HcfPubKey *pubKey = nullptr; variable 2085 HcfPubKey *pubKey = nullptr; variable 2157 HcfPubKey *pubKey = nullptr; variable [all …]
|
D | crypto_dsa_exception_test.cpp | 266 HcfOpensslDsaPubKey *pubKey = nullptr; variable 296 HcfOpensslDsaPubKey *pubKey = nullptr; variable
|
/base/security/crypto_framework/interfaces/innerkits/key/ |
D | key_pair.h | 29 HcfPubKey *pubKey; member
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_pub_key.cpp | 29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey() 80 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded() local
|
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/ |
D | hks_client_service_adapter_test.cpp | 101 HksBlob *pubKey = reinterpret_cast<HksBlob *>(HksMalloc(sizeof(HksBlob))); variable
|
/base/security/huks/test/fuzz_test/innerapi_fuzzer/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/fuzz_test/innerapi_fuzzer/hksimportkey_fuzzer/ |
D | hksimportkey_fuzzer.cpp | 42 struct HksBlob pubKey = { BLOB_SIZE, static_cast<uint8_t *>(myData + BLOB_SIZE) }; in DoSomethingInterestingWithMyAPI() local
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | dsa_asy_key_generator_openssl.c | 453 static HcfResult CreateDsaKeyPair(const HcfOpensslDsaPubKey *pubKey, const HcfOpensslDsaPriKey *pri… in CreateDsaKeyPair() 607 BIGNUM *pubKey = NULL; in GenerateOpensslDsaKeyByPubKeySpec() local 622 BIGNUM *pubKey = NULL; in GenerateOpensslDsaKeyByKeyPairSpec() local 647 HcfOpensslDsaPubKey *pubKey = NULL; in CreateDsaKeyPairByCommSpec() local 705 HcfOpensslDsaPubKey *pubKey = NULL; in CreateDsaKeyPairByKeyPairSpec() local 742 HcfOpensslDsaPubKey *pubKey = NULL; in CreateDsaPubKeyByPubKeySpec() local 817 HcfOpensslDsaPubKey *pubKey = NULL; in EngineGenerateDsaKeyPair() local 853 HcfOpensslDsaPubKey *pubKey = NULL; in EngineConvertDsaKey() local
|
D | sm2_asy_key_generator_openssl.c | 307 static HcfResult PackSm2KeyPair(HcfOpensslSm2PubKey *pubKey, HcfOpensslSm2PriKey *priKey, in PackSm2KeyPair() 379 HcfOpensslSm2PubKey *pubKey = NULL; in EngineConvertSm2Key() local 421 HcfOpensslSm2PubKey *pubKey = NULL; in CreateAndAssignKeyPair() local
|
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/ |
D | asykeygenerator_fuzzer.cpp | 580 HcfPubKey *pubKey = dupKeyPair->pubKey; in TestRsaKey() local 612 HcfPubKey *pubKey = dupKeyPair->pubKey; in TestDsaKey() local 630 HcfPubKey *pubKey = nullptr; in GenEccKeyBySpec() local 683 HcfPubKey *pubKey = nullptr; in GenRsaKeyBySpec() local 726 HcfPubKey *pubKey = nullptr; in GenDsaKeyBySpec() local
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
D | hks_ed25519_sign_verify_test.cpp | 132 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; in HksEd25519SignVerifyTestNormalCase() local 189 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; variable 255 uint8_t pubKey[HKS_CURVE25519_KEY_SIZE_256] = {0}; variable
|
/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/ |
D | hks_chipset_platform_key_hardcoded.c | 135 int32_t HksChipsetPlatformDerivePubKey(const struct HksBlob *salt, struct HksBlob *pubKey) in HksChipsetPlatformDerivePubKey()
|
/base/update/updater/services/package/pkg_verify/ |
D | openssl_util.cpp | 142 EVP_PKEY *pubKey = X509_get_pubkey(issuerCert); in VerifyX509CertByIssuerCert() local 153 int32_t VerifyDigestByPubKey(EVP_PKEY *pubKey, const int nid, const std::vector<uint8_t> &digestDat… in VerifyDigestByPubKey()
|
/base/security/certificate_framework/frameworks/adapter/v2.0/src/ |
D | cf_adapter_cert_openssl.c | 128 int32_t CfOpensslVerifyCert(const CfBase *certObj, const CfBlob *pubKey) in CfOpensslVerifyCert() 202 EVP_PKEY *pubKey = (EVP_PKEY *)X509_get_pubkey(certObj->x509Cert); in GetCertPubKey() local
|
/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/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_safe_cipher_key_test.cpp | 95 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()
|