/mbedtls-3.7.0/programs/x509/ |
D | cert_req.c | 147 char *p, *q, *r; in main() local 195 if ((q = strchr(p, '=')) == NULL) { in main() 198 *q++ = '\0'; in main() 200 opt.filename = q; in main() 202 opt.password = q; in main() 204 opt.output_file = q; in main() 206 opt.debug_level = atoi(q); in main() 211 opt.subject_name = q; in main() 216 while (q != NULL) { in main() 218 r = q; in main() [all …]
|
D | cert_write.c | 301 char *p, *q, *r; in main() local 377 if ((q = strchr(p, '=')) == NULL) { in main() 380 *q++ = '\0'; in main() 383 opt.request_file = q; in main() 385 opt.subject_key = q; in main() 387 opt.issuer_key = q; in main() 389 opt.subject_pwd = q; in main() 391 opt.issuer_pwd = q; in main() 393 opt.issuer_crt = q; in main() 395 opt.output_file = q; in main() [all …]
|
D | cert_app.c | 133 char *p, *q; in main() local 180 if ((q = strchr(p, '=')) == NULL) { in main() 183 *q++ = '\0'; in main() 185 for (j = 0; p + j < q; j++) { in main() 192 if (strcmp(q, "file") == 0) { in main() 194 } else if (strcmp(q, "ssl") == 0) { in main() 200 opt.filename = q; in main() 202 opt.ca_file = q; in main() 204 opt.crl_file = q; in main() 206 opt.ca_path = q; in main() [all …]
|
D | load_roots.c | 107 char *q = NULL; in main() local 112 if ((q = strchr(p, '=')) == NULL) { in main() 115 *q++ = '\0'; in main() 117 for (j = 0; p + j < q; j++) { in main() 124 opt.iterations = atoi(q); in main() 126 opt.iterations = atoi(q) != 0; in main()
|
D | crl_app.c | 54 char *p, *q; in main() local 80 if ((q = strchr(p, '=')) == NULL) { in main() 83 *q++ = '\0'; in main() 86 opt.filename = q; in main()
|
D | req_app.c | 54 char *p, *q; in main() local 80 if ((q = strchr(p, '=')) == NULL) { in main() 83 *q++ = '\0'; in main() 86 opt.filename = q; in main()
|
/mbedtls-3.7.0/programs/ssl/ |
D | ssl_client2.c | 844 char *p, *q; in main() local 994 p = q = NULL; in main() 997 if (p != NULL && q != NULL) { in main() 998 printf("unrecognized value for '%s': '%s'\n", p, q); in main() 999 } else if (p != NULL && q == NULL) { in main() 1039 if ((q = strchr(p, '=')) == NULL) { in main() 1044 *q++ = '\0'; in main() 1047 opt.server_name = q; in main() 1049 opt.server_addr = q; in main() 1051 opt.server_port = q; in main() [all …]
|
D | ssl_server2.c | 1594 char *p, *q; in main() local 1782 p = q = NULL; in main() 1785 if (p != NULL && q != NULL) { in main() 1786 printf("unrecognized value for '%s': '%s'\n", p, q); in main() 1787 } else if (p != NULL && q == NULL) { in main() 1827 if ((q = strchr(p, '=')) == NULL) { in main() 1832 *q++ = '\0'; in main() 1835 opt.server_port = q; in main() 1837 opt.server_addr = q; in main() 1839 int t = atoi(q); in main() [all …]
|
D | ssl_mail_client.c | 346 char *p, *q; in main() local 400 if ((q = strchr(p, '=')) == NULL) { in main() 403 *q++ = '\0'; in main() 406 opt.server_name = q; in main() 408 opt.server_port = q; in main() 410 opt.debug_level = atoi(q); in main() 415 opt.authentication = atoi(q); in main() 420 opt.mode = atoi(q); in main() 425 opt.user_name = q; in main() 427 opt.user_pwd = q; in main() [all …]
|
D | ssl_test_lib.c | 604 char *q = NULL; in parse_groups() local 613 q = p; in parse_groups() 623 if ((curve_tls_id = mbedtls_ssl_get_curve_tls_id_from_name(q)) != 0) { in parse_groups() 626 mbedtls_printf("unknown group %s\n", q); in parse_groups()
|
/mbedtls-3.7.0/programs/test/ |
D | udp_proxy.c | 179 char *p, *q; in get_options() local 195 if ((q = strchr(p, '=')) == NULL) { in get_options() 198 *q++ = '\0'; in get_options() 201 opt.server_addr = q; in get_options() 203 opt.server_port = q; in get_options() 205 opt.listen_addr = q; in get_options() 207 opt.listen_port = q; in get_options() 209 opt.duplicate = atoi(q); in get_options() 211 exit_usage(p, q); in get_options() 214 opt.delay = atoi(q); in get_options() [all …]
|
/mbedtls-3.7.0/3rdparty/everest/library/kremlib/ |
D | FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c | 29 uint64_t q = x_xor_y | x_sub_y_xor_y; in FStar_UInt64_gte_mask() local 30 uint64_t x_xor_q = x ^ q; in FStar_UInt64_gte_mask() 51 uint32_t q = x_xor_y | x_sub_y_xor_y; in FStar_UInt32_gte_mask() local 52 uint32_t x_xor_q = x ^ q; in FStar_UInt32_gte_mask() 73 uint16_t q = x_xor_y | x_sub_y_xor_y; in FStar_UInt16_gte_mask() local 74 uint16_t x_xor_q = x ^ q; in FStar_UInt16_gte_mask() 95 uint8_t q = x_xor_y | x_sub_y_xor_y; in FStar_UInt8_gte_mask() local 96 uint8_t x_xor_q = x ^ q; in FStar_UInt8_gte_mask()
|
/mbedtls-3.7.0/programs/pkey/ |
D | key_app_writer.c | 249 char *p, *q; in main() local 300 if ((q = strchr(p, '=')) == NULL) { in main() 303 *q++ = '\0'; in main() 306 if (strcmp(q, "private") == 0) { in main() 308 } else if (strcmp(q, "public") == 0) { in main() 314 if (strcmp(q, "private") == 0) { in main() 316 } else if (strcmp(q, "public") == 0) { in main() 323 if (strcmp(q, "pem") == 0) { in main() 327 if (strcmp(q, "der") == 0) { in main() 333 opt.filename = q; in main() [all …]
|
D | gen_key.c | 232 char *p, *q; in main() local 289 if ((q = strchr(p, '=')) == NULL) { in main() 292 *q++ = '\0'; in main() 295 if (strcmp(q, "rsa") == 0) { in main() 297 } else if (strcmp(q, "ec") == 0) { in main() 303 if (strcmp(q, "pem") == 0) { in main() 305 } else if (strcmp(q, "der") == 0) { in main() 311 opt.rsa_keysize = atoi(q); in main() 319 if ((curve_info = mbedtls_ecp_curve_info_from_name(q)) == NULL) { in main() 326 opt.filename = q; in main() [all …]
|
D | key_app.c | 137 char *p, *q; in main() local 181 if ((q = strchr(p, '=')) == NULL) { in main() 184 *q++ = '\0'; in main() 187 if (strcmp(q, "private") == 0) { in main() 189 } else if (strcmp(q, "public") == 0) { in main() 195 opt.filename = q; in main() 197 opt.password = q; in main() 199 opt.password_file = q; in main()
|
D | dh_genprime.c | 56 char *p, *q; in main() local 70 if ((q = strchr(p, '=')) == NULL) { in main() 73 *q++ = '\0'; in main() 76 nbits = atoi(q); in main()
|
/mbedtls-3.7.0/tests/scripts/quiet/ |
D | quiet.sh | 38 printf -v q '%q' "$a" 40 if [[ "$a" != "$q" && $a =~ $simple_pattern ]]; then 45 q="${BASH_REMATCH[1]}'${BASH_REMATCH[2]}'" 47 printf " %s" "$q"
|
/mbedtls-3.7.0/programs/util/ |
D | pem2der.c | 172 char *p, *q; in main() local 192 if ((q = strchr(p, '=')) == NULL) { in main() 195 *q++ = '\0'; in main() 198 opt.filename = q; in main() 200 opt.output_file = q; in main()
|
/mbedtls-3.7.0/library/ |
D | memory_buffer_alloc.c | 645 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local 655 q = mbedtls_calloc(1, 128); in mbedtls_memory_buffer_alloc_self_test() 659 check_pointer(q) == 0 && in mbedtls_memory_buffer_alloc_self_test() 663 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test() 686 q = mbedtls_calloc(1, 128); in mbedtls_memory_buffer_alloc_self_test() 690 check_pointer(q) == 0 && in mbedtls_memory_buffer_alloc_self_test() 694 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test() 719 q = mbedtls_calloc(1, 16); in mbedtls_memory_buffer_alloc_self_test() 721 TEST_ASSERT(check_pointer(p) == 0 && check_pointer(q) == 0); in mbedtls_memory_buffer_alloc_self_test() 724 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test()
|
D | ccm.c | 197 ctx->y[0] |= ctx->q - 1; in ccm_calculate_first_block_if_ready() 199 for (i = 0, len_left = ctx->plaintext_len; i < ctx->q; i++, len_left >>= 8) { in ccm_calculate_first_block_if_ready() 233 ctx->q = 16 - 1 - (unsigned char) iv_len; in mbedtls_ccm_starts() 246 ctx->ctr[0] = ctx->q - 1; in mbedtls_ccm_starts() 248 memset(ctx->ctr + 1 + iv_len, 0, ctx->q); in mbedtls_ccm_starts() 454 for (i = 0; i < ctx->q; i++) { in mbedtls_ccm_update() 493 for (i = 0; i < ctx->q; i++) { in mbedtls_ccm_finish()
|
/mbedtls-3.7.0/3rdparty/everest/library/ |
D | Hacl_Curve25519.c | 642 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step() argument 649 Hacl_EC_AddAndDouble_fmonty(nq2, nqpq2, nq, nqpq, q); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step() 660 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() argument 665 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step(nq, nqpq, nq2, nqpq2, q, byt); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() 667 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step(nq2, nqpq2, nq, nqpq, q, byt1); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() 676 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() argument 685 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step(nq, nqpq, nq2, nqpq2, q, byt); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() 687 Hacl_EC_Ladder_SmallLoop_cmult_small_loop(nq, nqpq, nq2, nqpq2, q, byt_, i_); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() 698 uint64_t *q, in Hacl_EC_Ladder_BigLoop_cmult_big_loop() argument 706 Hacl_EC_Ladder_SmallLoop_cmult_small_loop(nq, nqpq, nq2, nqpq2, q, byte, (uint32_t)4U); in Hacl_EC_Ladder_BigLoop_cmult_big_loop() [all …]
|
/mbedtls-3.7.0/3rdparty/everest/library/legacy/ |
D | Hacl_Curve25519.c | 687 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step() argument 694 Hacl_EC_AddAndDouble_fmonty(nq2, nqpq2, nq, nqpq, q); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step() 705 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() argument 710 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step(nq, nqpq, nq2, nqpq2, q, byt); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() 712 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_step(nq2, nqpq2, nq, nqpq, q, byt1); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step() 721 uint64_t *q, in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() argument 730 Hacl_EC_Ladder_SmallLoop_cmult_small_loop_double_step(nq, nqpq, nq2, nqpq2, q, byt); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() 732 Hacl_EC_Ladder_SmallLoop_cmult_small_loop(nq, nqpq, nq2, nqpq2, q, byt_, i_); in Hacl_EC_Ladder_SmallLoop_cmult_small_loop() 743 uint64_t *q, in Hacl_EC_Ladder_BigLoop_cmult_big_loop() argument 751 Hacl_EC_Ladder_SmallLoop_cmult_small_loop(nq, nqpq, nq2, nqpq2, q, byte, (uint32_t)4U); in Hacl_EC_Ladder_BigLoop_cmult_big_loop() [all …]
|
/mbedtls-3.7.0/programs/psa/ |
D | key_ladder_demo.c | 627 char *q = strchr(argv[i], '='); in main() local 628 if (q == NULL) { in main() 632 *q = 0; in main() 633 ++q; in main() 635 input_file_name = q; in main() 642 ladder[ladder_depth] = q; in main() 645 key_file_name = q; in main() 647 output_file_name = q; in main()
|
/mbedtls-3.7.0/tests/data_files/ |
D | rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha256.pem | 15 YV0/3AQes39hoxGSqrTXxAoJDa3kttRz4/7lyrTCjRZoB66FD/q+hV93rzBBwPCU 31 q+k7dicH29LFKs/ry5dAFJPgpG9EHPVemS/PIMKHp0wRLlHmP5+LvdRgSNKLUoyy
|
D | cert_md5.csr | 5 +CewSjXQY54Kbhu32vB+q+4MEJOGSRg086gq0lf1LtQvdymEYU2CUI+nlUhw9W5N
|