/ohos5.0/base/security/crypto_framework/frameworks/native/src/ |
H A 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()
|
H A 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()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A 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); 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); 1150 EXPECT_EQ(pubkey->base.getAlgorithm(nullptr), nullptr); [all …]
|
H A 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); 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… 945 const char *algName = g_160r1ConvertKeyPair->priKey->base.getAlgorithm(nullptr); [all …]
|
H A 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)); 459 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 823 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(nullptr); 826 const char *algorithmName1 = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 913 const char *algorithmName = keyPair->priKey->base.getAlgorithm(nullptr); 916 const char *algorithmName1 = keyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj); 1035 const char *algorithmName = keyPair->pubKey->base.getAlgorithm(nullptr); 1038 const char *algorithmName1 = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 1099 const char *algorithmName = keyPair->priKey->base.getAlgorithm(nullptr); [all …]
|
H A 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->… 641 …const char *algorithmName = g_dh1536KeyPair->pubKey->base.getAlgorithm(&(g_dh1536KeyPair->pubKey->… 676 …const char *algorithmName = g_dh1536KeyPair->priKey->base.getAlgorithm(&(g_dh1536KeyPair->priKey->… 951 const char *algorithmName = g_dh1536KeyPair->pubKey->base.getAlgorithm(nullptr); 954 const char *algorithmName1 = g_dh1536KeyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 987 const char *algorithmName = g_dh1536KeyPair->priKey->base.getAlgorithm(nullptr); 990 const char *algorithmName1 = g_dh1536KeyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj);
|
H A 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));
|
H A 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); 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); 1806 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr); [all …]
|
H A D | crypto_sm4_cfb_cipher_test.cpp | 632 retAlgo = cipher->getAlgorithm(nullptr); 663 retAlgo = cipher->getAlgorithm(reinterpret_cast<HcfCipher *>(generator)); 781 retAlgo = cipher->getAlgorithm(cipher);
|
H A D | crypto_sm2_asy_key_generator_test.cpp | 446 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 465 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 675 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base); 694 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr); 1006 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 1025 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 1235 const char *algName = keyPair->priKey->base.getAlgorithm(&keyPair->priKey->base); 1254 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr);
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
H A D | kdf.h | 33 const char *(*getAlgorithm)(HcfKdf *self); member
|
H A D | cipher.h | 65 const char *(*getAlgorithm)(HcfCipher *self); member
|
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/ |
H A D | cert_chain_validator.h | 42 const char *(*getAlgorithm)(HcfCertChainValidator *self); member
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/key/ |
H A D | key.h | 65 const char *(*getAlgorithm)(HcfKey *self); member
|
/ohos5.0/base/security/crypto_framework/frameworks/cj/src/ |
H A D | key_impl.cpp | 50 const char *algo = hcfKey_->getAlgorithm(hcfKey_); in GetAlgorithm()
|
H A D | cipher_impl.cpp | 94 const char *algo = cipher_->getAlgorithm(cipher_); in GetAlgorithm()
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | crypto_x509_cert_chain_validator_test.cpp | 261 const char *algo = g_validator->getAlgorithm(g_validator); 519 const char *algo = g_validator->getAlgorithm(nullptr); 531 const char *algo = g_validator->getAlgorithm(&invalidValidator);
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ecc/ |
H A 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);
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/ |
H A D | sym_key_openssl.c | 279 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in GenerateSymmKey() 338 returnSymmKey->key.key.getAlgorithm = GetAlgorithm; in ConvertSymmKey()
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_pub_key.cpp | 52 const char *algName = this->GetPubKey()->base.getAlgorithm(&(this->GetPubKey()->base)); in ConvertToJsPubKey()
|
H A D | napi_key.cpp | 50 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/sm2/ |
H A D | crypto_sm2_asy_key_generator_by_spec_test.cpp | 670 const char *algName = keyPair->pubKey->base.getAlgorithm(&(keyPair->pubKey->base)); 697 const char *algName = keyPair->pubKey->base.getAlgorithm(nullptr); 724 const char *algName = keyPair->pubKey->base.getAlgorithm((HcfKey *)&g_obj); 1133 const char *algName = keyPair->priKey->base.getAlgorithm(&(keyPair->priKey->base)); 1160 const char *algName = keyPair->priKey->base.getAlgorithm(nullptr); 1187 const char *algName = keyPair->priKey->base.getAlgorithm((HcfKey *)&g_obj); 1605 const char *algName = pubKey->base.getAlgorithm(&(pubKey->base)); 1632 const char *algName = pubKey->base.getAlgorithm(nullptr); 1659 const char *algName = pubKey->base.getAlgorithm((HcfKey *)&g_obj);
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/ |
H A D | crypto_aes_cipher_test.cpp | 153 keyAlgoName = key->key.getAlgorithm(&(key->key)); 183 keyAlgoName = key->key.getAlgorithm(nullptr); 214 keyAlgoName = key->key.getAlgorithm(reinterpret_cast<HcfKey *>(generator));
|
/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/ |
H A D | kdf.c | 193 returnGenerator->base.getAlgorithm = GetAlgoName; in HcfKdfCreate()
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_key.cpp | 58 const char *algo = key->getAlgorithm(key); in JsGetAlgorithm()
|