/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | sha512.c | 38 #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 …]
|
D | sha256.c | 157 #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
|
D | md4.c | 134 #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
|
D | sha1.c | 134 #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
|
D | md5.c | 133 #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
|
D | ripemd160.c | 142 #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
|
D | base64.c | 148 uint32_t j, x; in mbedtls_base64_decode() local
|
D | arc4.c | 104 int x, y, a, b; in mbedtls_arc4_crypt() local
|
D | md2.c | 186 unsigned char x; in mbedtls_md2_finish() local
|
D | ecjpake.c | 304 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
|
D | aes.c | 383 #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/ |
D | sha2.c | 43 # 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/ |
D | ecc.c | 43 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 …]
|
D | test_helper.c | 44 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/ |
D | arc4.h | 47 int x; /*!< permutation index */ member
|
D | padlock.h | 52 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) x & ~15)) argument
|
/net-tools-3.5.0/tinydtls-0.8.2/ |
D | session.c | 34 # define assert(x) argument
|
D | utlist.h | 66 #define LDECLTYPE(x) decltype(x) argument 69 #define LDECLTYPE(x) char* argument 72 #define LDECLTYPE(x) __typeof(x) argument
|
D | netq.c | 18 # define assert(x) argument
|
D | hmac.c | 35 #define assert(x) argument
|
D | global.h | 109 memxor(unsigned char *x, const unsigned char *y, size_t n) { in memxor()
|
/net-tools-3.5.0/tinydtls-0.8.2/examples/contiki/ |
D | dtls-client.c | 248 #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/ |
D | debug.h | 79 #define coap_show_pdu(x) argument
|
D | uthash.h | 37 #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
|
D | utlist.h | 68 #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
|