Home
last modified time | relevance | path

Searched refs:getAlgorithm (Results 1 – 25 of 31) sorted by relevance

12

/base/security/certificate_framework/interfaces/innerkits/certificate/
Dcert_chain_validator.h42 const char *(*getAlgorithm)(HcfCertChainValidator *self); member
/base/security/crypto_framework/interfaces/innerkits/key/
Dkey.h54 const char *(*getAlgorithm)(HcfKey *self); member
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
Dcipher.h64 const char *(*getAlgorithm)(HcfCipher *self); member
/base/security/crypto_framework/test/unittest/src/
Dcrypto_rsa_asy_key_generator_test.cpp406 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr);
412 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr);
438 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr);
444 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr);
518 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr);
524 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr);
598 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr);
629 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr);
662 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr);
668 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr);
[all …]
Dcrypto_ecc_asy_key_generator_test.cpp655 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
674 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr);
693 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj);
978 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
997 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr);
1016 const char *algName = keyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj);
1463 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
1482 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr);
1501 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj);
1786 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
[all …]
Dcrypto_sm2_asy_key_generator_test.cpp445 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
464 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr);
674 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
693 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr);
1005 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
1024 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr);
1234 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
1253 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr);
Dcrypto_sm4_generator_test.cpp182 keyAlgoName = key->key.getAlgorithm(nullptr);
213 keyAlgoName = key->key.getAlgorithm(reinterpret_cast<HcfKey *>(generator));
Dcrypto_dsa_asy_key_generator_test.cpp350 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm(&(dsa2048KeyPair_->pubKey->base));
356 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm(nullptr);
362 const char *alg = dsa2048KeyPair_->pubKey->base.getAlgorithm((HcfKey *)&g_obj);
503 const char *alg = dsa2048KeyPair_->priKey->base.getAlgorithm(&(dsa2048KeyPair_->priKey->base));
766 const char *alg = convertKeyPair->pubKey->base.getAlgorithm(&(convertKeyPair->pubKey->base));
991 const char *skAlg = convertKeyPair->priKey->base.getAlgorithm(&(convertKeyPair->priKey->base));
Dcrypto_dsa_asy_key_generator_by_spec_test.cpp535 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
718 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base));
940 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
1133 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base));
1320 const char *alg = pk->base.getAlgorithm(&(pk->base));
1506 const char *alg = sk->base.getAlgorithm(&(sk->base));
Dcrypto_rsa_asy_key_generator_by_spec_test.cpp1199 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
1393 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base));
1591 const char *alg = pubKey->base.getAlgorithm(&(pubKey->base));
1784 const char *alg = priKey->base.getAlgorithm(&(priKey->base));
1971 const char *alg = pubKey->base.getAlgorithm(&(pubKey->base));
3228 const char *alg = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
3422 const char *alg = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base));
3620 const char *alg = pubKey->base.getAlgorithm(&(pubKey->base));
3813 const char *alg = priKey->base.getAlgorithm(&(priKey->base));
4000 const char *alg = pubKey->base.getAlgorithm(&(pubKey->base));
[all …]
Dcrypto_ecc_asy_key_generator_by_spec_test.cpp2067 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
2091 const char *algName = pubKey->base.getAlgorithm(&(pubKey->base));
2115 const char *algName = priKey->base.getAlgorithm(&(priKey->base));
2139 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base));
2163 const char *algName = pubKey->base.getAlgorithm(&(pubKey->base));
2187 const char *algName = priKey->base.getAlgorithm(&(priKey->base));
2212 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr);
2236 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj);
3409 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
3433 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base);
[all …]
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_pub_key.cpp58 const char *algName = this->GetPubKey()->base.getAlgorithm(&(this->GetPubKey()->base)); in ConvertToJsPubKey()
Dnapi_key.cpp50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
Dnapi_cert_chain_validator.cpp228 const char *returnAlgorithm = certChainValidator->getAlgorithm(certChainValidator); in CreateCertChainValidator()
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
Dsym_key_openssl.c276 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in GenerateSymmKey()
314 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in ConvertSymmKey()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_key.cpp58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
Dnapi_pub_key.cpp52 const char *algName = this->GetPubKey()->base.getAlgorithm(&(this->GetPubKey()->base)); in ConvertToJsPubKey()
Dnapi_pri_key.cpp52 const char *algName = this->GetPriKey()->base.getAlgorithm(&(this->GetPriKey()->base)); in ConvertToJsPriKey()
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c197 returnValidator->base.getAlgorithm = GetAlgorithm; in HcfCertChainValidatorCreate()
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c276 returnPubKey->base.base.getAlgorithm = GetSm2PubKeyAlgorithm; in PackSm2PubKey()
296 returnPriKey->base.base.getAlgorithm = GetSm2PriKeyAlgorithm; in PackSm2PriKey()
Ddsa_asy_key_generator_openssl.c404 pk->base.base.getAlgorithm = GetDsaPubKeyAlgorithm; in FillOpensslDsaPubKeyFunc()
416 sk->base.base.getAlgorithm = GetDsaPriKeyAlgorithm; in FillOpensslDsaPriKeyFunc()
Drsa_asy_key_generator_openssl.c517 (*retPubKey)->base.base.getAlgorithm = GetPubKeyAlgorithm; in PackPubKey()
543 (*retPriKey)->base.base.getAlgorithm = GetPriKeyAlgorithm; in PackPriKey()
Decc_asy_key_generator_openssl.c1227 returnPubKey->base.base.getAlgorithm = GetEccPubKeyAlgorithm; in PackEccPubKey()
1263 returnPriKey->base.base.getAlgorithm = GetEccPriKeyAlgorithm; in PackEccPriKey()
/base/security/crypto_framework/frameworks/crypto_operation/
Dcipher.c320 cipher->super.getAlgorithm = GetAlogrithm; in InitCipher()
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/
Dasykeygenerator_fuzzer.cpp581 (void)pubKey->base.getAlgorithm(&(pubKey->base)); in TestRsaKey()
613 (void)pubKey->base.getAlgorithm(&(pubKey->base)); in TestDsaKey()

12