Searched refs:pkey (Results 1 - 5 of 5) sorted by relevance
/developtools/hapsigner/hapsigntool_cpp/utils/src/ |
H A D | key_store_helper.cpp | 67 void KeyStoreHelper::KeyPairFree(EC_GROUP* group, EC_KEY* pkey, const std::string& Message) in KeyPairFree() argument 76 EC_KEY_free(pkey); in KeyPairFree() 77 pkey = nullptr; in KeyPairFree() 547 EVP_PKEY* pkey = EVP_PKEY_new(); in GenerateKeyPair() local 548 EVP_PKEY_set1_EC_KEY(pkey, keyPair); in GenerateKeyPair() 550 return pkey; in GenerateKeyPair() 553 PKCS12* KeyStoreHelper::CreatePKCS12(const char* keyStorePwd, const char* keyPwd, const char* name, EVP_PKEY* pkey, in CreatePKCS12() argument 567 if (!pkey && !cert) { in CreatePKCS12() 572 if (!X509_check_private_key(cert, pkey)) { in CreatePKCS12() 581 if (SetPkeyPkcs12(pkey, ba in CreatePKCS12() 645 SetPkeyPkcs12(EVP_PKEY* pkey, PKCS12_SAFEBAG* bag, STACK_OF(PKCS12_SAFEBAG)* keyBags, const char* name, STACK_OF(PKCS7)** safes, int iter, const char* keyPwd, int keyType, int keyNid, unsigned char* keyId, unsigned int keyIdLen) SetPkeyPkcs12() argument 684 GetAttrNid(PKCS12_SAFEBAG* bag, EVP_PKEY* pkey, int nid) GetAttrNid() argument [all...] |
/developtools/hapsigner/hapsigntool_cpp/utils/include/ |
H A D | key_store_helper.h | 41 int SetPkeyPkcs12(EVP_PKEY* pkey, PKCS12_SAFEBAG* bag, STACK_OF(PKCS12_SAFEBAG)* keyBags, 44 int GetAttrNid(PKCS12_SAFEBAG* bag, EVP_PKEY* pkey, int nid); 64 PKCS12* CreatePKCS12(const char* keyStorePwd, const char* keyPwd, const char* name, EVP_PKEY* pkey, X509* cert, 68 void KeyPairFree(EC_GROUP* group, EC_KEY* pkey, const std::string& Message);
|
/developtools/hapsigner/hapsigntool_cpp_test/unittest/signProfile/ |
H A D | provision_test.cpp | 103 EVP_PKEY* pkey = NULL; in HWTEST_F() local 105 std::shared_ptr<LocalSigner> signer = std::make_shared<LocalSigner>(pkey, certs); in HWTEST_F() 660 EVP_PKEY* pkey = NULL; in HWTEST_F() local 663 signer = std::make_shared<LocalSigner>(pkey, certs); in HWTEST_F() 697 EVP_PKEY* pkey = NULL; in HWTEST_F() local 700 pkey = adapter.GetAliasKey(false); in HWTEST_F() 701 std::shared_ptr<Signer> signer = std::make_shared<LocalSigner>(pkey, certs); in HWTEST_F() 735 EVP_PKEY* pkey = NULL; in HWTEST_F() local 738 pkey = adapter.GetAliasKey(false); in HWTEST_F() 739 std::shared_ptr<Signer> signer = std::make_shared<LocalSigner>(pkey, cert in HWTEST_F() 773 EVP_PKEY* pkey = NULL; HWTEST_F() local [all...] |
/developtools/hdc/hdc_rust/src/host/ |
H A D | auth.rs | 173 fn load_or_create_prikey() -> io::Result<Rsa<openssl::pkey::Private>> { in load_or_create_prikey() 189 pub fn create_prikey() -> io::Result<Rsa<openssl::pkey::Private>> { in create_prikey() 205 fn get_pubkey_pem(rsa: &Rsa<openssl::pkey::Private>) -> io::Result<String> { in get_pubkey_pem() 217 fn get_signature_b64(rsa: &Rsa<openssl::pkey::Private>, plain: String) -> io::Result<String> { in get_signature_b64()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 54132 u16 pkey; global() member 57189 u16 pkey; global() member 64190 struct ib_pkey_cache *pkey; global() member [all...] |
Completed in 467 milliseconds