/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | error.c | 36 #define mbedtls_snprintf snprintf macro 175 mbedtls_snprintf( buf, buflen, "CIPHER - The selected feature is not available" ); in mbedtls_strerror() 177 mbedtls_snprintf( buf, buflen, "CIPHER - Bad input parameters to function" ); in mbedtls_strerror() 179 mbedtls_snprintf( buf, buflen, "CIPHER - Failed to allocate memory" ); in mbedtls_strerror() 181 … mbedtls_snprintf( buf, buflen, "CIPHER - Input data contains invalid padding and is rejected" ); in mbedtls_strerror() 183 mbedtls_snprintf( buf, buflen, "CIPHER - Decryption of block requires a full block" ); in mbedtls_strerror() 185 mbedtls_snprintf( buf, buflen, "CIPHER - Authentication failed (for AEAD modes)" ); in mbedtls_strerror() 187 … mbedtls_snprintf( buf, buflen, "CIPHER - The context is invalid, eg because it was free()ed" ); in mbedtls_strerror() 192 mbedtls_snprintf( buf, buflen, "DHM - Bad input parameters to function" ); in mbedtls_strerror() 194 mbedtls_snprintf( buf, buflen, "DHM - Reading of the DHM parameters failed" ); in mbedtls_strerror() [all …]
|
D | debug.c | 37 #define mbedtls_snprintf snprintf macro 74 mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", ssl, str ); in debug_send_line() 135 mbedtls_snprintf( str, sizeof( str ), "%s() returned %d (-0x%04x)\n", in mbedtls_debug_print_ret() 152 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf() 168 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf() 175 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, "%04x: ", in mbedtls_debug_print_buf() 180 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", in mbedtls_debug_print_buf() 188 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " " ); in mbedtls_debug_print_buf() 190 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf() 205 mbedtls_snprintf( str, sizeof( str ), "%s(X)", text ); in mbedtls_debug_print_ecp() [all …]
|
D | x509_crl.c | 56 #define mbedtls_snprintf snprintf macro 591 ret = mbedtls_snprintf( p, n, "%sCRL version : %d", in mbedtls_x509_crl_info() 595 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crl_info() 600 ret = mbedtls_snprintf( p, n, "\n%sthis update : " \ in mbedtls_x509_crl_info() 607 ret = mbedtls_snprintf( p, n, "\n%snext update : " \ in mbedtls_x509_crl_info() 616 ret = mbedtls_snprintf( p, n, "\n%sRevoked certificates:", in mbedtls_x509_crl_info() 622 ret = mbedtls_snprintf( p, n, "\n%sserial number: ", in mbedtls_x509_crl_info() 629 ret = mbedtls_snprintf( p, n, " revocation date: " \ in mbedtls_x509_crl_info() 639 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_crl_info() 646 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crl_info()
|
D | x509_csr.c | 56 #define mbedtls_snprintf snprintf macro 351 ret = mbedtls_snprintf( p, n, "%sCSR version : %d", in mbedtls_x509_csr_info() 355 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_csr_info() 360 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_csr_info() 373 ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
|
D | x509.c | 59 #define mbedtls_snprintf snprintf macro 732 ret = mbedtls_snprintf( p, n, merge ? " + " : ", " ); in mbedtls_x509_dn_gets() 739 ret = mbedtls_snprintf( p, n, "%s=", short_name ); in mbedtls_x509_dn_gets() 741 ret = mbedtls_snprintf( p, n, "\?\?=" ); in mbedtls_x509_dn_gets() 755 ret = mbedtls_snprintf( p, n, "%s", s ); in mbedtls_x509_dn_gets() 786 ret = mbedtls_snprintf( p, n, "%02X%s", in mbedtls_x509_serial_gets() 793 ret = mbedtls_snprintf( p, n, "...." ); in mbedtls_x509_serial_gets() 814 ret = mbedtls_snprintf( p, n, "???" ); in mbedtls_x509_sig_alg_gets() 816 ret = mbedtls_snprintf( p, n, "%s", desc ); in mbedtls_x509_sig_alg_gets() 830 ret = mbedtls_snprintf( p, n, " (%s, MGF1-%s, 0x%02X)", in mbedtls_x509_sig_alg_gets() [all …]
|
D | x509_crt.c | 56 #define mbedtls_snprintf snprintf macro 1182 snp_ret = mbedtls_snprintf( entry_name, sizeof entry_name, in mbedtls_x509_crt_parse_path() 1262 ret = mbedtls_snprintf( p, n, "%s" i, sep ); \ 1337 ret = mbedtls_snprintf( p, n, "%s%s", sep, desc ); in x509_info_ext_key_usage() 1369 ret = mbedtls_snprintf( p, n, "\nCertificate is uninitialised!\n" ); in mbedtls_x509_crt_info() 1375 ret = mbedtls_snprintf( p, n, "%scert. version : %d\n", in mbedtls_x509_crt_info() 1378 ret = mbedtls_snprintf( p, n, "%sserial number : ", in mbedtls_x509_crt_info() 1385 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crt_info() 1390 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_crt_info() 1395 ret = mbedtls_snprintf( p, n, "\n%sissued on : " \ in mbedtls_x509_crt_info() [all …]
|
D | platform.c | 110 int (*mbedtls_snprintf)( char * s, size_t n, variable 118 mbedtls_snprintf = snprintf_func; in mbedtls_platform_set_snprintf()
|
D | oid.c | 41 #define mbedtls_snprintf snprintf macro 684 ret = mbedtls_snprintf( p, n, "%d.%d", oid->p[0] / 40, oid->p[0] % 40 ); 701 ret = mbedtls_snprintf( p, n, ".%d", value );
|
/net-tools-3.5.0/mbedtls-2.4.0/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, "%d.%d.%d", 59 mbedtls_snprintf( build_str_full, 100, "mbed TLS %s", version_str );
|
D | test_suite_x509parse.function | 93 ret = mbedtls_snprintf( p, n, "depth %d - serial ", certificate_depth ); 99 ret = mbedtls_snprintf( p, n, " - subject " ); 105 ret = mbedtls_snprintf( p, n, "\n" );
|
D | helpers.function | 12 #define mbedtls_snprintf snprintf
|
/net-tools-3.5.0/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 34 #define mbedtls_snprintf snprintf macro 419 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in main() 440 mbedtls_snprintf( title, sizeof( title ), "AES-GCM-%d", keysize ); in main() 463 mbedtls_snprintf( title, sizeof( title ), "AES-CCM-%d", keysize ); in main() 489 mbedtls_snprintf( title, sizeof( title ), "AES-CMAC-%d", keysize ); in main() 518 mbedtls_snprintf( title, sizeof( title ), "CAMELLIA-CBC-%d", keysize ); in main() 541 mbedtls_snprintf( title, sizeof( title ), "BLOWFISH-CBC-%d", keysize ); in main() 648 mbedtls_snprintf( title, sizeof( title ), "RSA-%d", keysize ); in main() 696 mbedtls_snprintf( title, sizeof( title ), "DHE-%d", dhm_sizes[i] ); in main() 702 mbedtls_snprintf( title, sizeof( title ), "DH-%d", dhm_sizes[i] ); in main() [all …]
|
D | ssl_cert_test.c | 32 #define mbedtls_snprintf snprintf macro 144 mbedtls_snprintf(name, 512, "ssl/test-ca/%s", client_certificates[i]); in main() 188 mbedtls_snprintf(name, 512, "ssl/test-ca/%s", client_private_keys[i]); in main()
|
D | selftest.c | 65 #define mbedtls_snprintf snprintf macro 81 ret = mbedtls_snprintf( buf, n, "%s", "123" ); in test_snprintf()
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | platform.h | 195 extern int (*mbedtls_snprintf)( char * s, size_t n, const char * format, ... ); 208 #define mbedtls_snprintf MBEDTLS_PLATFORM_SNPRINTF_MACRO macro 210 #define mbedtls_snprintf snprintf macro
|
/net-tools-3.5.0/mbedtls-2.4.0/scripts/data_files/ |
D | error.fmt | 36 #define mbedtls_snprintf snprintf 70 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret ); 88 mbedtls_snprintf( buf + len, buflen - len, " : " ); 103 mbedtls_snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret );
|
/net-tools-3.5.0/mbedtls-2.4.0/yotta/data/example-benchmark/ |
D | main.cpp | 45 #define mbedtls_snprintf snprintf macro 496 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in benchmark() 517 mbedtls_snprintf( title, sizeof( title ), "AES-GCM-%d", keysize ); in benchmark() 540 mbedtls_snprintf( title, sizeof( title ), "AES-CCM-%d", keysize ); in benchmark() 564 mbedtls_snprintf( title, sizeof( title ), "CAMELLIA-CBC-%d", keysize ); in benchmark() 587 mbedtls_snprintf( title, sizeof( title ), "BLOWFISH-CBC-%d", keysize ); in benchmark() 703 mbedtls_snprintf( title, sizeof( title ), "RSA-%d", mbedtls_pk_get_bitlen( &pk ) ); in benchmark() 748 mbedtls_snprintf( title, sizeof( title ), "DHE-%d", dhm_sizes[i] ); in benchmark() 754 mbedtls_snprintf( title, sizeof( title ), "DH-%d", dhm_sizes[i] ); in benchmark() 782 mbedtls_snprintf( title, sizeof( title ), "ECDSA-%s", in benchmark() [all …]
|
/net-tools-3.5.0/mbedtls-2.4.0/programs/pkey/ |
D | pk_verify.c | 32 #define mbedtls_snprintf snprintf macro 91 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
D | rsa_verify_pss.c | 32 #define mbedtls_snprintf snprintf macro 105 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
D | rsa_verify.c | 33 #define mbedtls_snprintf snprintf macro 104 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
D | pk_sign.c | 32 #define mbedtls_snprintf snprintf macro 133 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
D | rsa_sign_pss.c | 32 #define mbedtls_snprintf snprintf macro 144 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
D | rsa_sign.c | 34 #define mbedtls_snprintf snprintf macro 141 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
/net-tools-3.5.0/mbedtls-2.4.0/programs/ssl/ |
D | ssl_pthread_server.c | 35 #define mbedtls_snprintf snprintf macro
|
D | ssl_client2.c | 37 #define mbedtls_snprintf snprintf macro 1367 len = mbedtls_snprintf( (char *) buf, sizeof(buf) - 1, GET_REQUEST, in main()
|