Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 33) sorted by relevance

12

/net-tools-3.5.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
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
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
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
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
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
Dbase64.c148 uint32_t j, x; in mbedtls_base64_decode() local
Darc4.c104 int x, y, a, b; in mbedtls_arc4_crypt() local
Dmd2.c186 unsigned char x; in mbedtls_md2_finish() local
Decjpake.c304 const mbedtls_mpi *x, in ecjpake_zkp_write()
402 mbedtls_mpi *x, in ecjpake_kkp_write()
939 static uint32_t x = 42; in ecjpake_lgc() local
954 #define TEST_ASSERT( x ) \ argument
Daes.c383 #define ROTL8(x) ( ( x << 8 ) & 0xFFFFFFFF ) | ( x >> 24 ) argument
384 #define XTIME(x) ( ( x << 1 ) ^ ( ( x & 0x80 ) ? 0x1B : 0x00 ) ) argument
385 #define MUL(x,y) ( ( x && y ) ? pow[(log[x]+log[y]) % 255] : 0 ) argument
391 int i, x, y, z; in aes_gen_tables() local
/net-tools-3.5.0/tinydtls-0.8.2/sha2/
Dsha2.c43 # define assert(x) argument
156 #define REVERSE32(w,x) { \ argument
161 #define REVERSE64(w,x) { \ argument
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
232 #define Sigma0_256(x) (S32(2, (x)) ^ S32(13, (x)) ^ S32(22, (x))) argument
233 #define Sigma1_256(x) (S32(6, (x)) ^ S32(11, (x)) ^ S32(25, (x))) argument
[all …]
/net-tools-3.5.0/tinydtls-0.8.2/ecc/
Decc.c43 static uint32_t add( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in add()
57 static uint32_t sub( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in sub()
137 static int fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result… in fieldAdd()
147 static int fieldSub(const uint32_t *x, const uint32_t *y, const uint32_t *modulus, uint32_t *result… in fieldSub()
159 static int fieldMult(const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length){ in fieldMult()
333 static int fieldAddAndDivide(const uint32_t *x, const uint32_t *modulus, const uint32_t *reducer, u… in fieldAddAndDivide()
593 int ecc_ecdsa_validate(const uint32_t *x, const uint32_t *y, const uint32_t *e, const uint32_t *r, … in ecc_ecdsa_validate()
641 uint32_t ecc_add( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length) in ecc_add()
645 uint32_t ecc_sub( const uint32_t *x, const uint32_t *y, uint32_t *result, uint8_t length) in ecc_sub()
649 int ecc_fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result) in ecc_fieldAdd()
[all …]
Dtest_helper.c44 void ecc_printNumber(const uint32_t *x, int numberLength){ //here the values are turned to MSB! in ecc_printNumber()
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Darc4.h47 int x; /*!< permutation index */ member
Dpadlock.h52 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) x & ~15)) argument
/net-tools-3.5.0/tinydtls-0.8.2/
Dsession.c34 # define assert(x) argument
Dutlist.h66 #define LDECLTYPE(x) decltype(x) argument
69 #define LDECLTYPE(x) char* argument
72 #define LDECLTYPE(x) __typeof(x) argument
Dnetq.c18 # define assert(x) argument
Dhmac.c35 #define assert(x) argument
Dglobal.h109 memxor(unsigned char *x, const unsigned char *y, size_t n) { in memxor()
/net-tools-3.5.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
/net-tools-3.5.0/libcoap/include/coap/
Ddebug.h79 #define coap_show_pdu(x) argument
Duthash.h37 #define DECLTYPE(x) (decltype(x)) argument
40 #define DECLTYPE(x) argument
44 #define DECLTYPE(x) argument
46 #define DECLTYPE(x) (__typeof(x)) argument
558 #define MUR_ROTL32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) argument
Dutlist.h68 #define LDECLTYPE(x) decltype(x) argument
71 #define LDECLTYPE(x) char* argument
75 #define LDECLTYPE(x) char* argument
77 #define LDECLTYPE(x) __typeof(x) argument

12