Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 135) sorted by relevance

123456

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dbase64.c45 const unsigned char *src, size_t slen ) in mbedtls_base64_encode() argument
77 C1 = *src++; in mbedtls_base64_encode()
78 C2 = *src++; in mbedtls_base64_encode()
79 C3 = *src++; in mbedtls_base64_encode()
91 C1 = *src++; in mbedtls_base64_encode()
92 C2 = ( ( i + 1 ) < slen ) ? *src++ : 0; in mbedtls_base64_encode()
115 const unsigned char *src, size_t slen ) in mbedtls_base64_decode() argument
130 while( i < slen && src[i] == ' ' ) in mbedtls_base64_decode()
141 src[i] == '\r' && src[i + 1] == '\n' ) in mbedtls_base64_decode()
144 if( src[i] == '\n' ) in mbedtls_base64_decode()
[all …]
Dccm.c132 #define CTR_CRYPT( dst, src, len ) \ argument
142 (dst)[i] = (src)[i] ^ b[i]; \
161 const unsigned char *src; in ccm_auth_crypt() local
221 src = add; in ccm_auth_crypt()
227 memcpy( b + 2, src, use_len ); in ccm_auth_crypt()
229 src += use_len; in ccm_auth_crypt()
238 memcpy( b, src, use_len ); in ccm_auth_crypt()
242 src += use_len; in ccm_auth_crypt()
268 src = input; in ccm_auth_crypt()
278 memcpy( b, src, use_len ); in ccm_auth_crypt()
[all …]
Dconstant_time_internal.h165 const mbedtls_mpi_uint *src,
213 const unsigned char *src,
237 const unsigned char *src,
/openthread-3.4.0/src/posix/
DMakefile.am45 -I$(top_srcdir)/src/ \
46 -I$(top_srcdir)/src/core \
47 -I$(top_srcdir)/src/posix/platform \
48 -I$(top_srcdir)/src/posix/platform/include \
58 $(top_builddir)/src/posix/platform/libopenthread-posix.a \
110 $(top_builddir)/src/cli/libopenthread-cli-ftd.a \
111 $(top_builddir)/src/core/libopenthread-ftd.a \
113 $(top_builddir)/src/cli/libopenthread-cli-ftd.a \
114 $(top_builddir)/src/core/libopenthread-ftd.a \
115 $(top_builddir)/src/lib/spinel/libopenthread-spinel-rcp.a \
[all …]
/openthread-3.4.0/examples/apps/cli/
DMakefile.am37 -I$(top_srcdir)/src \
38 -I$(top_srcdir)/src/core \
74 $(top_builddir)/src/cli/libopenthread-cli-ftd.a \
75 $(top_builddir)/src/core/libopenthread-ftd.a \
77 $(top_builddir)/src/core/libopenthread-ftd.a \
104 $(top_builddir)/src/cli/libopenthread-cli-mtd.a \
105 $(top_builddir)/src/core/libopenthread-mtd.a \
107 $(top_builddir)/src/core/libopenthread-mtd.a \
134 $(top_builddir)/src/cli/libopenthread-cli-radio.a \
135 $(top_builddir)/src/core/libopenthread-radio-cli.a \
[all …]
/openthread-3.4.0/examples/apps/ncp/
DMakefile.am37 -I$(top_srcdir)/src \
38 -I$(top_srcdir)/src/core \
95 $(top_builddir)/src/ncp/libopenthread-ncp-ftd.a \
96 $(top_builddir)/src/core/libopenthread-ftd.a \
100 $(top_builddir)/src/core/libopenthread-ftd.a \
131 $(top_builddir)/src/ncp/libopenthread-ncp-mtd.a \
132 $(top_builddir)/src/core/libopenthread-mtd.a \
136 $(top_builddir)/src/core/libopenthread-mtd.a \
165 $(top_builddir)/src/ncp/libopenthread-rcp.a \
166 $(top_builddir)/src/core/libopenthread-radio.a \
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/tests/
DMakefile89 MBEDTLS_TEST_OBJS=$(patsubst %.c,%.o,$(wildcard src/*.c src/drivers/*.c))
102 src/%.o : src/%.c $(TEST_OBJS_DEPS)
106 src/drivers/%.o : src/drivers/%.c
145 rm -f src/*.o src/drivers/*.o src/libmbed*
152 if exist src/*.o del /Q /F src/*.o
153 if exist src/drivers/*.o del /Q /F src/drivers/*.o
154 if exist src/libmbed* del /Q /F src/libmed*
D.gitignore13 src/*.o
14 src/drivers/*.o
15 src/libmbed*
/openthread-3.4.0/third_party/nlbuild-autotools/repo/third_party/autoconf/
Dinstall-sh94 src=
241 for src
244 case $src in
245 -* | [=\(\)!]) src=./$src;;
249 dst=$src
258 if test ! -f "$src" && test ! -d "$src"; then
259 echo "$0: $src does not exist." >&2
277 dst=$dstdir/`basename "$src"`
460 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
466 # errors from the above "$doit $cpprog $src $dsttmp" command.
/openthread-3.4.0/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dasymmetric_key_data.py30 def construct_asymmetric_key_data(src) -> Dict[str, Dict[int, bytes]]: argument
37 for typ in src:
42 for size in src[typ]:
43 dst[private][size] = unhexlify(src[typ][size][0])
44 dst[public][size] = unhexlify(src[typ][size][1])
/openthread-3.4.0/src/posix/platform/
DMakefile.am30 include $(top_srcdir)/src/lib/common.am
36 -I$(top_srcdir)/src \
37 -I$(top_srcdir)/src/core \
38 -I$(top_srcdir)/src/posix/platform \
39 -I$(top_srcdir)/src/posix/platform/include \
77 $(call ot_list_objects,$(top_builddir)/src/lib/url/libopenthread-url.a) \
78 $(call ot_list_objects,$(top_builddir)/src/lib/platform/libopenthread-platform.a) \
/openthread-3.4.0/
DBUILD.gn70 deps = [ "src/core:libopenthread-ftd" ]
75 deps = [ "src/core:libopenthread-mtd" ]
80 deps = [ "src/core:libopenthread-radio" ]
85 deps = [ "src/cli:libopenthread-cli-ftd" ]
90 deps = [ "src/cli:libopenthread-cli-mtd" ]
94 public_deps = [ "src/lib/spinel:spinel-api" ]
95 deps = [ "src/lib/spinel:libopenthread-spinel-ncp" ]
99 public_deps = [ "src/lib/spinel:spinel-api" ]
100 deps = [ "src/lib/spinel:libopenthread-spinel-rcp" ]
107 "src/core:libopenthread-ftd",
[all …]
DREADME.md7 …ww.threadgroup.org/What-is-Thread/Thread-Benefits#certifiedproducts"> <img src="https://cdn.rawgit…
30src="https://github.com/openthread/openthread/raw/main/doc/images/ot-contrib-amazon.png" alt="Amaz…
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_base64.function129 void base64_encode_hex( data_t * src, char * dst, int dst_buf_size,
137 TEST_CF_SECRET( src->x, src->len );
138 TEST_ASSERT( mbedtls_base64_encode( res, dst_buf_size, &len, src->x, src->len ) == result );
139 TEST_CF_PUBLIC( src->x, src->len );
157 void base64_decode_hex( char * src, data_t * dst, int dst_buf_size,
165 TEST_ASSERT( mbedtls_base64_decode( res, dst_buf_size, &len, (unsigned char *) src,
166 strlen( src ) ) == result );
179 void base64_decode_hex_src( data_t * src, char * dst_ref, int result )
184 TEST_ASSERT( mbedtls_base64_decode( dst, sizeof( dst ), &len, src->x, src->len ) == result );
Dtest_suite_chacha20.function74 unsigned char src[1];
77 size_t len = sizeof( src );
94 mbedtls_chacha20_update( NULL, 0, src, dst ) );
98 mbedtls_chacha20_update( &ctx, len, src, NULL ) );
101 mbedtls_chacha20_crypt( NULL, nonce, counter, 0, src, dst ) );
103 mbedtls_chacha20_crypt( key, NULL, counter, 0, src, dst ) );
107 mbedtls_chacha20_crypt( key, nonce, counter, len, src, NULL ) );
Dtest_suite_poly1305.function85 unsigned char src[1];
88 size_t src_len = sizeof( src );
100 mbedtls_poly1305_update( NULL, src, 0 ) );
110 mbedtls_poly1305_mac( NULL, src, 0, mac ) );
114 mbedtls_poly1305_mac( key, src, 0, NULL ) );
/openthread-3.4.0/tools/ot-fct/
DCMakeLists.txt35 ${OPENTHREAD_DIR}/src
36 ${OPENTHREAD_DIR}/src/core
37 ${OPENTHREAD_DIR}/src/posix/platform
44 ${OPENTHREAD_DIR}/src/core/common/string.cpp
45 ${OPENTHREAD_DIR}/src/core/utils/parse_cmdline.cpp
46 ${OPENTHREAD_DIR}/src/lib/platform/exit_code.c
47 ${OPENTHREAD_DIR}/src/posix/platform/power.cpp
48 ${OPENTHREAD_DIR}/src/posix/platform/config_file.cpp
/openthread-3.4.0/tests/toranj/ncp/
Dtest-013-off-mesh-route-traffic.py157 src = sed2.find_ip6_address_with_prefix(ON_MESH_PREFIX) variable
158 sender = sed2.prepare_tx(src, OFF_MESH_ADDR_1, "Hello Route1")
166 src = r1.find_ip6_address_with_prefix(ON_MESH_PREFIX) variable
167 sender = r1.prepare_tx(src, OFF_MESH_ADDR_2, "Hello Route2")
175 src = r2.find_ip6_address_with_prefix(ON_MESH_PREFIX) variable
176 sender = r2.prepare_tx(src, OFF_MESH_ADDR_3, "Hello Route3")
Dtest-012-multi-hop-traffic.py149 src = routers[0].get(wpan.WPAN_IP6_MESH_LOCAL_ADDRESS)[1:-1] variable
153 sender = routers[0].prepare_tx(src, dst, msg_length, NUM_MSGS)
162 src = sed_children[-1].get(wpan.WPAN_IP6_MESH_LOCAL_ADDRESS)[1:-1] variable
166 sender = sed_children[-1].prepare_tx(src, dst, msg_length, NUM_MSGS)
175 src = fed_children[0].get(wpan.WPAN_IP6_MESH_LOCAL_ADDRESS)[1:-1] variable
179 sender = fed_children[0].prepare_tx(src, dst, msg_length, NUM_MSGS)
Dtest-006-traffic-router-end-device.py80 for src, dst in [(ll1, ll2), (ll1, ml2), (ml1, ll2), (ml1, ml2)]:
83 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS)
93 s1 = node1.prepare_tx((src, PORT), (dst, PORT), 'Hi there!', NUM_MSGS)
95 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS)
Dtest-007-traffic-router-sleepy.py85 for src, dst in [(ll1, ll2), (ll1, ml2), (ml1, ll2), (ml1, ml2)]:
88 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS)
98 s1 = node1.prepare_tx((src, PORT), (dst, PORT), 'Hi there!', NUM_MSGS)
100 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS)
/openthread-3.4.0/tests/fuzz/
DMakefile.am40 -I$(top_srcdir)/src/core \
44 $(top_builddir)/src/core/libopenthread-ftd.a \
56 $(top_builddir)/src/cli/libopenthread-cli-ftd.a \
84 $(top_builddir)/src/ncp/libopenthread-ncp-ftd.a \
/openthread-3.4.0/examples/platforms/simulation/
DMakefile.am30 include $(top_srcdir)/src/lib/common.am
37 -I$(top_srcdir)/src \
38 -I$(top_srcdir)/src/core \
71 … $(call ot_list_objects,$(top_builddir)/src/lib/platform/libopenthread-platform.a) \
/openthread-3.4.0/src/ncp/
DMakefile.am30 include $(top_srcdir)/src/lib/common.am
56 -I$(top_srcdir)/src \
57 -I$(top_srcdir)/src/core \
/openthread-3.4.0/src/cli/
DREADME_HISTORY.md431 | 00:00:07.640 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
435 | 00:00:09.263 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:0 …
439 | 00:00:09.302 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:61631 …
443 | 00:00:09.304 | src: [fdde:ad00:beef:0:ac09:a16b:3204:dc09]:0 …
447 | 00:00:09.304 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:0 …
451 | 00:00:21.622 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
455 | 00:00:26.640 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
459 | 00:00:30.000 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
463 | 00:00:30.480 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
467 | 00:00:30.772 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 …
[all …]

123456