/mbedtls-3.4.0/programs/ssl/ |
D | ssl_mail_client.c | 38 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main() 170 mbedtls_printf( " . Performing the SSL/TLS handshake..." ); in do_handshake() 180 mbedtls_printf( " failed\n ! mbedtls_ssl_handshake returned %d: %s\n\n", ret, buf ); in do_handshake() 185 mbedtls_printf( " ok\n [ Ciphersuite is %s ]\n", in do_handshake() 191 mbedtls_printf( " . Verifying peer X.509 certificate..." ); in do_handshake() 200 mbedtls_printf( " failed\n" ); in do_handshake() 205 mbedtls_printf( "%s\n", vrfy_buf ); in do_handshake() 209 mbedtls_printf( " ok\n" ); in do_handshake() 212 mbedtls_printf( " . Peer certificate information ...\n" ); in do_handshake() 215 mbedtls_printf( "%s\n", buf ); in do_handshake() [all …]
|
D | ssl_server.c | 31 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C " in main() 114 mbedtls_printf( " . Seeding the random number generator..." ); in main() 121 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 125 mbedtls_printf( " ok\n" ); in main() 130 mbedtls_printf( "\n . Loading the server cert. and key..." ); in main() 142 mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse returned %d\n\n", ret ); in main() 150 mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse returned %d\n\n", ret ); in main() 159 mbedtls_printf( " failed\n ! mbedtls_pk_parse_key returned %d\n\n", ret ); in main() 163 mbedtls_printf( " ok\n" ); in main() 168 mbedtls_printf( " . Bind on https://localhost:4433/ ..." ); in main() [all …]
|
D | ssl_fork_server.c | 35 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C " in main() 45 mbedtls_printf("_WIN32 defined. This application requires fork() and signals " in main() 113 mbedtls_printf( "\n . Initial seeding of the random generator..." ); in main() 120 mbedtls_printf( " failed! mbedtls_ctr_drbg_seed returned %d\n\n", ret ); in main() 124 mbedtls_printf( " ok\n" ); in main() 129 mbedtls_printf( " . Loading the server cert. and key..." ); in main() 141 mbedtls_printf( " failed! mbedtls_x509_crt_parse returned %d\n\n", ret ); in main() 149 mbedtls_printf( " failed! mbedtls_x509_crt_parse returned %d\n\n", ret ); in main() 158 mbedtls_printf( " failed! mbedtls_pk_parse_key returned %d\n\n", ret ); in main() 162 mbedtls_printf( " ok\n" ); in main() [all …]
|
D | dtls_client.c | 31 mbedtls_printf( "MBEDTLS_SSL_CLI_C and/or MBEDTLS_SSL_PROTO_DTLS and/or " in main() 113 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 121 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 125 mbedtls_printf( " ok\n" ); in main() 130 mbedtls_printf( " . Loading the CA root certificate ..." ); in main() 137 … mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse returned -0x%x\n\n", (unsigned int) -ret ); in main() 141 mbedtls_printf( " ok (%d skipped)\n", ret ); in main() 146 mbedtls_printf( " . Connecting to udp/%s/%s...", SERVER_NAME, SERVER_PORT ); in main() 152 mbedtls_printf( " failed\n ! mbedtls_net_connect returned %d\n\n", ret ); in main() 156 mbedtls_printf( " ok\n" ); in main() [all …]
|
D | ssl_client1.c | 31 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main() 95 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 103 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 107 mbedtls_printf( " ok\n" ); in main() 112 mbedtls_printf( " . Loading the CA root certificate ..." ); in main() 119 … mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse returned -0x%x\n\n", (unsigned int) -ret ); in main() 123 mbedtls_printf( " ok (%d skipped)\n", ret ); in main() 128 mbedtls_printf( " . Connecting to tcp/%s/%s...", SERVER_NAME, SERVER_PORT ); in main() 134 mbedtls_printf( " failed\n ! mbedtls_net_connect returned %d\n\n", ret ); in main() 138 mbedtls_printf( " ok\n" ); in main() [all …]
|
D | ssl_pthread_server.c | 33 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C " in main() 121 mbedtls_printf( " [ #%ld ] Setting up SSL/TLS data\n", thread_id ); in handle_ssl_connection() 128 mbedtls_printf( " [ #%ld ] failed: mbedtls_ssl_setup returned -0x%04x\n", in handle_ssl_connection() 138 mbedtls_printf( " [ #%ld ] Performing the SSL/TLS handshake\n", thread_id ); in handle_ssl_connection() 144 mbedtls_printf( " [ #%ld ] failed: mbedtls_ssl_handshake returned -0x%04x\n", in handle_ssl_connection() 150 mbedtls_printf( " [ #%ld ] ok\n", thread_id ); in handle_ssl_connection() 155 mbedtls_printf( " [ #%ld ] < Read from client\n", thread_id ); in handle_ssl_connection() 171 mbedtls_printf( " [ #%ld ] connection was closed gracefully\n", in handle_ssl_connection() 176 mbedtls_printf( " [ #%ld ] connection was reset by peer\n", in handle_ssl_connection() 181 mbedtls_printf( " [ #%ld ] mbedtls_ssl_read returned -0x%04x\n", in handle_ssl_connection() [all …]
|
D | ssl_client2.c | 31 mbedtls_printf( MBEDTLS_SSL_TEST_IMPOSSIBLE ); in main() 37 mbedtls_printf( "MBEDTLS_SSL_CLI_C not defined.\n" ); in main() 571 mbedtls_printf( "\nVerify requested for (Depth %d):\n", depth ); in my_verify() 581 mbedtls_printf( "%s", buf ); in my_verify() 588 mbedtls_printf( " This certificate has no flags\n" ); in my_verify() 592 mbedtls_printf( "%s\n", buf ); in my_verify() 625 mbedtls_printf( " failed\n ! mbedtls_ssl_get_peer_cid returned -0x%x\n\n", in report_cid_usage() 634 mbedtls_printf( "(%s) Use of Connection ID was rejected by the server.\n", in report_cid_usage() 641 mbedtls_printf( "(%s) Use of Connection ID has been negotiated.\n", in report_cid_usage() 649 mbedtls_printf( " failed\n ! mbedtls_ssl_get_peer_cid returned -0x%x\n\n", in report_cid_usage() [all …]
|
D | ssl_server2.c | 27 mbedtls_printf( MBEDTLS_SSL_TEST_IMPOSSIBLE ); in main() 33 mbedtls_printf( "MBEDTLS_SSL_SRV_C not defined.\n" ); in main() 1156 mbedtls_printf( "Async %s callback: looking for DN=%s\n", in ssl_async_start() 1173 mbedtls_printf( "Async %s callback: no key matches this certificate.\n", in ssl_async_start() 1177 mbedtls_printf( "Async %s callback: using key slot %u, delay=%u.\n", in ssl_async_start() 1182 mbedtls_printf( "Async %s callback: injected error\n", op_name ); in ssl_async_start() 1242 mbedtls_printf( "Async resume (slot %u): call %u more times.\n", in ssl_async_resume() 1263 … mbedtls_printf( "Async resume (slot %u): unknown operation type %ld. This shouldn't happen.\n", in ssl_async_resume() 1274 mbedtls_printf( "Async resume callback: %s done but injected error\n", in ssl_async_resume() 1280 mbedtls_printf( "Async resume (slot %u): %s done, status=%d.\n", in ssl_async_resume() [all …]
|
D | ssl_test_common_source.c | 90 mbedtls_printf( "\n" ); in nss_keylog_export() 91 mbedtls_printf( "---------------- NSS KEYLOG -----------------\n" ); in nss_keylog_export() 92 mbedtls_printf( "%s", nss_keylog_line ); in nss_keylog_export() 93 mbedtls_printf( "---------------------------------------------\n" ); in nss_keylog_export() 168 mbedtls_printf( "mbedtls_ssl_check_record() returned inconsistent results.\n" ); in ssl_check_record() 180 mbedtls_printf( "mbedtls_ssl_check_record() detected invalid record.\n" ); in ssl_check_record() 185 mbedtls_printf( "mbedtls_ssl_check_record() detected unauthentic record.\n" ); in ssl_check_record() 190 mbedtls_printf( "mbedtls_ssl_check_record() detected unexpected record.\n" ); in ssl_check_record() 194 …mbedtls_printf( "mbedtls_ssl_check_record() failed fatally with -%#04x.\n", (unsigned int) -ret_cr… in ssl_check_record() 364 mbedtls_printf( "supported signature algorithms:\n" ); in mbedtls_print_supported_sig_algs() [all …]
|
/mbedtls-3.4.0/programs/pkey/ |
D | ecdh_curve25519.c | 29 mbedtls_printf( "MBEDTLS_ECDH_C and/or " in main() 70 mbedtls_printf( " . Seed the random number generator..." ); in main() 79 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", in main() 84 mbedtls_printf( " ok\n" ); in main() 89 mbedtls_printf( " . Set up client context, generate EC key pair..." ); in main() 95 mbedtls_printf( " failed\n ! mbedtls_ecdh_setup returned %d\n", ret ); in main() 104 mbedtls_printf( " failed\n ! mbedtls_ecdh_make_params returned %d\n", in main() 109 mbedtls_printf( " ok\n" ); in main() 114 mbedtls_printf( " . Server: read params, generate public key..." ); in main() 121 mbedtls_printf( " failed\n ! mbedtls_ecdh_read_params returned %d\n", in main() [all …]
|
D | ecdsa.c | 52 mbedtls_printf("MBEDTLS_ECDSA_C and/or MBEDTLS_SHA256_C and/or " in main() 62 mbedtls_printf( "%s", title ); in dump_buf() 64 mbedtls_printf("%c%c", "0123456789ABCDEF" [buf[i] / 16], in dump_buf() 66 mbedtls_printf( "\n" ); in dump_buf() 77 mbedtls_printf("internal error\n"); in dump_pubkey() 112 mbedtls_printf( "usage: ecdsa\n" ); in main() 115 mbedtls_printf( "\n" ); in main() 124 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 132 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 136 mbedtls_printf( " ok\n . Generating key pair..." ); in main() [all …]
|
D | dh_client.c | 51 mbedtls_printf("MBEDTLS_AES_C and/or MBEDTLS_DHM_C and/or MBEDTLS_ENTROPY_C " in main() 88 mbedtls_printf( "\n . Seeding the random number generator" ); in main() 96 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 103 mbedtls_printf( "\n . Reading public key from rsa_pub.txt" ); in main() 108 mbedtls_printf( " failed\n ! Could not open rsa_pub.txt\n" \ in main() 118 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", ret ); in main() 130 mbedtls_printf( "\n . Connecting to tcp/%s/%s", SERVER_NAME, in main() 137 mbedtls_printf( " failed\n ! mbedtls_net_connect returned %d\n\n", ret ); in main() 144 mbedtls_printf( "\n . Receiving the server's DH parameters" ); in main() 151 mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret ); in main() [all …]
|
D | dh_server.c | 51 mbedtls_printf("MBEDTLS_AES_C and/or MBEDTLS_DHM_C and/or MBEDTLS_ENTROPY_C " in main() 94 mbedtls_printf( "\n . Seeding the random number generator" ); in main() 102 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 109 mbedtls_printf( "\n . Reading private key from rsa_priv.txt" ); in main() 114 mbedtls_printf( " failed\n ! Could not open rsa_priv.txt\n" \ in main() 127 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", in main() 136 mbedtls_printf( " failed\n ! mbedtls_rsa_import returned %d\n\n", in main() 143 mbedtls_printf( " failed\n ! mbedtls_rsa_complete returned %d\n\n", in main() 151 mbedtls_printf( "\n . Reading DH parameters from dh_prime.txt" ); in main() 156 mbedtls_printf( " failed\n ! Could not open dh_prime.txt\n" \ in main() [all …]
|
D | rsa_sign_pss.c | 30 mbedtls_printf("MBEDTLS_MD_C and/or MBEDTLS_ENTROPY_C and/or " in main() 68 mbedtls_printf( "usage: rsa_sign_pss <key_file> <filename>\n" ); in main() 71 mbedtls_printf( "\n" ); in main() 77 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 84 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 88 mbedtls_printf( "\n . Reading private key from '%s'", argv[1] ); in main() 94 mbedtls_printf( " failed\n ! Could not read key from '%s'\n", argv[1] ); in main() 95 mbedtls_printf( " ! mbedtls_pk_parse_public_keyfile returned %d\n\n", ret ); in main() 101 mbedtls_printf( " failed\n ! Key is not an RSA key\n" ); in main() 109 mbedtls_printf( " failed\n ! Padding not supported\n" ); in main() [all …]
|
D | dh_genprime.c | 29 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main() 77 mbedtls_printf( USAGE ); in main() 100 mbedtls_printf( " failed\n ! mbedtls_mpi_read_string returned %d\n", ret ); in main() 104 mbedtls_printf( " ! Generating large primes may take minutes!\n" ); in main() 106 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 113 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main() 117 mbedtls_printf( " ok\n . Generating the modulus, please wait..." ); in main() 126 mbedtls_printf( " failed\n ! mbedtls_mpi_gen_prime returned %d\n\n", ret ); in main() 130 mbedtls_printf( " ok\n . Verifying that Q = (P-1)/2 is prime..." ); in main() 135 mbedtls_printf( " failed\n ! mbedtls_mpi_sub_int returned %d\n\n", ret ); in main() [all …]
|
D | rsa_verify_pss.c | 30 mbedtls_printf("MBEDTLS_MD_C and/or MBEDTLS_ENTROPY_C and/or " in main() 62 mbedtls_printf( "usage: rsa_verify_pss <key_file> <filename>\n" ); in main() 65 mbedtls_printf( "\n" ); in main() 71 mbedtls_printf( "\n . Reading public key from '%s'", argv[1] ); in main() 76 mbedtls_printf( " failed\n ! Could not read key from '%s'\n", argv[1] ); in main() 77 mbedtls_printf( " ! mbedtls_pk_parse_public_keyfile returned %d\n\n", ret ); in main() 83 mbedtls_printf( " failed\n ! Key is not an RSA key\n" ); in main() 91 mbedtls_printf( " failed\n ! Invalid padding\n" ); in main() 102 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main() 114 mbedtls_printf( "\n . Verifying the RSA/SHA-256 signature" ); in main() [all …]
|
D | pk_sign.c | 30 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main() 67 mbedtls_printf( "usage: mbedtls_pk_sign <key_file> <filename>\n" ); in main() 70 mbedtls_printf( "\n" ); in main() 76 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 83 … mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned -0x%04x\n", (unsigned int) -ret ); in main() 87 mbedtls_printf( "\n . Reading private key from '%s'", argv[1] ); in main() 93 mbedtls_printf( " failed\n ! Could not parse '%s'\n", argv[1] ); in main() 101 mbedtls_printf( "\n . Generating the SHA-256 signature" ); in main() 108 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[2] ); in main() 116 mbedtls_printf( " failed\n ! mbedtls_pk_sign returned -0x%04x\n", (unsigned int) -ret ); in main() [all …]
|
D | rsa_encrypt.c | 39 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_RSA_C and/or " in main() 63 mbedtls_printf( "usage: rsa_encrypt <string of max 100 characters>\n" ); in main() 66 mbedtls_printf( "\n" ); in main() 72 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 85 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", in main() 90 mbedtls_printf( "\n . Reading public key from rsa_pub.txt" ); in main() 95 mbedtls_printf( " failed\n ! Could not open rsa_pub.txt\n" \ in main() 103 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", in main() 112 mbedtls_printf( " failed\n ! mbedtls_rsa_import returned %d\n\n", in main() 119 mbedtls_printf( " Input data larger than 100 characters.\n\n" ); in main() [all …]
|
D | rsa_decrypt.c | 40 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_RSA_C and/or " in main() 68 mbedtls_printf( "usage: rsa_decrypt\n" ); in main() 71 mbedtls_printf( "\n" ); in main() 77 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 92 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", in main() 97 mbedtls_printf( "\n . Reading private key from rsa_priv.txt" ); in main() 102 mbedtls_printf( " failed\n ! Could not open rsa_priv.txt\n" \ in main() 116 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", in main() 125 mbedtls_printf( " failed\n ! mbedtls_rsa_import returned %d\n\n", in main() 132 mbedtls_printf( " failed\n ! mbedtls_rsa_complete returned %d\n\n", in main() [all …]
|
D | pk_decrypt.c | 41 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_PK_PARSE_C and/or " in main() 72 mbedtls_printf( "usage: mbedtls_pk_decrypt <key_file>\n" ); in main() 75 mbedtls_printf( "\n" ); in main() 81 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 88 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned -0x%04x\n", in main() 93 mbedtls_printf( "\n . Reading private key from '%s'", argv[1] ); in main() 99 … mbedtls_printf( " failed\n ! mbedtls_pk_parse_keyfile returned -0x%04x\n", (unsigned int) -ret ); in main() 108 mbedtls_printf( "\n ! Could not open %s\n\n", "result-enc.txt" ); in main() 125 mbedtls_printf( "\n . Decrypting the encrypted data" ); in main() 131 mbedtls_printf( " failed\n ! mbedtls_pk_decrypt returned -0x%04x\n", in main() [all …]
|
D | pk_encrypt.c | 41 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_PK_PARSE_C and/or " in main() 68 mbedtls_printf( "usage: mbedtls_pk_encrypt <key_file> <string of max 100 characters>\n" ); in main() 71 mbedtls_printf( "\n" ); in main() 77 mbedtls_printf( "\n . Seeding the random number generator..." ); in main() 84 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned -0x%04x\n", in main() 89 mbedtls_printf( "\n . Reading public key from '%s'", argv[1] ); in main() 94 …mbedtls_printf( " failed\n ! mbedtls_pk_parse_public_keyfile returned -0x%04x\n", (unsigned int) … in main() 100 mbedtls_printf( " Input data larger than 100 characters.\n\n" ); in main() 109 mbedtls_printf( "\n . Generating the encrypted value" ); in main() 116 mbedtls_printf( " failed\n ! mbedtls_pk_encrypt returned -0x%04x\n", in main() [all …]
|
D | rsa_sign.c | 29 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_RSA_C and/or " in main() 63 mbedtls_printf( "usage: rsa_sign <filename>\n" ); in main() 66 mbedtls_printf( "\n" ); in main() 72 mbedtls_printf( "\n . Reading private key from rsa_priv.txt" ); in main() 77 mbedtls_printf( " failed\n ! Could not open rsa_priv.txt\n" \ in main() 91 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", ret ); in main() 99 mbedtls_printf( " failed\n ! mbedtls_rsa_import returned %d\n\n", in main() 106 mbedtls_printf( " failed\n ! mbedtls_rsa_complete returned %d\n\n", in main() 111 mbedtls_printf( "\n . Checking the private key" ); in main() 115 …mbedtls_printf( " failed\n ! mbedtls_rsa_check_privkey failed with -0x%0x\n", (unsigned int) -ret… in main() [all …]
|
/mbedtls-3.4.0/programs/x509/ |
D | cert_write.c | 31 mbedtls_printf( "MBEDTLS_X509_CRT_WRITE_C and/or MBEDTLS_X509_CRT_PARSE_C and/or " in main() 279 mbedtls_printf( USAGE ); in main() 356 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 366 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 376 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 386 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 396 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 406 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 415 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() 424 mbedtls_printf( "Invalid argument for option %s\n", p ); in main() [all …]
|
D | cert_app.c | 31 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main() 117 mbedtls_printf( "\nVerify requested for (Depth %d):\n", depth ); in my_verify() 119 mbedtls_printf( "%s", buf ); in my_verify() 122 mbedtls_printf( " This certificate has no flags\n" ); in my_verify() 126 mbedtls_printf( "%s\n", buf ); in my_verify() 169 mbedtls_printf( USAGE ); in main() 236 mbedtls_printf( " . Loading the CA root certificate ..." ); in main() 243 …mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse_path returned -0x%x\n\n", (unsigned int) -re… in main() 253 …mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse_file returned -0x%x\n\n", (unsigned int) -re… in main() 260 mbedtls_printf( " ok (%d skipped)\n", ret ); in main() [all …]
|
/mbedtls-3.4.0/programs/test/ |
D | selftest.c | 79 mbedtls_printf( " CALLOC(0): passed (NULL)\n" ); in calloc_self_test() 84 mbedtls_printf( " CALLOC(0): failed (mix of NULL and non-NULL)\n" ); in calloc_self_test() 90 mbedtls_printf( " CALLOC(0): passed (same non-null)\n" ); in calloc_self_test() 95 mbedtls_printf( " CALLOC(0): passed (distinct non-null)\n" ); in calloc_self_test() 101 mbedtls_printf( " CALLOC(1): failed (NULL)\n" ); in calloc_self_test() 107 mbedtls_printf( " CALLOC(1): failed (same buffer twice)\n" ); in calloc_self_test() 113 mbedtls_printf( " CALLOC(1): passed\n" ); in calloc_self_test() 121 mbedtls_printf( " CALLOC(1 again): failed (NULL)\n" ); in calloc_self_test() 127 mbedtls_printf( " CALLOC(1 again): passed\n" ); in calloc_self_test() 131 mbedtls_printf( "\n" ); in calloc_self_test() [all …]
|