/mbedtls-3.5.0/programs/x509/ |
D | cert_req.c | 166 char *p, *q, *r, *r2; in main() local 201 if ((q = strchr(p, '=')) == NULL) { in main() 204 *q++ = '\0'; in main() 206 opt.filename = q; in main() 208 opt.password = q; in main() 210 opt.output_file = q; in main() 212 opt.debug_level = atoi(q); in main() 217 opt.subject_name = q; in main() 221 while (q != NULL) { in main() 224 if ((r = strchr(q, ';')) != NULL) { in main() [all …]
|
D | cert_write.c | 303 char *p, *q, *r; in main() local 367 if ((q = strchr(p, '=')) == NULL) { in main() 370 *q++ = '\0'; in main() 373 opt.request_file = q; in main() 375 opt.subject_key = q; in main() 377 opt.issuer_key = q; in main() 379 opt.subject_pwd = q; in main() 381 opt.issuer_pwd = q; in main() 383 opt.issuer_crt = q; in main() 385 opt.output_file = q; in main() [all …]
|
D | cert_app.c | 145 char *p, *q; in main() local 182 if ((q = strchr(p, '=')) == NULL) { in main() 185 *q++ = '\0'; in main() 187 for (j = 0; p + j < q; j++) { in main() 194 if (strcmp(q, "file") == 0) { in main() 196 } else if (strcmp(q, "ssl") == 0) { in main() 202 opt.filename = q; in main() 204 opt.ca_file = q; in main() 206 opt.crl_file = q; in main() 208 opt.ca_path = q; in main() [all …]
|
D | load_roots.c | 137 char *q = NULL; in main() local 142 if ((q = strchr(p, '=')) == NULL) { in main() 145 *q++ = '\0'; in main() 147 for (j = 0; p + j < q; j++) { in main() 154 opt.iterations = atoi(q); in main() 156 opt.iterations = atoi(q) != 0; in main()
|
D | crl_app.c | 66 char *p, *q; in main() local 83 if ((q = strchr(p, '=')) == NULL) { in main() 86 *q++ = '\0'; in main() 89 opt.filename = q; in main()
|
D | req_app.c | 66 char *p, *q; in main() local 83 if ((q = strchr(p, '=')) == NULL) { in main() 86 *q++ = '\0'; in main() 89 opt.filename = q; in main()
|
/mbedtls-3.5.0/programs/ssl/ |
D | ssl_client2.c | 804 char *p, *q; in main() local 981 if ((q = strchr(p, '=')) == NULL) { in main() 984 *q++ = '\0'; in main() 987 opt.server_name = q; in main() 989 opt.server_addr = q; in main() 991 opt.server_port = q; in main() 993 int t = atoi(q); in main() 1002 opt.debug_level = atoi(q); in main() 1007 if (strcmp(q, "1") == 0) { in main() 1014 opt.context_crt_cb = atoi(q); in main() [all …]
|
D | ssl_server2.c | 1556 char *p, *q; in main() local 1771 if ((q = strchr(p, '=')) == NULL) { in main() 1774 *q++ = '\0'; in main() 1777 opt.server_port = q; in main() 1779 opt.server_addr = q; in main() 1781 int t = atoi(q); in main() 1790 opt.debug_level = atoi(q); in main() 1795 if (strcmp(q, "1") == 0) { in main() 1802 opt.nbio = atoi(q); in main() 1807 opt.event = atoi(q); in main() [all …]
|
D | ssl_mail_client.c | 358 char *p, *q; in main() local 402 if ((q = strchr(p, '=')) == NULL) { in main() 405 *q++ = '\0'; in main() 408 opt.server_name = q; in main() 410 opt.server_port = q; in main() 412 opt.debug_level = atoi(q); in main() 417 opt.authentication = atoi(q); in main() 422 opt.mode = atoi(q); in main() 427 opt.user_name = q; in main() 429 opt.user_pwd = q; in main() [all …]
|
/mbedtls-3.5.0/programs/test/ |
D | udp_proxy.c | 192 char *p, *q; in get_options() local 208 if ((q = strchr(p, '=')) == NULL) { in get_options() 211 *q++ = '\0'; in get_options() 214 opt.server_addr = q; in get_options() 216 opt.server_port = q; in get_options() 218 opt.listen_addr = q; in get_options() 220 opt.listen_port = q; in get_options() 222 opt.duplicate = atoi(q); in get_options() 224 exit_usage(p, q); in get_options() 227 opt.delay = atoi(q); in get_options() [all …]
|
/mbedtls-3.5.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.5.0/programs/pkey/ |
D | gen_key.c | 182 char *p, *q; in main() local 226 if ((q = strchr(p, '=')) == NULL) { in main() 229 *q++ = '\0'; in main() 232 if (strcmp(q, "rsa") == 0) { in main() 234 } else if (strcmp(q, "ec") == 0) { in main() 240 if (strcmp(q, "pem") == 0) { in main() 242 } else if (strcmp(q, "der") == 0) { in main() 248 opt.rsa_keysize = atoi(q); in main() 256 if ((curve_info = mbedtls_ecp_curve_info_from_name(q)) == NULL) { in main() 263 opt.filename = q; in main() [all …]
|
D | key_app_writer.c | 199 char *p, *q; in main() local 237 if ((q = strchr(p, '=')) == NULL) { in main() 240 *q++ = '\0'; in main() 243 if (strcmp(q, "private") == 0) { in main() 245 } else if (strcmp(q, "public") == 0) { in main() 251 if (strcmp(q, "private") == 0) { in main() 253 } else if (strcmp(q, "public") == 0) { in main() 260 if (strcmp(q, "pem") == 0) { in main() 264 if (strcmp(q, "der") == 0) { in main() 270 opt.filename = q; in main() [all …]
|
D | key_app.c | 84 char *p, *q; in main() local 119 if ((q = strchr(p, '=')) == NULL) { in main() 122 *q++ = '\0'; in main() 125 if (strcmp(q, "private") == 0) { in main() 127 } else if (strcmp(q, "public") == 0) { in main() 133 opt.filename = q; in main() 135 opt.password = q; in main() 137 opt.password_file = q; in main()
|
D | dh_genprime.c | 68 char *p, *q; in main() local 82 if ((q = strchr(p, '=')) == NULL) { in main() 85 *q++ = '\0'; in main() 88 nbits = atoi(q); in main()
|
/mbedtls-3.5.0/programs/util/ |
D | pem2der.c | 184 char *p, *q; in main() local 204 if ((q = strchr(p, '=')) == NULL) { in main() 207 *q++ = '\0'; in main() 210 opt.filename = q; in main() 212 opt.output_file = q; in main()
|
/mbedtls-3.5.0/library/ |
D | memory_buffer_alloc.c | 657 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local 667 q = mbedtls_calloc(1, 128); in mbedtls_memory_buffer_alloc_self_test() 671 check_pointer(q) == 0 && in mbedtls_memory_buffer_alloc_self_test() 675 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test() 698 q = mbedtls_calloc(1, 128); in mbedtls_memory_buffer_alloc_self_test() 702 check_pointer(q) == 0 && in mbedtls_memory_buffer_alloc_self_test() 706 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test() 731 q = mbedtls_calloc(1, 16); in mbedtls_memory_buffer_alloc_self_test() 733 TEST_ASSERT(check_pointer(p) == 0 && check_pointer(q) == 0); in mbedtls_memory_buffer_alloc_self_test() 736 mbedtls_free(q); in mbedtls_memory_buffer_alloc_self_test()
|
D | ccm.c | 180 ctx->y[0] |= ctx->q - 1; in ccm_calculate_first_block_if_ready() 182 for (i = 0, len_left = ctx->plaintext_len; i < ctx->q; i++, len_left >>= 8) { in ccm_calculate_first_block_if_ready() 211 ctx->q = 16 - 1 - (unsigned char) iv_len; in mbedtls_ccm_starts() 224 ctx->ctr[0] = ctx->q - 1; in mbedtls_ccm_starts() 226 memset(ctx->ctr + 1 + iv_len, 0, ctx->q); in mbedtls_ccm_starts() 415 for (i = 0; i < ctx->q; i++) { in mbedtls_ccm_update() 454 for (i = 0; i < ctx->q; i++) { in mbedtls_ccm_finish()
|
/mbedtls-3.5.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.5.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.5.0/programs/psa/ |
D | key_ladder_demo.c | 639 char *q = strchr(argv[i], '='); in main() local 640 if (q == NULL) { in main() 644 *q = 0; in main() 645 ++q; in main() 647 input_file_name = q; in main() 654 ladder[ladder_depth] = q; in main() 657 key_file_name = q; in main() 659 output_file_name = q; in main()
|
/mbedtls-3.5.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 | server5-selfsigned.crt | 7 PQMBBwNCAAQ3zFbZdgkeWnI+x1kt/yBu7nz5BpF00K0UtfdoIllikk7lANgjEf/q
|
D | cert_md5.csr | 5 +CewSjXQY54Kbhu32vB+q+4MEJOGSRg086gq0lf1LtQvdymEYU2CUI+nlUhw9W5N
|
/mbedtls-3.5.0/tests/suites/ |
D | host_test.function | 161 char *p = buf, *q; 186 q = params[i]; 191 *(q++) = '\n'; 194 *(q++) = ':'; 197 *(q++) = '?'; 199 *(q++) = *(p++); 202 *q = '\0';
|