/third_party/mbedtls/library/ |
D | debug.c | 31 #define mbedtls_snprintf snprintf macro 70 mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", (void*)ssl, str ); in debug_send_line() 129 mbedtls_snprintf( str, sizeof( str ), "%s() returned %d (-0x%04x)\n", in mbedtls_debug_print_ret() 151 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf() 167 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf() 174 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, "%04x: ", in mbedtls_debug_print_buf() 179 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", in mbedtls_debug_print_buf() 187 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " " ); in mbedtls_debug_print_buf() 189 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf() 209 mbedtls_snprintf( str, sizeof( str ), "%s(X)", text ); in mbedtls_debug_print_ecp() [all …]
|
D | error.c | 31 #define mbedtls_snprintf snprintf macro 762 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret ); in mbedtls_strerror() 764 mbedtls_snprintf( buf, buflen, "%s", high_level_error_description ); in mbedtls_strerror() 789 mbedtls_snprintf( buf + len, buflen - len, " : " ); in mbedtls_strerror() 799 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret ); in mbedtls_strerror() 801 mbedtls_snprintf( buf, buflen, "%s", low_level_error_description ); in mbedtls_strerror()
|
D | x509_crl.c | 52 #define mbedtls_snprintf snprintf macro 637 ret = mbedtls_snprintf( p, n, "%sCRL version : %d", in mbedtls_x509_crl_info() 641 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crl_info() 646 ret = mbedtls_snprintf( p, n, "\n%sthis update : " \ in mbedtls_x509_crl_info() 653 ret = mbedtls_snprintf( p, n, "\n%snext update : " \ in mbedtls_x509_crl_info() 662 ret = mbedtls_snprintf( p, n, "\n%sRevoked certificates:", in mbedtls_x509_crl_info() 668 ret = mbedtls_snprintf( p, n, "\n%sserial number: ", in mbedtls_x509_crl_info() 675 ret = mbedtls_snprintf( p, n, " revocation date: " \ in mbedtls_x509_crl_info() 685 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_crl_info() 692 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crl_info()
|
D | x509_crt.c | 59 #define mbedtls_snprintf snprintf macro 1648 snp_ret = mbedtls_snprintf( entry_name, sizeof entry_name, in mbedtls_x509_crt_parse_path() 1853 ret = mbedtls_snprintf( p, n, "\n%s <unsupported>", prefix ); in x509_info_subject_alt_name() 1858 ret = mbedtls_snprintf( p, n, "\n%s <malformed>", prefix ); in x509_info_subject_alt_name() 1874 ret = mbedtls_snprintf( p, n, "\n%s otherName :", prefix ); in x509_info_subject_alt_name() 1880 ret = mbedtls_snprintf( p, n, "\n%s hardware module name :", prefix ); in x509_info_subject_alt_name() 1882 … ret = mbedtls_snprintf( p, n, "\n%s hardware type : ", prefix ); in x509_info_subject_alt_name() 1888 … ret = mbedtls_snprintf( p, n, "\n%s hardware serial number : ", prefix ); in x509_info_subject_alt_name() 1912 ret = mbedtls_snprintf( p, n, "\n%s dNSName : ", prefix ); in x509_info_subject_alt_name() 1930 ret = mbedtls_snprintf( p, n, "\n%s <unsupported>", prefix ); in x509_info_subject_alt_name() [all …]
|
D | x509.c | 54 #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() 849 ret = mbedtls_snprintf( p, n, "???" ); in mbedtls_x509_sig_alg_gets() 851 ret = mbedtls_snprintf( p, n, "%s", desc ); in mbedtls_x509_sig_alg_gets() 865 ret = mbedtls_snprintf( p, n, " (%s, MGF1-%s, 0x%02X)", in mbedtls_x509_sig_alg_gets() [all …]
|
D | x509_csr.c | 52 #define mbedtls_snprintf snprintf macro 343 ret = mbedtls_snprintf( p, n, "%sCSR version : %d", in mbedtls_x509_csr_info() 347 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_csr_info() 352 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_csr_info() 365 ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
|
D | psa_its_file.c | 28 #define mbedtls_snprintf snprintf macro 83 mbedtls_snprintf( filename, PSA_ITS_STORAGE_FILENAME_LENGTH, in psa_its_fill_filename()
|
D | platform.c | 115 int (*mbedtls_snprintf)( char * s, size_t n, variable 123 mbedtls_snprintf = snprintf_func; in mbedtls_platform_set_snprintf()
|
D | oid.c | 36 #define mbedtls_snprintf snprintf macro 756 ret = mbedtls_snprintf( p, n, "%d.%d", oid->p[0] / 40, oid->p[0] % 40 ); 773 ret = mbedtls_snprintf( p, n, ".%u", value );
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 723 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in main() 744 mbedtls_snprintf( title, sizeof( title ), "AES-XTS-%d", keysize ); in main() 767 mbedtls_snprintf( title, sizeof( title ), "AES-GCM-%d", keysize ); in main() 790 mbedtls_snprintf( title, sizeof( title ), "AES-CCM-%d", keysize ); in main() 813 mbedtls_snprintf( title, sizeof( title ), "ChaCha20-Poly1305" ); in main() 836 mbedtls_snprintf( title, sizeof( title ), "AES-CMAC-%d", keysize ); in main() 865 mbedtls_snprintf( title, sizeof( title ), "ARIA-CBC-%d", keysize ); in main() 887 mbedtls_snprintf( title, sizeof( title ), "CAMELLIA-CBC-%d", keysize ); in main() 989 mbedtls_snprintf( title, sizeof( title ), "RSA-%d", keysize ); in main() 1048 mbedtls_snprintf( title, sizeof( title ), "DHE-%d", dhm_sizes[i] ); in main() [all …]
|
D | selftest.c | 63 #define mbedtls_snprintf snprintf macro 160 ret = mbedtls_snprintf( buf, n, "%s", "123" ); in test_snprintf()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_version.function | 20 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 );
|
D | test_suite_x509parse.function | 213 ret = mbedtls_snprintf( p, n, "depth %d - serial ", certificate_depth ); 219 ret = mbedtls_snprintf( p, n, " - subject " ); 225 ret = mbedtls_snprintf( p, n, " - flags 0x%08x\n", *flags ); 241 ret = mbedtls_snprintf( p, n, "type : %d", san->type ); 247 ret = mbedtls_snprintf( p, n, "\notherName :"); 253 ret = mbedtls_snprintf( p, n, " hardware module name :" ); 255 ret = mbedtls_snprintf( p, n, " hardware type : " ); 262 ret = mbedtls_snprintf( p, n, ", hardware serial number : " ); 279 ret = mbedtls_snprintf( p, n, "\ndNSName : " ); 297 ret = mbedtls_snprintf( p, n, "\n" ); [all …]
|
D | test_suite_psa_its.function | 29 mbedtls_snprintf( filename, PSA_ITS_STORAGE_FILENAME_LENGTH, 157 mbedtls_snprintf( stored, sizeof( stored ), 164 mbedtls_snprintf( stored, sizeof( stored ),
|
/third_party/mbedtls/scripts/data_files/ |
D | error.fmt | 31 #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 );
|
/third_party/mbedtls/include/mbedtls/ |
D | platform.h | 221 extern int (*mbedtls_snprintf)( char * s, size_t n, const char * format, ... ); 235 #define mbedtls_snprintf MBEDTLS_PLATFORM_SNPRINTF_MACRO macro 237 #define mbedtls_snprintf MBEDTLS_PLATFORM_STD_SNPRINTF macro
|
/third_party/mbedtls/programs/pkey/ |
D | pk_verify.c | 27 #define mbedtls_snprintf snprintf macro 90 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
D | rsa_verify_pss.c | 27 #define mbedtls_snprintf snprintf macro 108 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
D | rsa_verify.c | 28 #define mbedtls_snprintf snprintf macro 103 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
D | rsa_sign_pss.c | 27 #define mbedtls_snprintf snprintf macro 149 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
D | pk_sign.c | 27 #define mbedtls_snprintf snprintf macro 133 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
D | rsa_sign.c | 29 #define mbedtls_snprintf snprintf macro 155 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
/third_party/mbedtls/tests/src/ |
D | helpers.c | 114 (void) mbedtls_snprintf( mbedtls_test_info.line1, in mbedtls_test_equal() 118 (void) mbedtls_snprintf( mbedtls_test_info.line2, in mbedtls_test_equal()
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_test_common_source.c | 304 ret = mbedtls_snprintf( p, n, "%s%s\n", prefix, info ); \ in x509_crt_verify_info() 314 ret = mbedtls_snprintf( p, n, "%sUnknown reason " in x509_crt_verify_info()
|
/third_party/mbedtls/tests/include/test/ |
D | helpers.h | 45 #define mbedtls_snprintf snprintf macro
|