Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 55) sorted by relevance

123

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dsha512.c38 #define UL64(x) x##ui64 argument
40 #define UL64(x) x##ULL argument
205 #define SHR(x,n) (x >> n) in mbedtls_sha512_process() argument
206 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_sha512_process() argument
208 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_sha512_process() argument
209 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_sha512_process() argument
211 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_sha512_process() argument
212 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_sha512_process() argument
214 #define F0(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha512_process() argument
215 #define F1(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha512_process() argument
[all …]
Dsha256.c157 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) argument
158 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) argument
160 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) argument
161 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) argument
163 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) argument
164 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) argument
166 #define F0(x,y,z) ((x & y) | (z & (x | y))) argument
167 #define F1(x,y,z) (z ^ (x & (y ^ z))) argument
175 #define P(a,b,c,d,e,f,g,h,x,K) \ argument
177 temp1 = h + S3(e) + F1(e,f,g) + K + x; \
Darc4.c78 ctx->x = 0; in mbedtls_arc4_setup()
104 int x, y, a, b; in mbedtls_arc4_crypt() local
108 x = ctx->x; in mbedtls_arc4_crypt()
114 x = ( x + 1 ) & 0xFF; a = m[x]; in mbedtls_arc4_crypt()
117 m[x] = (unsigned char) b; in mbedtls_arc4_crypt()
124 ctx->x = x; in mbedtls_arc4_crypt()
Dbase64.c148 uint32_t j, x; in mbedtls_base64_decode() local
155 x = 0; in mbedtls_base64_decode()
159 ++x; in mbedtls_base64_decode()
174 if( x != 0 ) in mbedtls_base64_decode()
204 for( j = 3, n = x = 0, p = dst; i > 0; i--, src++ ) in mbedtls_base64_decode()
210 x = ( x << 6 ) | ( base64_dec_map[*src] & 0x3F ); in mbedtls_base64_decode()
215 if( j > 0 ) *p++ = (unsigned char)( x >> 16 ); in mbedtls_base64_decode()
216 if( j > 1 ) *p++ = (unsigned char)( x >> 8 ); in mbedtls_base64_decode()
217 if( j > 2 ) *p++ = (unsigned char)( x ); in mbedtls_base64_decode()
Dmd4.c134 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in mbedtls_md4_process() argument
141 #define F(x, y, z) ((x & y) | ((~x) & z)) in mbedtls_md4_process() argument
142 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x; a = S(a,s); } in mbedtls_md4_process() argument
164 #define F(x,y,z) ((x & y) | (x & z) | (y & z)) in mbedtls_md4_process() argument
165 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x + 0x5A827999; a = S(a,s); } in mbedtls_md4_process() argument
187 #define F(x,y,z) (x ^ y ^ z) in mbedtls_md4_process() argument
188 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x + 0x6ED9EBA1; a = S(a,s); } in mbedtls_md4_process() argument
Dmd5.c133 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in mbedtls_md5_process() argument
145 #define F(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_md5_process() argument
166 #define F(x,y,z) (y ^ (z & (x ^ y))) in mbedtls_md5_process() argument
187 #define F(x,y,z) (x ^ y ^ z) in mbedtls_md5_process() argument
208 #define F(x,y,z) (y ^ (x | ~z)) in mbedtls_md5_process() argument
Daes.c200 #define V(a,b,c,d) 0x##a##b##c##d
204 #define V(a,b,c,d) 0x##b##c##d##a
208 #define V(a,b,c,d) 0x##c##d##a##b
212 #define V(a,b,c,d) 0x##d##a##b##c
327 #define V(a,b,c,d) 0x##a##b##c##d
331 #define V(a,b,c,d) 0x##b##c##d##a
335 #define V(a,b,c,d) 0x##c##d##a##b
339 #define V(a,b,c,d) 0x##d##a##b##c
383 #define ROTL8(x) ( ( x << 8 ) & 0xFFFFFFFF ) | ( x >> 24 ) argument
384 #define XTIME(x) ( ( x << 1 ) ^ ( ( x & 0x80 ) ? 0x1B : 0x00 ) ) argument
[all …]
Dripemd160.c142 #define F1( x, y, z ) ( x ^ y ^ z ) in mbedtls_ripemd160_process() argument
143 #define F2( x, y, z ) ( ( x & y ) | ( ~x & z ) ) in mbedtls_ripemd160_process() argument
144 #define F3( x, y, z ) ( ( x | ~y ) ^ z ) in mbedtls_ripemd160_process() argument
145 #define F4( x, y, z ) ( ( x & z ) | ( y & ~z ) ) in mbedtls_ripemd160_process() argument
146 #define F5( x, y, z ) ( x ^ ( y | ~z ) ) in mbedtls_ripemd160_process() argument
148 #define S( x, n ) ( ( x << n ) | ( x >> (32 - n) ) ) in mbedtls_ripemd160_process() argument
Dsha1.c134 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in mbedtls_sha1_process() argument
143 #define P(a,b,c,d,e,x) \ in mbedtls_sha1_process() argument
145 e += S(a,5) + F(b,c,d) + K + x; b = S(b,30); \ in mbedtls_sha1_process()
154 #define F(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha1_process() argument
181 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_process() argument
208 #define F(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha1_process() argument
235 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_process() argument
Dblowfish.c81 static uint32_t F( mbedtls_blowfish_context *ctx, uint32_t x ) in F() argument
86 d = (unsigned short)(x & 0xFF); in F()
87 x >>= 8; in F()
88 c = (unsigned short)(x & 0xFF); in F()
89 x >>= 8; in F()
90 b = (unsigned short)(x & 0xFF); in F()
91 x >>= 8; in F()
92 a = (unsigned short)(x & 0xFF); in F()
Decdsa.c49 static int derive_mpi( const mbedtls_ecp_group *grp, mbedtls_mpi *x, in derive_mpi() argument
56 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( x, buf, use_size ) ); in derive_mpi()
58 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( x, use_size * 8 - grp->nbits ) ); in derive_mpi()
61 if( mbedtls_mpi_cmp_mpi( x, &grp->N ) >= 0 ) in derive_mpi()
62 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( x, x, &grp->N ) ); in derive_mpi()
Dmd2.c186 unsigned char x; in mbedtls_md2_finish() local
188 x = (unsigned char)( 16 - ctx->left ); in mbedtls_md2_finish()
191 ctx->buffer[i] = x; in mbedtls_md2_finish()
/net-tools-3.7.0/mbedtls-2.4.0/scripts/
Dfind-mem-leak.cocci2 expression x, y;
5 x = mbedtls_malloc(...);
8 * if (x == NULL || y == NULL)
12 expression x, y;
16 * (x = mbedtls_malloc(...)) == NULL
Drm-malloc-cast.cocci2 expression x, n;
5 x =
/net-tools-3.7.0/tinydtls-0.8.2/sha2/
Dsha2.c43 # define assert(x) argument
156 #define REVERSE32(w,x) { \ argument
159 (x) = ((tmp & 0xff00ff00UL) >> 8) | ((tmp & 0x00ff00ffUL) << 8); \
161 #define REVERSE64(w,x) { \ argument
166 (x) = ((tmp & 0xffff0000ffff0000ULL) >> 16) | \
221 #define R(b,x) ((x) >> (b)) argument
223 #define S32(b,x) (((x) >> (b)) | ((x) << (32 - (b)))) argument
225 #define S64(b,x) (((x) >> (b)) | ((x) << (64 - (b)))) argument
228 #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument
229 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
[all …]
/net-tools-3.7.0/libcoap/
Dconfigure.ac136 if test "x$build_documentation" = "xyes"; then
140 if test "x$build_documentation" = "xyes"; then
153 if test "x$DOXYGEN" = "x" -a "x$build_documentation" = "xyes"; then
162 if test "x$DOT" = "x"; then
175 if test "x$DOT" = "x" -a "x$build_documentation" = "xyes"; then
191 AM_CONDITIONAL(BUILD_DOCUMENTATION, [test "x$build_documentation" = "xyes"])
205 if test "x$build_tests" = "xyes"; then
230 AM_CONDITIONAL(HAVE_CUNIT, [test "x$CUNIT_LIBS" != "x"])
240 if test "x$build_examples" = "xyes" -a "x$build_documentation" = "xyes"; then
243 if test "x$A2X" = "x"; then
[all …]
/net-tools-3.7.0/tinydtls-0.8.2/ecc/
Decc.h52 int ecc_ecdsa_validate(const uint32_t *x, const uint32_t *y, const uint32_t *e, const uint32_t *r, …
67 uint32_t ecc_add( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length);
68 uint32_t ecc_sub( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length);
71 int ecc_fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result);
72 int ecc_fieldSub(const uint32_t *x, const uint32_t *y, const uint32_t *modulus, uint32_t *result);
73 int ecc_fieldMult(const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length);
Decc.c43 static uint32_t add( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in add() argument
48 d += (uint64_t) x[v] + (uint64_t) y[v]; in add()
57 static uint32_t sub( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in sub() argument
61 d = (uint64_t) x[v] - (uint64_t) y[v] - d; in sub()
137 static int fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result… in fieldAdd() argument
138 if(add(x, y, result, arrayLength)){ //add prime if carry is still set! in fieldAdd()
147 static int fieldSub(const uint32_t *x, const uint32_t *y, const uint32_t *modulus, uint32_t *result… in fieldSub() argument
148 if(sub(x, y, result, arrayLength)){ //add modulus if carry is set in fieldSub()
159 static int fieldMult(const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in fieldMult() argument
167 l = (uint64_t)x[n]*(uint64_t)y[k]; in fieldMult()
[all …]
Dtest_helper.c44 void ecc_printNumber(const uint32_t *x, int numberLength){ //here the values are turned to MSB! in ecc_printNumber() argument
48 printf("%08x", x[n]); in ecc_printNumber()
/net-tools-3.7.0/tinydtls-0.8.2/
Dglobal.h109 memxor(unsigned char *x, const unsigned char *y, size_t n) { in memxor() argument
111 *x ^= *y; in memxor()
112 x++; y++; in memxor()
Dconfigure106 if test "x$as_myself" = x; then
119 do eval test x\${$as_var+set} = xset \
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
147 *v*x* | *x*v* ) as_opts=-vx ;;
149 *x* ) as_opts=-x ;;
160 if test "x$CONFIG_SHELL" = x; then
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
238 if test "x$CONFIG_SHELL" != x; then :
248 *v*x* | *x*v* ) as_opts=-vx ;;
250 *x* ) as_opts=-x ;;
[all …]
/net-tools-3.7.0/
Dwebsocket-console.py20 x = threading.Thread(target=reader, daemon=True, args=(ws,)) variable
21 x.start()
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dpadlock.h52 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) x & ~15)) argument
Dasn1.h94 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) argument
/net-tools-3.7.0/tinydtls-0.8.2/examples/contiki/
Ddtls-client.c248 #define _QUOTEME(x) #x in set_connection_address() argument
249 #define QUOTEME(x) _QUOTEME(x) in set_connection_address() argument

123