Home
last modified time | relevance | path

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

12

/openthread-2.7.6/third_party/mbedtls/repo/library/
Ddebug.c31 #define mbedtls_snprintf snprintf macro
70 mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", (void*)ssl, str ); in debug_send_line()
128 mbedtls_snprintf( str, sizeof( str ), "%s() returned %d (-0x%04x)\n", in mbedtls_debug_print_ret()
150 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf()
166 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
173 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, "%04x: ", in mbedtls_debug_print_buf()
178 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", in mbedtls_debug_print_buf()
186 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " " ); in mbedtls_debug_print_buf()
188 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
208 mbedtls_snprintf( str, sizeof( str ), "%s(X)", text ); in mbedtls_debug_print_ecp()
[all …]
Derror.c31 #define mbedtls_snprintf snprintf macro
919 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret ); in mbedtls_strerror()
921 mbedtls_snprintf( buf, buflen, "%s", high_level_error_description ); in mbedtls_strerror()
946 mbedtls_snprintf( buf + len, buflen - len, " : " ); in mbedtls_strerror()
956 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret ); in mbedtls_strerror()
958 mbedtls_snprintf( buf, buflen, "%s", low_level_error_description ); in mbedtls_strerror()
Dx509_crl.c52 #define mbedtls_snprintf snprintf macro
636 ret = mbedtls_snprintf( p, n, "%sCRL version : %d", in mbedtls_x509_crl_info()
640 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crl_info()
645 ret = mbedtls_snprintf( p, n, "\n%sthis update : " \ in mbedtls_x509_crl_info()
652 ret = mbedtls_snprintf( p, n, "\n%snext update : " \ in mbedtls_x509_crl_info()
661 ret = mbedtls_snprintf( p, n, "\n%sRevoked certificates:", in mbedtls_x509_crl_info()
667 ret = mbedtls_snprintf( p, n, "\n%sserial number: ", in mbedtls_x509_crl_info()
674 ret = mbedtls_snprintf( p, n, " revocation date: " \ in mbedtls_x509_crl_info()
684 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_crl_info()
691 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crl_info()
Dx509_csr.c52 #define mbedtls_snprintf snprintf macro
342 ret = mbedtls_snprintf( p, n, "%sCSR version : %d", in mbedtls_x509_csr_info()
346 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_csr_info()
351 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_csr_info()
364 ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
Dx509.c54 #define mbedtls_snprintf snprintf macro
766 ret = mbedtls_snprintf( p, n, merge ? " + " : ", " ); in mbedtls_x509_dn_gets()
773 ret = mbedtls_snprintf( p, n, "%s=", short_name ); in mbedtls_x509_dn_gets()
775 ret = mbedtls_snprintf( p, n, "\?\?=" ); in mbedtls_x509_dn_gets()
789 ret = mbedtls_snprintf( p, n, "%s", s ); in mbedtls_x509_dn_gets()
820 ret = mbedtls_snprintf( p, n, "%02X%s", in mbedtls_x509_serial_gets()
827 ret = mbedtls_snprintf( p, n, "...." ); in mbedtls_x509_serial_gets()
848 ret = mbedtls_snprintf( p, n, "???" ); in mbedtls_x509_sig_alg_gets()
850 ret = mbedtls_snprintf( p, n, "%s", desc ); in mbedtls_x509_sig_alg_gets()
864 ret = mbedtls_snprintf( p, n, " (%s, MGF1-%s, 0x%02X)", in mbedtls_x509_sig_alg_gets()
[all …]
Dx509_crt.c59 #define mbedtls_snprintf snprintf macro
1634 snp_ret = mbedtls_snprintf( entry_name, sizeof entry_name, in mbedtls_x509_crt_parse_path()
1788 ret = mbedtls_snprintf( p, n, "\n%s <unsupported>", prefix ); in x509_info_subject_alt_name()
1793 ret = mbedtls_snprintf( p, n, "\n%s <malformed>", prefix ); in x509_info_subject_alt_name()
1809 ret = mbedtls_snprintf( p, n, "\n%s otherName :", prefix ); in x509_info_subject_alt_name()
1815 ret = mbedtls_snprintf( p, n, "\n%s hardware module name :", prefix ); in x509_info_subject_alt_name()
1817 … ret = mbedtls_snprintf( p, n, "\n%s hardware type : ", prefix ); in x509_info_subject_alt_name()
1823 … ret = mbedtls_snprintf( p, n, "\n%s hardware serial number : ", prefix ); in x509_info_subject_alt_name()
1847 ret = mbedtls_snprintf( p, n, "\n%s dNSName : ", prefix ); in x509_info_subject_alt_name()
1865 ret = mbedtls_snprintf( p, n, "\n%s <unsupported>", prefix ); in x509_info_subject_alt_name()
[all …]
Dplatform.c112 int (*mbedtls_snprintf)( char * s, size_t n, variable
120 mbedtls_snprintf = snprintf_func; in mbedtls_platform_set_snprintf()
Dpsa_its_file.c32 #define mbedtls_snprintf snprintf macro
87 mbedtls_snprintf( filename, PSA_ITS_STORAGE_FILENAME_LENGTH, in psa_its_fill_filename()
Doid.c36 #define mbedtls_snprintf snprintf macro
741 ret = mbedtls_snprintf( p, n, "%d.%d", oid->p[0] / 40, oid->p[0] % 40 );
758 ret = mbedtls_snprintf( p, n, ".%u", value );
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_version.function20 mbedtls_snprintf( build_str, 100, "%d.%d.%d", MBEDTLS_VERSION_MAJOR,
23 mbedtls_snprintf( build_str_full, 100, "mbed TLS %d.%d.%d", MBEDTLS_VERSION_MAJOR,
55 mbedtls_snprintf( build_str, 100, "%u.%u.%u",
59 mbedtls_snprintf( build_str_full, 100, "mbed TLS %s", version_str );
Dtest_suite_x509parse.function212 ret = mbedtls_snprintf( p, n, "depth %d - serial ", certificate_depth );
218 ret = mbedtls_snprintf( p, n, " - subject " );
224 ret = mbedtls_snprintf( p, n, " - flags 0x%08x\n", *flags );
240 ret = mbedtls_snprintf( p, n, "type : %d", san->type );
246 ret = mbedtls_snprintf( p, n, "\notherName :");
252 ret = mbedtls_snprintf( p, n, " hardware module name :" );
254 ret = mbedtls_snprintf( p, n, " hardware type : " );
261 ret = mbedtls_snprintf( p, n, ", hardware serial number : " );
278 ret = mbedtls_snprintf( p, n, "\ndNSName : " );
296 ret = mbedtls_snprintf( p, n, "\n" );
[all …]
Dtest_suite_psa_its.function28 mbedtls_snprintf( filename, PSA_ITS_STORAGE_FILENAME_LENGTH,
156 mbedtls_snprintf( stored, sizeof( stored ),
163 mbedtls_snprintf( stored, sizeof( stored ),
/openthread-2.7.6/third_party/mbedtls/repo/scripts/data_files/
Derror.fmt31 #define mbedtls_snprintf snprintf
108 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret );
110 mbedtls_snprintf( buf, buflen, "%s", high_level_error_description );
135 mbedtls_snprintf( buf + len, buflen - len, " : " );
145 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret );
147 mbedtls_snprintf( buf, buflen, "%s", low_level_error_description );
/openthread-2.7.6/third_party/mbedtls/repo/programs/test/
Dbenchmark.c466 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in main()
487 mbedtls_snprintf( title, sizeof( title ), "AES-XTS-%d", keysize ); in main()
510 mbedtls_snprintf( title, sizeof( title ), "AES-GCM-%d", keysize ); in main()
533 mbedtls_snprintf( title, sizeof( title ), "AES-CCM-%d", keysize ); in main()
556 mbedtls_snprintf( title, sizeof( title ), "ChaCha20-Poly1305" ); in main()
579 mbedtls_snprintf( title, sizeof( title ), "AES-CMAC-%d", keysize ); in main()
608 mbedtls_snprintf( title, sizeof( title ), "ARIA-CBC-%d", keysize ); in main()
630 mbedtls_snprintf( title, sizeof( title ), "CAMELLIA-CBC-%d", keysize ); in main()
667 mbedtls_snprintf( title, sizeof( title ), "BLOWFISH-CBC-%d", keysize ); in main()
766 mbedtls_snprintf( title, sizeof( title ), "RSA-%d", keysize ); in main()
[all …]
Dselftest.c70 #define mbedtls_snprintf snprintf macro
167 ret = mbedtls_snprintf( buf, n, "%s", "123" ); in test_snprintf()
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dplatform.h227 extern int (*mbedtls_snprintf)( char * s, size_t n, const char * format, ... );
241 #define mbedtls_snprintf MBEDTLS_PLATFORM_SNPRINTF_MACRO macro
243 #define mbedtls_snprintf MBEDTLS_PLATFORM_STD_SNPRINTF macro
/openthread-2.7.6/third_party/mbedtls/repo/programs/pkey/
Dpk_verify.c31 #define mbedtls_snprintf snprintf macro
94 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
Drsa_verify_pss.c31 #define mbedtls_snprintf snprintf macro
106 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
Drsa_verify.c32 #define mbedtls_snprintf snprintf macro
107 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
Dpk_sign.c31 #define mbedtls_snprintf snprintf macro
135 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
Drsa_sign_pss.c31 #define mbedtls_snprintf snprintf macro
145 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
Drsa_sign.c33 #define mbedtls_snprintf snprintf macro
159 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
/openthread-2.7.6/third_party/mbedtls/repo/tests/include/test/
Dhelpers.h39 #define mbedtls_snprintf snprintf macro
Dmacros.h40 #define mbedtls_snprintf snprintf
/openthread-2.7.6/third_party/mbedtls/repo/programs/ssl/
Dssl_pthread_server.c34 #define mbedtls_snprintf snprintf macro

12