Home
last modified time | relevance | path

Searched defs:pubKey (Results 1 – 25 of 85) sorted by relevance

1234

/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_pub_key.cpp29 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/
Dhks_mbedtls_ecdh.c43 const struct HksBlob *pubKey, mbedtls_ecdh_context *ctx) in EccKeyMaterialToCtx()
55 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
Dhks_crypto_ed25519.c54 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/
Dhks_openssl_dh.c75 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()
Dhks_openssl_curve25519.c114 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()
Dhks_openssl_ecc.c357 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/
Dopenssl_dh_helper.c48 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/
Dcrypto_rsa_asy_key_generator_by_spec_test.cpp978 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 …]
Dcrypto_ecc_asy_key_generator_by_spec_test.cpp1235 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 …]
Dcrypto_dsa_exception_test.cpp266 HcfOpensslDsaPubKey *pubKey = nullptr; variable
296 HcfOpensslDsaPubKey *pubKey = nullptr; variable
/base/security/crypto_framework/interfaces/innerkits/key/
Dkey_pair.h29 HcfPubKey *pubKey; member
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_pub_key.cpp29 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/
Dhks_client_service_adapter_test.cpp101 HksBlob *pubKey = reinterpret_cast<HksBlob *>(HksMalloc(sizeof(HksBlob))); variable
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksexportpublickey_fuzzer/
Dhksexportpublickey_fuzzer.cpp42 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/
Dhksimportkey_fuzzer.cpp42 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/
Ddsa_asy_key_generator_openssl.c453 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
Dsm2_asy_key_generator_openssl.c307 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/
Dasykeygenerator_fuzzer.cpp580 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/
Dhks_ed25519_sign_verify_test.cpp132 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/
Dhks_chipset_platform_key_hardcoded.c135 int32_t HksChipsetPlatformDerivePubKey(const struct HksBlob *salt, struct HksBlob *pubKey) in HksChipsetPlatformDerivePubKey()
/base/update/updater/services/package/pkg_verify/
Dopenssl_util.cpp142 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/
Dcf_adapter_cert_openssl.c128 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/
Dhks_safe_cipher_key_test.cpp91 uint8_t pubKey[32] = {0}; variable
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_safe_cipher_key_test.cpp95 uint8_t pubKey[32] = {0}; variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dmbedtls_ec_adapter.c76 static void SwapEndian(uint8_t *pubKey, int len) in SwapEndian()
284 int32_t MbedtlsAgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Uint8Buff *sharedKey) in MbedtlsAgreeSharedSecret()

1234