/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 39 a.nx_crypto_huge_number_data = a_buf; in thread_0_entry() 43 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT( &a, 1); /* a = 1 */ in thread_0_entry() 47 _nx_crypto_huge_number_add( &a, &c); /* a = 0 */ in thread_0_entry() 50 status = _nx_crypto_huge_number_compare( &a, &c); in thread_0_entry() 52 status = _nx_crypto_huge_number_compare( &c, &a); in thread_0_entry() 56 _nx_crypto_huge_number_subtract( &a, &b); /* a = -2 */ in thread_0_entry() 57 status = _nx_crypto_huge_number_compare( &c, &a); in thread_0_entry() 61 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT( &a, 0); /* a = 0 */ in thread_0_entry() 62 a.nx_crypto_huge_number_size = 2; in thread_0_entry() [all …]
|
/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); \ 68 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \ 69 (a) += (b); \ 71 #define GG(a, b, c, d, x, s, ac) { \ argument 72 (a) += G ((b), (c), (d)) + (x) + (ULONG)(ac); \ 73 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \ 74 (a) += (b); \ 76 #define HH(a, b, c, d, x, s, ac) { \ argument 77 (a) += H ((b), (c), (d)) + (x) + (ULONG)(ac); \ [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); \ 69 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \ 70 (a) += (b); \ 72 #define GG(a, b, c, d, x, s, ac) { \ argument 73 (a) += G((b), (c), (d)) + (x) + (ULONG)(ac); \ 74 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \ 75 (a) += (b); \ 77 #define HH(a, b, c, d, x, s, ac) { \ argument 78 (a) += H((b), (c), (d)) + (x) + (ULONG)(ac); \ [all …]
|
D | nx_crypto_sha2.c | 441 ULONG a, b, c, d, e, f, g, h; in _nx_crypto_sha256_process_buffer() local 448 a = context -> nx_sha256_states[0]; 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() 476 temp2 = LARGE_SIGMA_0(g) + MAJ_FUNC(g, h, a); in _nx_crypto_sha256_process_buffer() 483 a = a + temp1; 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() 506 temp1 = a + LARGE_SIGMA_1(f) + CH_FUNC(f, g, h) + _sha2_round_constants[t + 7] + w[t + 7]; 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 454 a = context -> nx_sha1_states[0]; 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() 469 b = a; in _nx_crypto_sha1_process_buffer() 470 a = temp; 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() 482 b = a; in _nx_crypto_sha1_process_buffer() 483 a = temp; 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() 495 b = a; in _nx_crypto_sha1_process_buffer() [all …]
|
/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: 17 57:4a:20:fc:45:51:2a:72:f0:03:6e:09:23:23:ae: 18 70:3e:df:f0:83:45:47:e6:47:5f:15:6a:c4:a2:30: 19 aa:1c:be:f8:6e:24:a9:39:03:40:5d:32:6a:a3:8f: 21 a8:a6:31:09:5e:9b:45:1b:6b:19:7e:7c:ef:8a:9e: 22 04:a1:cb:01:28:12:47:84:3e:8a:4c:eb:62:cc:cc: 23 2a:f0:2c:1c:03:82:17:91:39:fa:a9:c9:28:4d:78: 26 f1:0b:ea:4e:5f:9a:47:70:02:37:a2:ef:c4:f9:4c: 27 00:aa:80:6f:42:c8:45:2a:38:cb:90:43:d1:79:5e: 28 34:e6:9a:dc:75:3c:68:9e:39:37:56:f1:67:ea:41: [all …]
|
D | ECTestClient1.crt | 15 04:67:0b:4d:d1:29:7a:f8:29:41:d8:38:b3:ad:60: 18 b7:a4:a4:9a:1a:ba:d3:2f:3a:d3:87:c2:cc:80:62: 37 67:a5:c3:83:40:7a:8b:42:8b:c5:98:95:ae:cb:0e:43:83:72: 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
|
/NetX-Duo-v6.2.1/test/cmake/netxduo64/ |
D | nx_user.h | 54 #define NX_THREAD_EXTENSION_PTR_SET(a, b) { \ argument 56 thread_ptr = (TX_THREAD *) (a); \ 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 75 timer_ptr = (TX_TIMER *) (a); \ 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/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 218 #define nx_tftp_client_file_close(a) _nxd_tftp_client_file_close(a, NX_IP_VERSION_V4) 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 246 #define nx_tftp_client_file_close(a) _nxde_tftp_client_file_close(a, NX_IP_VERSION_V4) 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/addons/websocket/ |
D | nx_sha1.c | 413 ULONG a, b, c, d, e; in _nx_sha1_process_buffer() local 437 a = context -> nx_sha1_states[0]; 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() 452 b = a; in _nx_sha1_process_buffer() 453 a = temp; 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() 465 b = a; in _nx_sha1_process_buffer() 466 a = temp; 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() 478 b = a; 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 437 a = context -> nx_sha1_states[0]; 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() 452 b = a; in _nx_sha1_process_buffer() 453 a = temp; 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() 465 b = a; in _nx_sha1_process_buffer() 466 a = temp; 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() 478 b = a; in _nx_sha1_process_buffer() [all …]
|
/NetX-Duo-v6.2.1/addons/azure_iot/docs/ |
D | azure_rtos_iot_hub_client_properties.md | 5 …ext-align: right">Append the necessary characters to a reported property JSON payload belonging to… 16 <p>This routine appends the necessary characters to a reported properties JSON payload belonging to… 36 | hub_client_ptr [in] | A pointer to a `NX_AZURE_IOT_HUB_CLIENT`. | 37 | writer_ptr [in] | A pointer to a #NX_AZURE_IOT_JSON_WRITER. | 38 | component_name_ptr [in] | A pointer to a component name. | 58 …align: right">Append the necessary characters to end a reported property JSON payload belonging to… 67 <p>This routine appends the necessary characters to end a reported properties JSON payload</p> 80 | hub_client_ptr [in] | A pointer to a `NX_AZURE_IOT_HUB_CLIENT`. | 81 | writer_ptr [in] | A pointer to a #NX_AZURE_IOT_JSON_WRITER. | 100 <div style="text-align: right"> Begin a property response payload with confirmation status.</div> [all …]
|
/NetX-Duo-v6.2.1/ports/cortex_m3/ac5/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m3/keil/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m33/ac5/inc/ |
D | nx_port.h | 108 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 134 #define NX_CHANGE_ULONG_ENDIAN(a) argument 135 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m4/ac5/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m4/keil/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m55/ac5/inc/ |
D | nx_port.h | 102 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 128 #define NX_CHANGE_ULONG_ENDIAN(a) argument 129 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m7/ac5/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_m85/ac5/inc/ |
D | nx_port.h | 102 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 128 #define NX_CHANGE_ULONG_ENDIAN(a) argument 129 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_r4/ac5/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_r4/iar/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_r5/ac5/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/cortex_r5/iar/inc/ |
D | nx_port.h | 105 #define NX_CHANGE_USHORT_ENDIAN(a) a = (((a >> 8) | (a << 8)) & 0xFFFF) argument 131 #define NX_CHANGE_ULONG_ENDIAN(a) argument 132 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|
/NetX-Duo-v6.2.1/ports/mips/gnu/inc/ |
D | nx_port.h | 98 #define NX_CHANGE_USHORT_ENDIAN(a) (a = (((a >> 8) | (a << 8)) & 0xFFFF)) argument 118 #define NX_CHANGE_ULONG_ENDIAN(a) argument 119 #define NX_CHANGE_USHORT_ENDIAN(a) argument
|