| /NetX-Duo-v6.2.1/common/src/ |
| D | nx_md5.c | 66 #define FF(a, b, c, d, x, s, ac) { \ argument 67 (a) += F ((b), (c), (d)) + (x) + (ULONG)(ac); \ 69 (a) += (b); \ 71 #define GG(a, b, c, d, x, s, ac) { \ argument 72 (a) += G ((b), (c), (d)) + (x) + (ULONG)(ac); \ 74 (a) += (b); \ 76 #define HH(a, b, c, d, x, s, ac) { \ argument 77 (a) += H ((b), (c), (d)) + (x) + (ULONG)(ac); \ 79 (a) += (b); \ 81 #define II(a, b, c, d, x, s, ac) { \ argument [all …]
|
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_md5.c | 67 #define FF(a, b, c, d, x, s, ac) { \ argument 68 (a) += F((b), (c), (d)) + (x) + (ULONG)(ac); \ 70 (a) += (b); \ 72 #define GG(a, b, c, d, x, s, ac) { \ argument 73 (a) += G((b), (c), (d)) + (x) + (ULONG)(ac); \ 75 (a) += (b); \ 77 #define HH(a, b, c, d, x, s, ac) { \ argument 78 (a) += H((b), (c), (d)) + (x) + (ULONG)(ac); \ 80 (a) += (b); \ 82 #define II(a, b, c, d, x, s, ac) { \ argument [all …]
|
| D | nx_crypto_sha2.c | 441 ULONG a, b, c, d, e, f, g, h; in _nx_crypto_sha256_process_buffer() local 449 b = context -> nx_sha256_states[1]; in _nx_crypto_sha256_process_buffer() 464 temp2 = LARGE_SIGMA_0(a) + MAJ_FUNC(a, b, c); in _nx_crypto_sha256_process_buffer() 470 temp2 = LARGE_SIGMA_0(h) + MAJ_FUNC(h, a, b); in _nx_crypto_sha256_process_buffer() 477 b = b + temp1; in _nx_crypto_sha256_process_buffer() 481 temp1 = e + LARGE_SIGMA_1(b) + CH_FUNC(b, c, d) + _sha2_round_constants[t + 3] + w[t + 3]; in _nx_crypto_sha256_process_buffer() 487 temp1 = d + LARGE_SIGMA_1(a) + CH_FUNC(a, b, c) + _sha2_round_constants[t + 4] + w[t + 4]; in _nx_crypto_sha256_process_buffer() 494 temp1 = c + LARGE_SIGMA_1(h) + CH_FUNC(h, a, b) + _sha2_round_constants[t + 5] + w[t + 5]; in _nx_crypto_sha256_process_buffer() 500 temp1 = b + LARGE_SIGMA_1(g) + CH_FUNC(g, h, a) + _sha2_round_constants[t + 6] + w[t + 6]; in _nx_crypto_sha256_process_buffer() 503 b = temp1 + temp2; in _nx_crypto_sha256_process_buffer() [all …]
|
| D | nx_crypto_sha1.c | 430 ULONG a, b, c, d, e; in _nx_crypto_sha1_process_buffer() local 455 b = context -> nx_sha1_states[1]; in _nx_crypto_sha1_process_buffer() 465 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F1(b, c, d) + e + w[t] + 0x5A827999UL; in _nx_crypto_sha1_process_buffer() 468 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_crypto_sha1_process_buffer() 469 b = a; in _nx_crypto_sha1_process_buffer() 478 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; in _nx_crypto_sha1_process_buffer() 481 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_crypto_sha1_process_buffer() 482 b = a; in _nx_crypto_sha1_process_buffer() 491 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F3(b, c, d) + e + w[t] + 0x8F1BBCDCUL; in _nx_crypto_sha1_process_buffer() 494 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_crypto_sha1_process_buffer() [all …]
|
| D | nx_crypto_sha5.c | 505 ULONG64 a, b, c, d, e, f, g, h; in _nx_crypto_sha512_process_buffer() local 536 b = context -> nx_sha512_states[1]; in _nx_crypto_sha512_process_buffer() 548 temp2 = LARGE_SIGMA_0(a) + MAJ_FUNC(a, b, c); in _nx_crypto_sha512_process_buffer() 554 c = b; in _nx_crypto_sha512_process_buffer() 555 b = a; in _nx_crypto_sha512_process_buffer() 561 context -> nx_sha512_states[1] += b; in _nx_crypto_sha512_process_buffer() 570 a = 0; b = 0; c = 0; d = 0; in _nx_crypto_sha512_process_buffer()
|
| /NetX-Duo-v6.2.1/test/regression/nx_secure_test/ |
| D | nx_secure_huge_number_test.c | 32 NX_CRYPTO_HUGE_NUMBER a, b, c; in thread_0_entry() local 40 b.nx_crypto_huge_number_data = b_buf; in thread_0_entry() 44 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT( &b, 2); /* b = 2 */ in thread_0_entry() 46 _nx_crypto_huge_number_subtract( &c, &b); /* c = -1 */ in thread_0_entry() 56 _nx_crypto_huge_number_subtract( &a, &b); /* a = -2 */ in thread_0_entry() 71 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT( &b, 1); /* b = 2 */ in thread_0_entry() 72 b.nx_crypto_huge_number_size = 1; in thread_0_entry() 73 b.nx_crypto_huge_buffer_size = 4; in thread_0_entry() 74 _nx_crypto_huge_number_add_unsigned( &a, &b); in thread_0_entry() 83 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT( &b, 1); /* b = 1 */ in thread_0_entry() [all …]
|
| /NetX-Duo-v6.2.1/crypto_libraries/inc/ |
| D | nx_crypto_ec.h | 194 #define NX_CRYPTO_EC_ASSIGN_REV(a, b) (a) = (b); NX_CRYPTO_CHANGE_ULONG_ENDIAN(a) argument 195 #define NX_CRYPTO_EC_CHANGE_ENDIAN(a, b, c) NX_CRYPTO_EC_ASSIGN_REV(b, c); (a) = (b) argument 197 #define NX_CRYPTO_EC_SECP192R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5) \ argument 198 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[5], b, c0); \ 199 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[4], b, c1); \ 200 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[3], b, c2); \ 201 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[2], b, c3); \ 202 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[1], b, c4); \ 203 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[0], b, c5); \ 207 #define NX_CRYPTO_EC_SECP224R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5, c6) \ argument [all …]
|
| D | nx_crypto_const.h | 307 #define NX_CRYPTO_OFFSET(a, b) ((ULONG)(&(((a *)(0)) -> b))) argument
|
| /NetX-Duo-v6.2.1/test/cmake/netxduo64/ |
| D | nx_user.h | 54 #define NX_THREAD_EXTENSION_PTR_SET(a, b) { \ argument 57 … (thread_ptr -> tx_thread_extension_ptr) = (VOID *)(b); \ 59 #define NX_THREAD_EXTENSION_PTR_GET(a, b, c) { \ argument 67 … (a) = (b *)(thread_ptr -> tx_thread_extension_ptr); \ 73 #define NX_TIMER_EXTENSION_PTR_SET(a, b) { \ argument 76 … (timer_ptr -> tx_timer_internal.tx_timer_internal_extension_ptr) = (VOID *)(b); \ 78 #define NX_TIMER_EXTENSION_PTR_GET(a, b, c) { \ argument 82 … (a) = (b *)(_tx_timer_expired_timer_ptr -> tx_timer_internal_extension_ptr); \
|
| /NetX-Duo-v6.2.1/test/regression/interoperability_test/ecc_certificates/ |
| D | ECTestServer6.crt | 15 00:bb:bc:6a:bc:7c:20:77:47:9a:34:9b:0c:06:c5: 16 c4:40:d8:4b:21:89:63:11:a5:69:e6:43:85:e9:fd: 20 09:31:73:9f:11:b1:94:2d:8f:ee:21:6e:5b:ee:03: 21 a8:a6:31:09:5e:9b:45:1b:6b:19:7e:7c:ef:8a:9e: 24 c3:48:94:6d:fb:25:4b:72:d8:21:37:64:26:31:01: 25 fc:4c:fe:00:83:ee:8b:57:90:53:0d:0c:6f:82:30: 26 f1:0b:ea:4e:5f:9a:47:70:02:37:a2:ef:c4:f9:4c: 30 24:81:5f:5a:56:13:cf:a0:f8:3b:ee:30:13:4b:17: 46 30:65:02:31:00:9a:02:c1:30:87:e9:86:c7:24:7f:d9:e4:5b: 50 5a:71:ed:dd:dd:9d:4b:f1:8a:51:19:a0:9d:af:61:c6:13:0e: [all …]
|
| D | ECTestServer10.crt | 15 04:f9:1a:1d:20:7d:9a:66:4e:7e:ba:6b:46:32:c5: 16 9b:cf:1a:e8:d7:39:53:26:86:b9:86:e9:92:d4:0b: 17 17:89:fa:9c:91:1b:d4:6c:20:96:a5:c2:50:ad:0c: 18 23:18:1b:a5:33:93:58:41:15:23:01:c4:e4:99:99: 36 c4:02:20:5d:d9:2d:ed:92:bb:c7:55:ee:bd:df:1b:3e:3b:b8: 37 c7:1a:d9:32:e0:0b:05:f0:56:3b:df:17:70:d3:b9:bb:14
|
| D | ECTestServer7_256.crt | 15 04:ee:e8:6b:81:32:42:79:9e:16:27:71:3b:c6:62: 17 f9:97:3b:be:5c:ef:bc:39:c0:33:06:27:6e:a6:f6: 19 3b:29:74:62:b0 34 30:66:02:31:00:8f:cd:27:83:3b:3a:93:a2:1c:1a:8d:be:02: 36 f4:50:1b:ba:79:59:f6:15:70:37:9f:0c:ae:1b:3e:25:9e:02: 37 31:00:e3:91:01:6a:26:98:86:7d:90:75:8b:1d:aa:cf:12:e5:
|
| D | ECTestClient1.crt | 15 04:67:0b:4d:d1:29:7a:f8:29:41:d8:38:b3:ad:60: 37 67:a5:c3:83:40:7a:8b:42:8b:c5:98:95:ae:cb:0e:43:83:72: 38 f6:c9:51:f1:71:5c:9c:ab:b1:63:93:fb:1b:eb:19:0d:02:30: 39 0a:6b:15:18:0a:63:ae:9e:8e:2b:d4:59:a2:e6:1f:2c:c3:fc: 40 4f:1f:8b:99:b1:0f:78:7c:bf:fd:e6:2f:5a:12:12:60:65:bf: 41 f4:c7:fc:5f:d4:c3:bc:ae:d6:53:6a:6b
|
| D | ECRevoked.crt | 16 13:db:06:78:10:7c:a0:93:51:7b:1b:21:67:84:8c: 34 30:65:02:31:00:bf:ce:c7:53:db:05:65:db:95:fb:9b:3b:05: 35 2e:aa:3a:a1:51:fb:12:42:c4:15:b7:aa:49:07:5b:38:22:b3: 36 0c:7f:46:93:ad:18:34:90:cc:2b:bb:fd:b9:9b:37:ba:f3:02:
|
| D | ECTestServer3.crt | 16 aa:10:11:95:20:8b:71:6c:a0:88:68:47:c1:f4:0c: 17 41:1c:21:6c:0c:c4:0c:1b:91:6d:95:ad:84:1a:c3: 20 85:80:51:cb:2b:c2:29:e3:f9:36:27:93:d8:0a:31: 21 fc:4d:0e:ab:42:64:a5:0f:f5:38:7b:39:9c:99:33: 38 30:81:88:02:42:00:df:ad:0f:cb:3d:c6:a3:eb:5b:66:bc:22: 43 5d:5d:0e:76:79:7b:a6:68:e0:e5:1e:b2:d0:d6:4a:14:90:80: 44 4b:20:16:c1:c3:3d:da:28:e9:52:e6:3f:18:90:b8:82:48:44:
|
| D | ECIntm.crt | 15 04:2f:17:12:9b:9a:43:d7:f4:9c:06:f9:a6:e0:94: 17 88:84:c5:7b:98:fa:fa:c9:cd:da:e1:72:5a:9b:d5: 19 5e:30:a2:72:5b 35 4a:f9:5e:d3:75:86:89:7d:4b:3a:a6:32:e9:7f:a5:13:fc:96: 37 00:8e:20:3b:a3:6e:a3:ef:dc:d9:5e:f4:43:90:d7:3e:eb:fe:
|
| D | ECRevoked2.crt | 16 7d:2f:68:a9:70:94:4d:f7:d4:79:bf:53:b2:98:3b: 35 5b:c6:18:f1:13:60:f5:00:c9:0c:b3:37:98:59:ec:f3:09:e3: 37 02:70:35:aa:70:28:a3:3f:8b:d8:a5:4b:1c:eb:de:fa
|
| D | ECTestServer2.crt | 16 c7:87:b4:6f:34:98:fe:ce:0d:9e:83:ed:0f:15:5b: 34 30:46:02:21:00:f8:ed:34:8e:e7:a5:20:bf:2b:15:97:02:16: 35 98:8b:0f:2a:f6:ee:5c:e9:f7:64:91:ed:59:7e:5f:51:a1:cf:
|
| D | ECTestServer8_224.crt | 18 ec:73:b6:0b:e5:15:90:fe:29:90:65:59 34 4e:60:2f:68:1d:fa:b4:87:f2:af:21:e0:1b:84:84:8f:74:cf: 36 25:50:46:8b:ff:de:57:f3:bd:02:18:21:ba:d4:fe:b0
|
| D | ECTestServer4.crt | 16 87:02:db:23:c2:de:fa:45:7e:65:0b:1c:f7:c5:c0: 39 06:53:65:a6:04:fd:20:2f:5b:4d:95:14:a4:fa:97:b9:cf:80: 40 ab:6a:a5:7a:7b:7a:c5:c3:98:1e:5f:fc:49:23:f7:3d:f5:38:
|
| D | ECTestServer9_192.crt | 16 23:6a:d4:47:6d:b5:41:a1:3b:45:09:13:e3:7a:42:
|
| /NetX-Duo-v6.2.1/addons/websocket/ |
| D | nx_sha1.c | 413 ULONG a, b, c, d, e; in _nx_sha1_process_buffer() local 438 b = context -> nx_sha1_states[1]; in _nx_sha1_process_buffer() 448 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F1(b, c, d) + e + w[t] + 0x5A827999UL; in _nx_sha1_process_buffer() 451 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() 452 b = a; in _nx_sha1_process_buffer() 461 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; in _nx_sha1_process_buffer() 464 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() 465 b = a; in _nx_sha1_process_buffer() 474 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F3(b, c, d) + e + w[t] + 0x8F1BBCDCUL; in _nx_sha1_process_buffer() 477 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() [all …]
|
| /NetX-Duo-v6.2.1/addons/snmp/ |
| D | nx_sha1.c | 413 ULONG a, b, c, d, e; in _nx_sha1_process_buffer() local 438 b = context -> nx_sha1_states[1]; in _nx_sha1_process_buffer() 448 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F1(b, c, d) + e + w[t] + 0x5A827999UL; in _nx_sha1_process_buffer() 451 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() 452 b = a; in _nx_sha1_process_buffer() 461 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; in _nx_sha1_process_buffer() 464 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() 465 b = a; in _nx_sha1_process_buffer() 474 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F3(b, c, d) + e + w[t] + 0x8F1BBCDCUL; in _nx_sha1_process_buffer() 477 c = LEFT_SHIFT_CIRCULAR(b, 30); in _nx_sha1_process_buffer() [all …]
|
| /NetX-Duo-v6.2.1/addons/tftp/ |
| D | nxd_tftp_client.h | 214 #define nx_tftp_client_create(a,b,c,d) _nxd_tftp_client_create(a,b,c,d,NX_IP_VERSION_V4) argument 215 #define nx_tftp_client_packet_allocate(a,b,c) _nxd_tftp_client_packet_allocate(a,b,c, NX_IP_VERSI… argument 219 #define nx_tftp_client_file_read(a,b,c) _nxd_tftp_client_file_read(a,b,c,NX_IP_VERSION_V4) argument 220 #define nx_tftp_client_file_write(a,b,c) _nxd_tftp_client_file_write(a,b,c,NX_IP_VERSION_V4) argument 242 #define nx_tftp_client_create(a,b,c,d) _nxde_tftp_client_create(a,b,c,d,NX_IP_VERSION_V4) argument 243 #define nx_tftp_client_packet_allocate(a,b,c) _nxde_tftp_client_packet_allocate(a,b,c,NX_IP_VERSI… argument 247 #define nx_tftp_client_file_read(a,b,c) _nxde_tftp_client_file_read(a,b,c,NX_IP_VERSION_V4) argument 248 #define nx_tftp_client_file_write(a,b,c) _nxde_tftp_client_file_write(a,b,c,NX_IP_VERSION_V4) argument
|
| /NetX-Duo-v6.2.1/common/inc/ |
| D | nx_api.h | 192 #define NX_THREAD_EXTENSION_PTR_SET(a, b) argument 196 #define NX_THREAD_EXTENSION_PTR_GET(a, b, c) { \ argument 197 (a) = (b *)(c); \ 202 #define NX_TIMER_EXTENSION_PTR_SET(a, b) argument 206 #define NX_TIMER_EXTENSION_PTR_GET(a, b, c) { \ argument 207 (a) = (b *)(c); \ 213 #define NX_UCHAR_POINTER_ADD(a,b) TX_UCHAR_POINTER_ADD(a,b) argument 215 #define NX_UCHAR_POINTER_ADD(a,b) (((UCHAR *) (a)) + ((UINT) (b))) 491 …TRACE_OBJECT_REGISTER(t, p, n, a, b) _nx_trace_object_register(t, (VOID *)p, (CHAR *)n… argument 493 #define NX_TRACE_IN_LINE_INSERT(i, a, b, c, d, f, g, h) _nx_trace_event_insert((ULONG)i, (ULONG… argument [all …]
|