Home
last modified time | relevance | path

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

12

/openthread-3.4.0/third_party/mbedtls/repo/programs/x509/
Dcert_req.c161 char *p, *q, *r; in main() local
197 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
199 *q++ = '\0'; in main()
202 opt.filename = q; in main()
204 opt.password = q; in main()
206 opt.output_file = q; in main()
209 opt.debug_level = atoi( q ); in main()
215 opt.subject_name = q; in main()
220 mbedtls_md_info_from_string( q ); in main()
230 while( q != NULL ) in main()
[all …]
Dcert_write.c227 char *p, *q, *r; in main() local
287 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
289 *q++ = '\0'; in main()
292 opt.request_file = q; in main()
294 opt.subject_key = q; in main()
296 opt.issuer_key = q; in main()
298 opt.subject_pwd = q; in main()
300 opt.issuer_pwd = q; in main()
302 opt.issuer_crt = q; in main()
304 opt.output_file = q; in main()
[all …]
Dcert_app.c163 char *p, *q; in main() local
202 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
204 *q++ = '\0'; in main()
206 for( j = 0; p + j < q; j++ ) in main()
214 if( strcmp( q, "file" ) == 0 ) in main()
216 else if( strcmp( q, "ssl" ) == 0 ) in main()
222 opt.filename = q; in main()
224 opt.ca_file = q; in main()
226 opt.crl_file = q; in main()
228 opt.ca_path = q; in main()
[all …]
Dload_roots.c158 char *q = NULL; in main() local
162 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
164 *q++ = '\0'; in main()
166 for( j = 0; p + j < q; j++ ) in main()
174 opt.iterations = atoi( q ); in main()
178 opt.iterations = atoi( q ) != 0; in main()
Dcrl_app.c78 char *p, *q; in main() local
97 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
99 *q++ = '\0'; in main()
102 opt.filename = q; in main()
Dreq_app.c78 char *p, *q; in main() local
97 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
99 *q++ = '\0'; in main()
102 opt.filename = q; in main()
/openthread-3.4.0/third_party/tcplp/bsdtcp/
Dtcp_reass.c123 struct tseg_qent *q;
212 LIST_FOREACH(q, &tp->t_segq, tqe_q) {
213 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq))
215 p = q;
256 while (q) {
257 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq;
260 if (i < q->tqe_len) {
261 q->tqe_th->th_seq += i;
262 q->tqe_len -= i;
263 m_adj(q->tqe_m, i);
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c711 char *p, *q; in main() local
876 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
878 *q++ = '\0'; in main()
881 opt.server_name = q; in main()
883 opt.server_addr = q; in main()
885 opt.server_port = q; in main()
888 int t = atoi( q ); in main()
898 opt.debug_level = atoi( q ); in main()
904 opt.context_crt_cb = atoi( q ); in main()
910 opt.nbio = atoi( q ); in main()
[all …]
Dssl_server2.c1344 char *p, *q; in main() local
1542 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
1544 *q++ = '\0'; in main()
1547 opt.server_port = q; in main()
1549 opt.server_addr = q; in main()
1552 int t = atoi( q ); in main()
1562 opt.debug_level = atoi( q ); in main()
1568 opt.nbio = atoi( q ); in main()
1574 opt.event = atoi( q ); in main()
1579 opt.read_timeout = atoi( q ); in main()
[all …]
Dssl_mail_client.c382 char *p, *q; in main() local
429 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
431 *q++ = '\0'; in main()
434 opt.server_name = q; in main()
436 opt.server_port = q; in main()
439 opt.debug_level = atoi( q ); in main()
445 opt.authentication = atoi( q ); in main()
451 opt.mode = atoi( q ); in main()
456 opt.user_name = q; in main()
458 opt.user_pwd = q; in main()
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/programs/test/
Dudp_proxy.c189 char *p, *q; in get_options() local
206 if( ( q = strchr( p, '=' ) ) == NULL ) in get_options()
208 *q++ = '\0'; in get_options()
211 opt.server_addr = q; in get_options()
213 opt.server_port = q; in get_options()
215 opt.listen_addr = q; in get_options()
217 opt.listen_port = q; in get_options()
220 opt.duplicate = atoi( q ); in get_options()
222 exit_usage( p, q ); in get_options()
226 opt.delay = atoi( q ); in get_options()
[all …]
/openthread-3.4.0/src/posix/platform/
Dentropy.cpp70 uint32_t mlcg, p, q; in randomUint32Get() local
74 q = tmpstate & 0xffffffff; in randomUint32Get()
75 q = q >> 1; in randomUint32Get()
77 mlcg = p + q; in randomUint32Get()
/openthread-3.4.0/examples/platforms/simulation/
Dentropy.c68 uint32_t mlcg, p, q; in randomUint32Get() local
72 q = tmpstate & 0xffffffff; in randomUint32Get()
73 q = q >> 1; in randomUint32Get()
75 mlcg = p + q; in randomUint32Get()
/openthread-3.4.0/third_party/mbedtls/repo/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()
/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/
Dgen_key.c198 char *p, *q; in main() local
243 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
245 *q++ = '\0'; in main()
249 if( strcmp( q, "rsa" ) == 0 ) in main()
251 else if( strcmp( q, "ec" ) == 0 ) in main()
258 if( strcmp( q, "pem" ) == 0 ) in main()
260 else if( strcmp( q, "der" ) == 0 ) in main()
267 opt.rsa_keysize = atoi( q ); in main()
275 if( ( curve_info = mbedtls_ecp_curve_info_from_name( q ) ) == NULL ) in main()
281 opt.filename = q; in main()
[all …]
Dkey_app_writer.c204 char *p, *q; in main() local
237 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
239 *q++ = '\0'; in main()
243 if( strcmp( q, "private" ) == 0 ) in main()
245 else if( strcmp( q, "public" ) == 0 ) in main()
252 if( strcmp( q, "private" ) == 0 ) in main()
254 else if( strcmp( q, "public" ) == 0 ) in main()
262 if( strcmp( q, "pem" ) == 0 ) in main()
266 if( strcmp( q, "der" ) == 0 ) in main()
272 opt.filename = q; in main()
[all …]
Dkey_app.c93 char *p, *q; in main() local
123 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
125 *q++ = '\0'; in main()
129 if( strcmp( q, "private" ) == 0 ) in main()
131 else if( strcmp( q, "public" ) == 0 ) in main()
137 opt.filename = q; in main()
139 opt.password = q; in main()
141 opt.password_file = q; in main()
Ddh_genprime.c82 char *p, *q; in main() local
98 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
100 *q++ = '\0'; in main()
104 nbits = atoi( q ); in main()
/openthread-3.4.0/src/core/common/
Drandom.cpp108 uint32_t mlcg, p, q; in GetNext() local
112 q = tmpstate & 0xffffffff; in GetNext()
113 q = q >> 1; in GetNext()
115 mlcg = p + q; in GetNext()
/openthread-3.4.0/third_party/mbedtls/repo/programs/util/
Dpem2der.c192 char *p, *q; in main() local
214 if( ( q = strchr( p, '=' ) ) == NULL ) in main()
216 *q++ = '\0'; in main()
219 opt.filename = q; in main()
221 opt.output_file = q; in main()
/openthread-3.4.0/third_party/mbedtls/repo/library/
Dccm.c156 unsigned char q; in ccm_auth_crypt() local
181 q = 16 - 1 - (unsigned char) iv_len; in ccm_auth_crypt()
198 b[0] |= q - 1; in ccm_auth_crypt()
202 for( i = 0, len_left = length; i < q; i++, len_left >>= 8 ) in ccm_auth_crypt()
256 ctr[0] = q - 1; in ccm_auth_crypt()
258 memset( ctr + 1 + iv_len, 0, q ); in ccm_auth_crypt()
299 for( i = 0; i < q; i++ ) in ccm_auth_crypt()
307 for( i = 0; i < q; i++ ) in ccm_auth_crypt()
Dmemory_buffer_alloc.c650 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local
659 q = mbedtls_calloc( 1, 128 ); in mbedtls_memory_buffer_alloc_self_test()
663 check_pointer( q ) == 0 && in mbedtls_memory_buffer_alloc_self_test()
667 mbedtls_free( q ); in mbedtls_memory_buffer_alloc_self_test()
688 q = mbedtls_calloc( 1, 128 ); in mbedtls_memory_buffer_alloc_self_test()
692 check_pointer( q ) == 0 && in mbedtls_memory_buffer_alloc_self_test()
696 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()
/openthread-3.4.0/third_party/mbedtls/repo/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 …]
/openthread-3.4.0/third_party/mbedtls/repo/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 …]
/openthread-3.4.0/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c637 char *q = strchr( argv[i], '=' ); in main() local
638 if( q == NULL ) in main()
643 *q = 0; in main()
644 ++q; in main()
646 input_file_name = q; in main()
655 ladder[ladder_depth] = q; in main()
659 key_file_name = q; in main()
661 output_file_name = q; in main()

12