Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 38) sorted by relevance

12

/mbedtls-3.7.0/programs/x509/
Dcert_req.c147 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 …]
Dcert_write.c301 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 …]
Dcert_app.c133 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 …]
Dload_roots.c107 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()
Dcrl_app.c54 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()
Dreq_app.c54 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/
Dssl_client2.c844 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 …]
Dssl_server2.c1594 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 …]
Dssl_mail_client.c346 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 …]
Dssl_test_lib.c604 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/
Dudp_proxy.c179 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/
DFStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c29 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/
Dkey_app_writer.c249 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 …]
Dgen_key.c232 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 …]
Dkey_app.c137 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()
Ddh_genprime.c56 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/
Dquiet.sh38 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/
Dpem2der.c172 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/
Dmemory_buffer_alloc.c645 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()
Dccm.c197 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/
DHacl_Curve25519.c642 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/
DHacl_Curve25519.c687 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/
Dkey_ladder_demo.c627 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/
Drsa_pkcs8_pbes2_pbkdf2_4096_3des_sha256.pem15 YV0/3AQes39hoxGSqrTXxAoJDa3kttRz4/7lyrTCjRZoB66FD/q+hV93rzBBwPCU
31 q+k7dicH29LFKs/ry5dAFJPgpG9EHPVemS/PIMKHp0wRLlHmP5+LvdRgSNKLUoyy
Dcert_md5.csr5 +CewSjXQY54Kbhu32vB+q+4MEJOGSRg086gq0lf1LtQvdymEYU2CUI+nlUhw9W5N

12