/AliOS-Things-master/components/mbedtls/library/ |
A D | error.c | 36 #define mbedtls_snprintf snprintf macro 254 mbedtls_snprintf( buf, buflen, "DHM - Bad input parameters" ); in mbedtls_strerror() 562 mbedtls_snprintf( buf, buflen, "X509 - Input invalid" ); in mbedtls_strerror() 593 mbedtls_snprintf( buf + len, buflen - len, " : " ); in mbedtls_strerror() 604 mbedtls_snprintf( buf, buflen, "AES - Invalid key length" ); in mbedtls_strerror() 608 mbedtls_snprintf( buf, buflen, "AES - Invalid input data" ); in mbedtls_strerror() 622 mbedtls_snprintf( buf, buflen, "ARIA - Bad input data" ); in mbedtls_strerror() 676 mbedtls_snprintf( buf, buflen, "BLOWFISH - Bad input data" ); in mbedtls_strerror() 685 mbedtls_snprintf( buf, buflen, "CAMELLIA - Bad input data" ); in mbedtls_strerror() 819 mbedtls_snprintf( buf, buflen, "NET - Input invalid" ); in mbedtls_strerror() [all …]
|
A D | debug.c | 37 #define mbedtls_snprintf snprintf macro 74 mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", (void*)ssl, str ); in debug_send_line() 135 mbedtls_snprintf( str, sizeof( str ), "%s() returned %d (-0x%04x)\n", in mbedtls_debug_print_ret() 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() 208 mbedtls_snprintf( str, sizeof( str ), "%s(Y)", text ); in mbedtls_debug_print_ecp() 270 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " 00" ); in mbedtls_debug_print_mpi() 272 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "\n" ); in mbedtls_debug_print_mpi() [all …]
|
A D | x509_crl.c | 57 #define mbedtls_snprintf snprintf macro 641 ret = mbedtls_snprintf( p, n, "%sCRL version : %d", in mbedtls_x509_crl_info() 645 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crl_info() 650 ret = mbedtls_snprintf( p, n, "\n%sthis update : " \ in mbedtls_x509_crl_info() 657 ret = mbedtls_snprintf( p, n, "\n%snext update : " \ in mbedtls_x509_crl_info() 666 ret = mbedtls_snprintf( p, n, "\n%sRevoked certificates:", in mbedtls_x509_crl_info() 672 ret = mbedtls_snprintf( p, n, "\n%sserial number: ", in mbedtls_x509_crl_info() 679 ret = mbedtls_snprintf( p, n, " revocation date: " \ in mbedtls_x509_crl_info() 689 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_crl_info() 696 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crl_info()
|
A D | x509_csr.c | 57 #define mbedtls_snprintf snprintf macro 338 ret = mbedtls_snprintf( p, n, "%sCSR version : %d", in mbedtls_x509_csr_info() 342 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_csr_info() 347 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_csr_info() 360 ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
|
A D | x509.c | 59 #define mbedtls_snprintf snprintf macro 761 ret = mbedtls_snprintf( p, n, merge ? " + " : ", " ); in mbedtls_x509_dn_gets() 768 ret = mbedtls_snprintf( p, n, "%s=", short_name ); in mbedtls_x509_dn_gets() 770 ret = mbedtls_snprintf( p, n, "\?\?=" ); in mbedtls_x509_dn_gets() 784 ret = mbedtls_snprintf( p, n, "%s", s ); in mbedtls_x509_dn_gets() 815 ret = mbedtls_snprintf( p, n, "%02X%s", in mbedtls_x509_serial_gets() 822 ret = mbedtls_snprintf( p, n, "...." ); in mbedtls_x509_serial_gets() 843 ret = mbedtls_snprintf( p, n, "???" ); in mbedtls_x509_sig_alg_gets() 845 ret = mbedtls_snprintf( p, n, "%s", desc ); in mbedtls_x509_sig_alg_gets() 859 ret = mbedtls_snprintf( p, n, " (%s, MGF1-%s, 0x%02X)", in mbedtls_x509_sig_alg_gets() [all …]
|
A D | x509_crt.c | 59 #define mbedtls_snprintf snprintf macro 1363 snp_ret = mbedtls_snprintf( entry_name, sizeof entry_name, in mbedtls_x509_crt_parse_path() 1523 ret = mbedtls_snprintf( p, n, "%s" i, sep ); \ 1598 ret = mbedtls_snprintf( p, n, "%s%s", sep, desc ); in x509_info_ext_key_usage() 1696 ret = mbedtls_snprintf( p, n, "%scert. version : %d\n", in mbedtls_x509_crt_info() 1699 ret = mbedtls_snprintf( p, n, "%sserial number : ", in mbedtls_x509_crt_info() 1716 ret = mbedtls_snprintf( p, n, "\n%sissued on : " \ in mbedtls_x509_crt_info() 1723 ret = mbedtls_snprintf( p, n, "\n%sexpires on : " \ in mbedtls_x509_crt_info() 1803 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crt_info() 1851 ret = mbedtls_snprintf( p, n, "%s%s\n", prefix, cur->string ); in mbedtls_x509_crt_verify_info() [all …]
|
A D | platform.c | 130 int (*mbedtls_snprintf)( char * s, size_t n, variable 138 mbedtls_snprintf = snprintf_func; in mbedtls_platform_set_snprintf()
|
A D | oid.c | 41 #define mbedtls_snprintf snprintf macro 729 ret = mbedtls_snprintf( p, n, "%d.%d", oid->p[0] / 40, oid->p[0] % 40 ); 746 ret = mbedtls_snprintf( p, n, ".%d", value );
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | benchmark.c | 35 #define mbedtls_snprintf snprintf macro 456 mbedtls_snprintf( title, sizeof( title ), "AES-CBC-%d", keysize ); in main() 477 mbedtls_snprintf( title, sizeof( title ), "AES-XTS-%d", keysize ); in main() 546 mbedtls_snprintf( title, sizeof( title ), "ChaCha20-Poly1305" ); in main() 755 mbedtls_snprintf( title, sizeof( title ), "RSA-%d", keysize ); in main() 847 mbedtls_snprintf( title, sizeof( title ), "ECDSA-%s", in main() 870 mbedtls_snprintf( title, sizeof( title ), "ECDSA-%s", in main() 913 mbedtls_snprintf( title, sizeof( title ), "ECDHE-%s", in main() 937 mbedtls_snprintf( title, sizeof(title), "ECDHE-%s", in main() 966 mbedtls_snprintf( title, sizeof( title ), "ECDH-%s", in main() [all …]
|
A D | ssl_cert_test.c | 33 #define mbedtls_snprintf snprintf macro 161 mbedtls_snprintf(name, 512, "ssl/test-ca/%s", client_certificates[i]); in main() 205 mbedtls_snprintf(name, 512, "ssl/test-ca/%s", client_private_keys[i]); in main()
|
A D | selftest.c | 70 #define mbedtls_snprintf snprintf macro 98 ret = mbedtls_snprintf( buf, n, "%s", "123" ); in test_snprintf()
|
/AliOS-Things-master/components/py_engine/engine/lib/mbedtls_errors/ |
A D | generate_errors.diff | 9 - "${white_space} mbedtls_snprintf( buf, buflen, \"$module_name - $desc… 17 - "${white_space} mbedtls_snprintf( buf, buflen, \"$module_name - $desc…
|
A D | error.fmt | 36 #define mbedtls_snprintf snprintf 90 mbedtls_snprintf(buf+MBEDTLS_ERR_PREFIX_LEN, buflen-MBEDTLS_ERR_PREFIX_LEN, "UNKNOWN (0x%04X)",
|
A D | mp_mbedtls_errors.c | 36 #define mbedtls_snprintf snprintf macro 630 mbedtls_snprintf(buf+MBEDTLS_ERR_PREFIX_LEN, buflen-MBEDTLS_ERR_PREFIX_LEN, "UNKNOWN (0x%04X)", in mbedtls_err_to_str()
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A 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
|
A D | compat-1.3.h | 2188 #define polarssl_snprintf mbedtls_snprintf
|
/AliOS-Things-master/components/mbedtls/programs/pkey/ |
A D | pk_verify.c | 33 #define mbedtls_snprintf snprintf macro 107 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
A D | rsa_verify_pss.c | 33 #define mbedtls_snprintf snprintf macro 120 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
A D | rsa_verify.c | 34 #define mbedtls_snprintf snprintf macro 119 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
A D | pk_sign.c | 33 #define mbedtls_snprintf snprintf macro 149 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main()
|
A D | rsa_sign_pss.c | 33 #define mbedtls_snprintf snprintf macro 159 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main()
|
A D | rsa_sign.c | 35 #define mbedtls_snprintf snprintf macro 172 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main()
|
/AliOS-Things-master/components/mbedtls/programs/ssl/ |
A D | ssl_pthread_server.c | 36 #define mbedtls_snprintf snprintf macro
|
A D | ssl_client2.c | 37 #define mbedtls_snprintf snprintf macro 1720 len = mbedtls_snprintf( (char *) buf, sizeof( buf ) - 1, GET_REQUEST, in main()
|