Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 - 25 of 43) sorted by relevance

12

/base/security/crypto_framework/frameworks/cj/src/
H A Dkey_impl.cpp39 const char *format = hcfKey_->getFormat(hcfKey_); in GetFormat()
/base/security/crypto_framework/interfaces/inner_api/key/
H A Dkey.h71 const char *(*getFormat)(HcfKey *self); member
/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_rsa_asy_key_generator_test.cpp407 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); in HWTEST_F()
413 EXPECT_NE(prikey->base.getFormat((HcfKey *)prikey), nullptr); in HWTEST_F()
439 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); in HWTEST_F()
445 EXPECT_NE(prikey->base.getFormat((HcfKey *)prikey), nullptr); in HWTEST_F()
517 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); in HWTEST_F()
523 EXPECT_NE(prikey->base.getFormat((HcfKey *)prikey), nullptr); in HWTEST_F()
597 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); in HWTEST_F()
628 EXPECT_NE(prikey->base.getFormat((HcfKey *)prikey), nullptr); in HWTEST_F()
661 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); in HWTEST_F()
667 EXPECT_NE(prikey->base.getFormat((HcfKe in HWTEST_F()
[all...]
H A Dcrypto_brainpool_asy_key_generator_test.cpp360 const char *format = g_160r1KeyPair->pubKey->base.getFormat(&(g_160r1KeyPair->pubKey->base)); in HWTEST_F()
366 const char *format = g_160r1KeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
372 const char *format = g_160r1KeyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
522 const char *format = g_160r1KeyPair->priKey->base.getFormat(&g_160r1KeyPair->priKey->base); in HWTEST_F()
528 const char *format = g_160r1KeyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
534 const char *format = g_160r1KeyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
761 const char *format = g_160r1ConvertKeyPair->pubKey->base.getFormat(&(g_160r1ConvertKeyPair->pubKey->base)); in HWTEST_F()
767 const char *format = g_160r1ConvertKeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
773 const char *format = g_160r1ConvertKeyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
921 const char *format = g_160r1ConvertKeyPair->priKey->base.getFormat( in HWTEST_F()
[all...]
H A Dcrypto_ed25519_asy_key_generator_test.cpp283 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
340 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
470 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
530 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
869 const char *formatName = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
872 const char *formatName1 = keyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
961 const char *formatName = formatName = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
964 const char *formatName1 = keyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1083 const char *formatName = formatName = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
1086 const char *formatName1 = keyPair->pubKey->base.getFormat((HcfKe in HWTEST_F()
[all...]
H A Dcrypto_ecc_asy_key_generator_test.cpp599 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
618 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
637 const char *format = keyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
922 const char *format = keyPair->priKey->base.getFormat(&keyPair->priKey->base); in HWTEST_F()
941 const char *format = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
960 const char *format = keyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1407 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
1426 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
1445 const char *format = keyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1730 const char *format = keyPair->priKey->base.getFormat( in HWTEST_F()
[all...]
H A Dcrypto_x25519_asy_key_generator_test.cpp222 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
273 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
392 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
447 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
H A Dcrypto_dh_asy_key_generator_test.cpp526 const char *formatName = g_dh1536KeyPair->pubKey->base.getFormat(&(g_dh1536KeyPair->pubKey->base)); in HWTEST_F()
560 const char *formatName = g_dh1536KeyPair->priKey->base.getFormat(&(g_dh1536KeyPair->priKey->base)); in HWTEST_F()
652 const char *formatName = g_dh1536KeyPair->pubKey->base.getFormat(&(g_dh1536KeyPair->pubKey->base)); in HWTEST_F()
687 const char *formatName = g_dh1536KeyPair->priKey->base.getFormat(&(g_dh1536KeyPair->priKey->base)); in HWTEST_F()
980 const char *formatName = g_dh1536KeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
983 const char *formatName1 = g_dh1536KeyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1024 const char *formatName = formatName = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
1027 const char *formatName1 = keyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
H A Dcrypto_sm2_asy_key_generator_test.cpp408 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
427 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
637 const char *format = keyPair->priKey->base.getFormat(&keyPair->priKey->base); in HWTEST_F()
656 const char *format = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
968 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
987 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
1197 const char *format = keyPair->priKey->base.getFormat(&keyPair->priKey->base); in HWTEST_F()
1216 const char *format = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
H A Dcrypto_sm4_generator_test.cpp237 // key getFormat in HWTEST_F()
238 retFormat = key->key.getFormat(nullptr); in HWTEST_F()
267 // key getFormat in HWTEST_F()
268 retFormat = key->key.getFormat(reinterpret_cast<HcfKey *>(generator)); in HWTEST_F()
H A Dcrypto_dh_asy_key_generator_by_spec_test.cpp660 const char *formatName = g_dhKeyPair->pubKey->base.getFormat(&(g_dhKeyPair->pubKey->base)); in HWTEST_F()
694 const char *formatName = g_dhKeyPair->priKey->base.getFormat(&(g_dhKeyPair->priKey->base)); in HWTEST_F()
983 const char *formatName = g_dhKeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
986 const char *formatName1 = g_dhKeyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1019 const char *formatName = g_dhKeyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
1022 const char *formatName1 = g_dhKeyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
H A Dcrypto_rsa1024_asy_key_generator_by_spec_test.cpp477 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
673 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
699 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
732 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
869 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1062 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1245 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa8192_asy_key_generator_by_spec_test.cpp476 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
672 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
698 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
731 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
868 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1061 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1244 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa3072_asy_key_generator_by_spec_test.cpp476 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
672 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
698 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
731 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
868 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1061 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1244 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa512_asy_key_generator_by_spec_test.cpp477 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
673 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
699 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
732 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
869 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1062 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1245 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa2048_asy_key_generator_by_spec_test.cpp476 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
672 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
698 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
731 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
868 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1061 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1244 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa4096_asy_key_generator_by_spec_test.cpp476 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
672 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
698 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
731 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
868 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1061 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1244 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
H A Dcrypto_rsa768_asy_key_generator_by_spec_test.cpp476 const char *pkFormat = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
672 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
698 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
731 const char *pkFormat = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
868 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1061 const char *pkFormat = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1244 const char *pkFormat = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_pub_key.cpp53 const char *format = this->GetPubKey()->base.getFormat(&(this->GetPubKey()->base)); in ConvertToJsPubKey()
H A Dnapi_key.cpp65 const char *format = key->getFormat(key); in JsGetFormat()
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
H A Dsym_key_openssl.c278 returnSymmKey->key.key.getFormat = GetFormat; in GenerateSymmKey()
337 returnSymmKey->key.key.getFormat = GetFormat; in ConvertSymmKey()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_key.cpp83 const char *format = key->getFormat(key); in JsGetFormat()
/base/security/crypto_framework/test/unittest/src/ecc/
H A Dcrypto_ecc_asy_key_generator_by_spec_test.cpp1241 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
1265 const char *format = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1289 const char *format = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1313 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
1337 const char *format = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1361 const char *format = priKey->base.getFormat(&(priKey->base)); in HWTEST_F()
1386 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
1410 const char *format = keyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
/base/security/crypto_framework/test/unittest/src/sm2/
H A Dcrypto_sm2_asy_key_generator_by_spec_test.cpp611 const char *format = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F()
639 const char *format = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F()
668 const char *format = keyPair->pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1092 const char *format = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F()
1120 const char *format = keyPair->priKey->base.getFormat(nullptr); in HWTEST_F()
1149 const char *format = keyPair->priKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
1584 const char *format = pubKey->base.getFormat(&(pubKey->base)); in HWTEST_F()
1612 const char *format = pubKey->base.getFormat(nullptr); in HWTEST_F()
1640 const char *format = pubKey->base.getFormat((HcfKey *)&g_obj); in HWTEST_F()
/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_cipher_test.cpp240 retFormat = key->key.getFormat(&(key->key)); in HWTEST_F()
269 // key getFormat in HWTEST_F()
270 retFormat = key->key.getFormat(nullptr); in HWTEST_F()
299 // key getFormat in HWTEST_F()
300 retFormat = key->key.getFormat(reinterpret_cast<HcfKey *>(generator)); in HWTEST_F()

Completed in 50 milliseconds

12