/base/security/crypto_framework/interfaces/inner_api/key/ |
H A D | pub_key.h | 22 typedef struct HcfPubKey HcfPubKey; typedef 24 struct HcfPubKey { struct 27 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item, 30 HcfResult (*getAsyKeySpecString)(const HcfPubKey *self, const AsyKeySpecItem item, char **returnString); 32 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt); 34 HcfResult (*getEncodedDer)(const HcfPubKey *self, const char *format, HcfBlob *returnBlob);
|
H A D | key_pair.h | 29 HcfPubKey *pubKey;
|
/base/security/crypto_framework/frameworks/cj/src/ |
H A D | pub_key_impl.cpp | 19 PubKeyImpl::PubKeyImpl(HcfPubKey *pubKey) : KeyImpl(reinterpret_cast<HcfKey *>(pubKey)) {} in PubKeyImpl() 23 HcfPubKey *PubKeyImpl::GetPubKey() in GetPubKey() 25 return reinterpret_cast<HcfPubKey *>(KeyImpl::GetHcfKey()); in GetPubKey()
|
H A D | key_agreement_impl.cpp | 36 HcfBlob KeyAgreementImpl::GenerateSecret(HcfPriKey *priKey, HcfPubKey *pubKey, int32_t *errCode) in GenerateSecret()
|
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/ |
H A D | openssl_class.h | 30 HcfPubKey base; 57 HcfPubKey base; 80 HcfPubKey base; 99 HcfPubKey base; 123 HcfPubKey base; 150 HcfPubKey base;
|
/base/security/crypto_framework/frameworks/native/src/ |
H A D | asym_key.c | 50 HcfPubKey *pubKey; 56 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item, 59 HcfResult (*getAsyKeySpecString)(const HcfPubKey *self, const AsyKeySpecItem item, char **returnString); 61 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt); 63 HcfResult (*getEncodedDer)(const HcfPubKey *self, const char *format, HcfBlob *returnBlob); 164 key->getEncodedDer((HcfPubKey *)key, encodingStandard, (HcfBlob *)out); in OH_CryptoPubKey_Encode() 197 key->getAsyKeySpecInt((HcfPubKey *)key, (AsyKeySpecItem)item, returnInt); in OH_CryptoPubKey_GetParam() 208 key->getAsyKeySpecString((HcfPubKey *)key, (AsyKeySpecItem)item, &returnStr); in OH_CryptoPubKey_GetParam() 217 key->getAsyKeySpecBigInteger((HcfPubKey *)key, (AsyKeySpecItem)item, &bigIntValue); in OH_CryptoPubKey_GetParam()
|
/base/security/crypto_framework/frameworks/cj/include/ |
H A D | pub_key_impl.h | 27 explicit PubKeyImpl(HcfPubKey *pubKey); 29 HcfPubKey *GetPubKey();
|
H A D | key_agreement_impl.h | 31 HcfBlob GenerateSecret(HcfPriKey *priKey, HcfPubKey *pubKey, int32_t *errCode);
|
H A D | verify_impl.h | 30 HcfResult Init(HcfPubKey *pubKey);
|
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
H A D | napi_pub_key.h | 29 explicit NapiPubKey(HcfPubKey *pubKey);
32 HcfPubKey *GetPubKey();
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
H A D | napi_pub_key.h | 30 explicit NapiPubKey(HcfPubKey *pubKey); 33 HcfPubKey *GetPubKey();
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_pub_key.cpp | 29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {}
in NapiPubKey() 33 __attribute__((no_sanitize("cfi"))) HcfPubKey *NapiPubKey::GetPubKey()
in GetPubKey() 35 return reinterpret_cast<HcfPubKey *>(NapiKey::GetHcfKey());
in GetPubKey() 73 HcfPubKey *pubKey = napiPubKey->GetPubKey();
in JsGetEncoded()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_pub_key.cpp | 29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey() 33 HcfPubKey *NapiPubKey::GetPubKey() in GetPubKey() 35 return reinterpret_cast<HcfPubKey *>(NapiKey::GetHcfKey()); in GetPubKey() 77 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded() 129 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncodedDer() 183 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncodedPem() 203 static napi_value GetAsyKeySpecBigInt(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecBigInt() 224 static napi_value GetAsyKeySpecNumber(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecNumber() 239 static napi_value GetAsyKeySpecString(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecString() 281 HcfPubKey *pubKe in JsGetAsyKeySpec() [all...] |
/base/security/crypto_framework/frameworks/spi/ |
H A D | key_agreement_spi.h | 30 HcfPubKey *pubKey, HcfBlob *returnSecret);
|
H A D | asy_key_generator_spi.h | 52 HcfPubKey **returnPubKey);
|
/base/security/certificate_framework/frameworks/core/v1.0/spi/ |
H A D | x509_certificate_spi.h | 30 CfResult (*engineVerify)(HcfX509CertificateSpi *self, HcfPubKey *key); 34 CfResult (*engineGetPublicKey)(HcfX509CertificateSpi *self, HcfPubKey **keyOut);
|
/base/security/crypto_framework/interfaces/inner_api/crypto_operation/ |
H A D | key_agreement.h | 30 HcfPubKey *pubKey, HcfBlob *returnSecret);
|
/base/security/certificate_framework/frameworks/adapter/v1.0/inc/ |
H A D | certificate_openssl_class.h | 33 HcfPubKey base;
|
/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_rsa_verify_test.cpp | 198 res = verify->init(verify, nullptr, (HcfPubKey *)keyPair->priKey); in HWTEST_F() 308 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 333 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 357 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 381 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 418 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 456 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 494 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 533 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F() 573 HcfPubKey *pubke in HWTEST_F() [all...] |
H A D | crypto_rsa1024_asy_key_generator_by_spec_test.cpp | 202 HcfPubKey *pubKey = nullptr; in HWTEST_F() 271 HcfPubKey *pubKey = nullptr; in HWTEST_F() 761 HcfPubKey *pubKey = nullptr; in HWTEST_F() 787 HcfPubKey *pubKey = nullptr; in HWTEST_F() 810 HcfPubKey *pubKey = nullptr; in HWTEST_F() 835 HcfPubKey *pubKey = nullptr; in HWTEST_F() 864 HcfPubKey *pubKey = nullptr; in HWTEST_F() 889 HcfPubKey *pubKey = nullptr; in HWTEST_F() 921 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1145 HcfPubKey *pubKe in HWTEST_F() [all...] |
H A D | crypto_rsa8192_asy_key_generator_by_spec_test.cpp | 201 HcfPubKey *pubKey = nullptr; in HWTEST_F() 270 HcfPubKey *pubKey = nullptr; in HWTEST_F() 760 HcfPubKey *pubKey = nullptr; in HWTEST_F() 786 HcfPubKey *pubKey = nullptr; in HWTEST_F() 809 HcfPubKey *pubKey = nullptr; in HWTEST_F() 834 HcfPubKey *pubKey = nullptr; in HWTEST_F() 863 HcfPubKey *pubKey = nullptr; in HWTEST_F() 888 HcfPubKey *pubKey = nullptr; in HWTEST_F() 920 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1144 HcfPubKey *pubKe in HWTEST_F() [all...] |
H A D | crypto_rsa3072_asy_key_generator_by_spec_test.cpp | 201 HcfPubKey *pubKey = nullptr; in HWTEST_F() 270 HcfPubKey *pubKey = nullptr; in HWTEST_F() 760 HcfPubKey *pubKey = nullptr; in HWTEST_F() 786 HcfPubKey *pubKey = nullptr; in HWTEST_F() 809 HcfPubKey *pubKey = nullptr; in HWTEST_F() 834 HcfPubKey *pubKey = nullptr; in HWTEST_F() 863 HcfPubKey *pubKey = nullptr; in HWTEST_F() 888 HcfPubKey *pubKey = nullptr; in HWTEST_F() 920 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1144 HcfPubKey *pubKe in HWTEST_F() [all...] |
H A D | crypto_rsa512_asy_key_generator_by_spec_test.cpp | 202 HcfPubKey *pubKey = nullptr; in HWTEST_F() 271 HcfPubKey *pubKey = nullptr; in HWTEST_F() 761 HcfPubKey *pubKey = nullptr; in HWTEST_F() 787 HcfPubKey *pubKey = nullptr; in HWTEST_F() 810 HcfPubKey *pubKey = nullptr; in HWTEST_F() 835 HcfPubKey *pubKey = nullptr; in HWTEST_F() 864 HcfPubKey *pubKey = nullptr; in HWTEST_F() 889 HcfPubKey *pubKey = nullptr; in HWTEST_F() 921 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1145 HcfPubKey *pubKe in HWTEST_F() [all...] |
H A D | crypto_rsa2048_asy_key_generator_by_spec_test.cpp | 201 HcfPubKey *pubKey = nullptr; in HWTEST_F() 270 HcfPubKey *pubKey = nullptr; in HWTEST_F() 760 HcfPubKey *pubKey = nullptr; in HWTEST_F() 786 HcfPubKey *pubKey = nullptr; in HWTEST_F() 809 HcfPubKey *pubKey = nullptr; in HWTEST_F() 834 HcfPubKey *pubKey = nullptr; in HWTEST_F() 863 HcfPubKey *pubKey = nullptr; in HWTEST_F() 888 HcfPubKey *pubKey = nullptr; in HWTEST_F() 920 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1144 HcfPubKey *pubKe in HWTEST_F() [all...] |
H A D | crypto_rsa4096_asy_key_generator_by_spec_test.cpp | 201 HcfPubKey *pubKey = nullptr; in HWTEST_F() 270 HcfPubKey *pubKey = nullptr; in HWTEST_F() 760 HcfPubKey *pubKey = nullptr; in HWTEST_F() 786 HcfPubKey *pubKey = nullptr; in HWTEST_F() 809 HcfPubKey *pubKey = nullptr; in HWTEST_F() 834 HcfPubKey *pubKey = nullptr; in HWTEST_F() 863 HcfPubKey *pubKey = nullptr; in HWTEST_F() 888 HcfPubKey *pubKey = nullptr; in HWTEST_F() 920 HcfPubKey *pubKey = nullptr; in HWTEST_F() 1144 HcfPubKey *pubKe in HWTEST_F() [all...] |