| /base/security/crypto_framework/frameworks/native/src/ |
| D | sym_cipher.c | 37 const char *(*getAlgorithm)(HcfCipher *self); member 143 if ((ctx == NULL) || (ctx->getAlgorithm == NULL)) { in OH_CryptoSymCipher_GetAlgoName() 146 return ctx->getAlgorithm((HcfCipher *)ctx); in OH_CryptoSymCipher_GetAlgoName()
|
| D | sym_key.c | 91 if (keyCtx == NULL || (keyCtx->key.getAlgorithm == NULL)) { in OH_CryptoSymKey_GetAlgoName() 94 return keyCtx->key.getAlgorithm((HcfKey *)keyCtx); in OH_CryptoSymKey_GetAlgoName()
|
| /base/security/crypto_framework/interfaces/inner_api/crypto_operation/ |
| D | kdf.h | 33 const char *(*getAlgorithm)(HcfKdf *self); member
|
| D | cipher.h | 65 const char *(*getAlgorithm)(HcfCipher *self); member
|
| /base/security/certificate_framework/interfaces/inner_api/certificate/ |
| D | cert_chain_validator.h | 42 const char *(*getAlgorithm)(HcfCertChainValidator *self); member
|
| /base/security/crypto_framework/interfaces/inner_api/key/ |
| D | key.h | 66 const char *(*getAlgorithm)(HcfKey *self); member
|
| /base/security/crypto_framework/frameworks/cj/src/ |
| D | key_impl.cpp | 51 const char *algo = hcfKey_->getAlgorithm(hcfKey_); in GetAlgorithm()
|
| D | cipher_impl.cpp | 94 const char *algo = cipher_->getAlgorithm(cipher_); in GetAlgorithm()
|
| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_rsa_asy_key_generator_test.cpp | 406 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); 516 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr); 522 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr); 596 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr); 627 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr); 660 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr); 666 EXPECT_NE(prikey->base.getAlgorithm((HcfKey *)prikey), nullptr); [all …]
|
| D | crypto_brainpool_asy_key_generator_test.cpp | 378 … const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm(&(g_160r1KeyPair->pubKey->base)); 384 const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm(nullptr); 390 const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 540 … const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm(&(g_160r1KeyPair->pubKey->base)); 546 const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm(nullptr); 552 const char *algName = g_160r1KeyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 779 …const char *algName = g_160r1ConvertKeyPair->pubKey->base.getAlgorithm(&(g_160r1ConvertKeyPair->pu… 785 const char *algName = g_160r1ConvertKeyPair->pubKey->base.getAlgorithm(nullptr); 791 const char *algName = g_160r1ConvertKeyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 939 …const char *algName = g_160r1ConvertKeyPair->priKey->base.getAlgorithm(&g_160r1ConvertKeyPair->pri… [all …]
|
| D | crypto_ed25519_asy_key_generator_test.cpp | 274 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 331 const char *algorithmName = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); 461 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 521 const char *algorithmName = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); 825 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(nullptr); 828 const char *algorithmName1 = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 915 const char *algorithmName = keyPair->priKey->base.getAlgorithm(nullptr); 918 const char *algorithmName1 = keyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj); 1037 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(nullptr); 1040 const char *algorithmName1 = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); [all …]
|
| D | crypto_dh_asy_key_generator_test.cpp | 517 …const char *algorithmName = g_dh1536KeyPair->pubKey->base.getAlgorithm(&(g_dh1536KeyPair->pubKey->… 551 …const char *algorithmName = g_dh1536KeyPair->priKey->base.getAlgorithm(&(g_dh1536KeyPair->priKey->… 643 …const char *algorithmName = g_dh1536KeyPair->pubKey->base.getAlgorithm(&(g_dh1536KeyPair->pubKey->… 678 …const char *algorithmName = g_dh1536KeyPair->priKey->base.getAlgorithm(&(g_dh1536KeyPair->priKey->… 953 const char *algorithmName = g_dh1536KeyPair->pubKey->base.getAlgorithm(nullptr); 956 const char *algorithmName1 = g_dh1536KeyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 989 const char *algorithmName = g_dh1536KeyPair->priKey->base.getAlgorithm(nullptr); 992 const char *algorithmName1 = g_dh1536KeyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj);
|
| D | crypto_sm4_cfb_cipher_test.cpp | 415 retAlgo = cipher->getAlgorithm(nullptr); 434 retAlgo = cipher->getAlgorithm(reinterpret_cast<HcfCipher *>(generator)); 509 retAlgo = cipher->getAlgorithm(cipher);
|
| D | crypto_x25519_asy_key_generator_test.cpp | 213 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 264 const char *algorithmName = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); 382 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 437 const char *algorithmName = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base));
|
| D | crypto_ecc_asy_key_generator_test.cpp | 656 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 675 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 694 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 979 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base); 998 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr); 1017 const char *algName = keyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj); 1464 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 1483 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 1502 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 1787 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base); [all …]
|
| /base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
| D | napi_pub_key.cpp | 52 const char *algName = this->GetPubKey()->base.getAlgorithm(&(this->GetPubKey()->base)); in ConvertToJsPubKey()
|
| D | napi_key.cpp | 50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
|
| /base/security/certificate_framework/test/unittest/v1.0/src/ |
| D | crypto_x509_cert_chain_validator_test.cpp | 261 const char *algo = g_validator->getAlgorithm(g_validator); 514 const char *algo = g_validator->getAlgorithm(nullptr); 526 const char *algo = g_validator->getAlgorithm(&invalidValidator);
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | kdf.c | 200 returnGenerator->base.getAlgorithm = GetAlgoName; in HcfKdfCreate()
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_key.cpp | 58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
|
| /base/security/crypto_framework/test/unittest/src/ecc/ |
| D | crypto_ecc_asy_key_generator_by_spec_test.cpp | 1435 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 1459 const char *algName = pubKey->base.getAlgorithm(&(pubKey->base)); 1483 const char *algName = priKey->base.getAlgorithm(&(priKey->base)); 1507 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 1531 const char *algName = pubKey->base.getAlgorithm(&(pubKey->base)); 1555 const char *algName = priKey->base.getAlgorithm(&(priKey->base)); 1580 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 1604 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj);
|
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| D | crypto_aes_cipher_test.cpp | 110 keyAlgoName = key->key.getAlgorithm(&(key->key)); 126 keyAlgoName = key->key.getAlgorithm(nullptr); 145 keyAlgoName = key->key.getAlgorithm(reinterpret_cast<HcfKey *>(generator));
|
| /base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
| D | cert_chain_validator.c | 197 returnValidator->base.getAlgorithm = GetAlgorithm; in HcfCertChainValidatorCreate()
|
| /base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/ |
| D | sym_key_openssl.c | 337 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in GenerateSymmKey() 397 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in ConvertSymmKey()
|
| /base/security/crypto_framework/test/fuzztest/crypto_operation/hcfkdfcreate_fuzzer/ |
| D | hcfkdfcreate_fuzzer.cpp | 152 generator->getAlgorithm(generator); in TestGetOneAlgoName()
|