Home
last modified time | relevance | path

Searched refs:formatName (Results 1 - 10 of 10) sorted by relevance

/base/security/crypto_framework/common/src/
H A Dparams_parser.c291 HcfResult GetFormatValueByFormatName(const char *formatName, HcfFormatValue *formatValue) in GetFormatValueByFormatName() argument
293 if (formatName == NULL || formatValue == NULL) { in GetFormatValueByFormatName()
299 if (strcmp(FORMAT_MAP[i].formatName, formatName) == 0) { in GetFormatValueByFormatName()
304 LOGE("Invalid format name: %s", formatName); in GetFormatValueByFormatName()
/base/security/crypto_framework/common/inc/
H A Dparams_parser.h194 const char *formatName; member
261 HcfResult GetFormatValueByFormatName(const char *formatName, HcfFormatValue *formatValue);
/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_ed25519_asy_key_generator_test.cpp283 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
284 ASSERT_EQ(formatName, g_pubkeyformatName); in HWTEST_F()
340 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
341 ASSERT_EQ(formatName, g_prikeyformatName); in HWTEST_F()
470 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
471 ASSERT_EQ(formatName, g_pubkeyformatName); in HWTEST_F()
530 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
531 ASSERT_EQ(formatName, g_prikeyformatName); in HWTEST_F()
869 const char *formatName = keyPair->pubKey->base.getFormat(nullptr); in HWTEST_F() local
870 ASSERT_EQ(formatName, nullpt in HWTEST_F()
961 const char *formatName = formatName = keyPair->priKey->base.getFormat(nullptr); HWTEST_F() local
1083 const char *formatName = formatName = keyPair->pubKey->base.getFormat(nullptr); HWTEST_F() local
1147 const char *formatName = formatName = keyPair->priKey->base.getFormat(nullptr); HWTEST_F() local
[all...]
H A Dcrypto_x25519_asy_key_generator_test.cpp222 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
223 ASSERT_EQ(formatName, g_pubkeyformatName); in HWTEST_F()
273 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
274 ASSERT_EQ(formatName, g_prikeyformatName); in HWTEST_F()
392 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
393 ASSERT_NE(formatName, nullptr); in HWTEST_F()
447 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
448 ASSERT_NE(formatName, nullptr); 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() local
527 ASSERT_EQ(formatName, g_dhpubkeyformatName); in HWTEST_F()
560 const char *formatName = g_dh1536KeyPair->priKey->base.getFormat(&(g_dh1536KeyPair->priKey->base)); in HWTEST_F() local
561 ASSERT_EQ(formatName, g_dhprikeyformatName); in HWTEST_F()
652 const char *formatName = g_dh1536KeyPair->pubKey->base.getFormat(&(g_dh1536KeyPair->pubKey->base)); in HWTEST_F() local
653 ASSERT_EQ(formatName, g_dhpubkeyformatName); in HWTEST_F()
687 const char *formatName = g_dh1536KeyPair->priKey->base.getFormat(&(g_dh1536KeyPair->priKey->base)); in HWTEST_F() local
688 ASSERT_EQ(formatName, g_dhprikeyformatName); in HWTEST_F()
980 const char *formatName = g_dh1536KeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F() local
981 ASSERT_EQ(formatName, nullpt in HWTEST_F()
1024 const char *formatName = formatName = keyPair->priKey->base.getFormat(nullptr); HWTEST_F() local
[all...]
H A Dcrypto_x25519_asy_key_generator_by_spec_test.cpp252 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
253 ASSERT_EQ(formatName, g_pubkeyformatName); in HWTEST_F()
324 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
325 ASSERT_EQ(formatName, g_prikeyformatName); 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() local
661 ASSERT_EQ(formatName, g_dhpubkeyformatName); in HWTEST_F()
694 const char *formatName = g_dhKeyPair->priKey->base.getFormat(&(g_dhKeyPair->priKey->base)); in HWTEST_F() local
695 ASSERT_EQ(formatName, g_dhprikeyformatName); in HWTEST_F()
983 const char *formatName = g_dhKeyPair->pubKey->base.getFormat(nullptr); in HWTEST_F() local
984 ASSERT_EQ(formatName, nullptr); in HWTEST_F()
1019 const char *formatName = g_dhKeyPair->priKey->base.getFormat(nullptr); in HWTEST_F() local
1020 ASSERT_EQ(formatName, nullptr); in HWTEST_F()
H A Dcrypto_ed25519_asy_key_generator_by_spec_test.cpp269 const char *formatName = keyPair->pubKey->base.getFormat(&(keyPair->pubKey->base)); in HWTEST_F() local
270 ASSERT_EQ(formatName, g_pubkeyformatName); in HWTEST_F()
342 const char *formatName = keyPair->priKey->base.getFormat(&(keyPair->priKey->base)); in HWTEST_F() local
343 ASSERT_EQ(formatName, g_prikeyformatName); in HWTEST_F()
/base/telephony/core_service/utils/vcard/src/
H A Dvcard_contact.cpp618 void VCardContact::AddPhotoBytes(std::string formatName, std::string photoBytes, bool isPrimary) in AddPhotoBytes() argument
621 pd->InitPhotoData(formatName, photoBytes); in AddPhotoBytes()
1092 std::string formatName;
1098 } else if (formatName.empty()) {
1099 formatName = typeValue;
1105 AddPhotoBytes(formatName, byte, isPrimary);
/base/telephony/core_service/utils/vcard/include/
H A Dvcard_contact.h103 void AddPhotoBytes(std::string formatName, std::string photoBytes, bool isPrimary);

Completed in 15 milliseconds