Home
last modified time | relevance | path

Searched refs:w (Results 1 – 17 of 17) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_sha2.c49 #define W16(t) (SMALL_SIGMA_1(w[(t) - 2]) + w[(t) - 7] + SMALL_SIGMA_0(w[(t) - 15]) + w[(t) - 16])
438 ULONG *w; in _nx_crypto_sha256_process_buffer() local
445 w = context -> nx_sha256_word_array; in _nx_crypto_sha256_process_buffer()
462 w[t] = W0(t); in _nx_crypto_sha256_process_buffer()
463 temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha2_round_constants[t] + w[t]; in _nx_crypto_sha256_process_buffer()
468 w[t + 1] = W0(t + 1); in _nx_crypto_sha256_process_buffer()
469 temp1 = g + LARGE_SIGMA_1(d) + CH_FUNC(d, e, f) + _sha2_round_constants[t + 1] + w[t + 1]; in _nx_crypto_sha256_process_buffer()
474 w[t + 2] = W0(t + 2); in _nx_crypto_sha256_process_buffer()
475 temp1 = f + LARGE_SIGMA_1(c) + CH_FUNC(c, d, e) + _sha2_round_constants[t + 2] + w[t + 2]; in _nx_crypto_sha256_process_buffer()
480 w[t + 3] = W0(t + 3); in _nx_crypto_sha256_process_buffer()
[all …]
Dnx_crypto_sha1.c427 ULONG *w; in _nx_crypto_sha1_process_buffer() local
434 w = context -> nx_sha1_word_array; in _nx_crypto_sha1_process_buffer()
442w[t] = (((ULONG)buffer[t * 4]) << 24) | (((ULONG)buffer[(t * 4) + 1]) << 16) | (((ULONG)buffer[(t… in _nx_crypto_sha1_process_buffer()
450 w[t] = LEFT_SHIFT_CIRCULAR((w[t - 3] ^ w[t - 8] ^ w[t - 14] ^ w[t - 16]), 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()
478 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; 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()
504 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F4(b, c, d) + e + w[t] + 0xCA62C1D6UL; in _nx_crypto_sha1_process_buffer()
Dnx_crypto_sha5.c502 ULONG64 *w; in _nx_crypto_sha512_process_buffer() local
509 w = context -> nx_sha512_word_array; in _nx_crypto_sha512_process_buffer()
516 w[t] = (((ULONG64)buffer[0]) << 56) | in _nx_crypto_sha512_process_buffer()
531 w[t] = SMALL_SIGMA_1(w[t - 2]) + w[t - 7] + SMALL_SIGMA_0(w[t - 15]) + w[t - 16]; in _nx_crypto_sha512_process_buffer()
547 temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha5_round_constants[t] + w[t]; in _nx_crypto_sha512_process_buffer()
Dnx_crypto_ecdsa.c323 NX_CRYPTO_HUGE_NUMBER w; in _nx_crypto_ecdsa_verify() local
370 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&w, scratch, buffer_size); in _nx_crypto_ecdsa_verify()
452 _nx_crypto_huge_number_inverse_modulus(&s, &curve -> nx_crypto_ec_n, &w, scratch); in _nx_crypto_ecdsa_verify()
455 _nx_crypto_huge_number_multiply(&z, &w, &u1); in _nx_crypto_ecdsa_verify()
459 _nx_crypto_huge_number_multiply(&r, &w, &u2); in _nx_crypto_ecdsa_verify()
Dnx_crypto_aes.c909 UINT *w = aes_ptr -> nx_crypto_aes_decrypt_key_schedule; in _nx_crypto_aes_decryption_round() local
942 temp_state[0] = V0 ^ V1 ^ V2 ^ V3 ^ (w[round * 4]); in _nx_crypto_aes_decryption_round()
955 temp_state[1] = V0 ^ V1 ^ V2 ^ V3 ^ (w[round * 4 + 1]); in _nx_crypto_aes_decryption_round()
968 temp_state[2] = V0 ^ V1 ^ V2 ^ V3 ^ (w[round * 4 + 2]); in _nx_crypto_aes_decryption_round()
981 temp_state[3] = V0 ^ V1 ^ V2 ^ V3 ^ (w[round * 4 + 3]); in _nx_crypto_aes_decryption_round()
1053 UINT *w; in _nx_crypto_aes_encrypt() local
1063 w = aes_ptr -> nx_crypto_aes_key_schedule; in _nx_crypto_aes_encrypt()
1098 _nx_crypto_aes_add_round_key(aes_ptr, &w[0]); in _nx_crypto_aes_encrypt()
1102 _nx_crypto_aes_sub_shift_roundkey(aes_ptr, &w[num_rounds * 4]); in _nx_crypto_aes_encrypt()
1512 UINT *w; in _nx_crypto_aes_decrypt() local
[all …]
/NetX-Duo-v6.2.1/addons/websocket/
Dnx_sha1.c410 ULONG *w; in _nx_sha1_process_buffer() local
417 w = context -> nx_sha1_word_array; in _nx_sha1_process_buffer()
425w[t] = (((ULONG) buffer[t * 4]) << 24) | (((ULONG) buffer[(t * 4) + 1]) << 16) | (((ULONG) buffer… in _nx_sha1_process_buffer()
433 w[t] = LEFT_SHIFT_CIRCULAR((w[t-3] ^ w[t-8] ^ w[t-14] ^ w[t-16]), 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()
461 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; 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()
487 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F4(b, c, d) + e + w[t] + 0xCA62C1D6UL; in _nx_sha1_process_buffer()
/NetX-Duo-v6.2.1/addons/snmp/
Dnx_sha1.c410 ULONG *w; in _nx_sha1_process_buffer() local
417 w = context -> nx_sha1_word_array; in _nx_sha1_process_buffer()
425w[t] = (((ULONG) buffer[t * 4]) << 24) | (((ULONG) buffer[(t * 4) + 1]) << 16) | (((ULONG) buffer… in _nx_sha1_process_buffer()
433 w[t] = LEFT_SHIFT_CIRCULAR((w[t-3] ^ w[t-8] ^ w[t-14] ^ w[t-16]), 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()
461 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F2(b, c, d) + e + w[t] + 0x6ED9EBA1UL; 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()
487 temp = LEFT_SHIFT_CIRCULAR(a, 5) + F4(b, c, d) + e + w[t] + 0xCA62C1D6UL; in _nx_sha1_process_buffer()
/NetX-Duo-v6.2.1/test/regression/interoperability_test/certificates/
Dtest_server.key20 8w+/ydtebgqJMQAO+/LELpfqqXXIQredhZ+iJ6mQY6ez/LupmLIbwmsA5VSVgt1V
/NetX-Duo-v6.2.1/addons/dhcp/
Dnxd_dhcpv6_client.c5059 UINT w, j = 0; in _nx_dhcpv6_process_DNS_server() local
5074 for (w = 0; w <= 3; w++) in _nx_dhcpv6_process_DNS_server()
5078 …memcpy(&(dhcpv6_ptr -> nx_dhcpv6_DNS_name_server_address[j].nxd_ip_address.v6[w]), /* Use case of … in _nx_dhcpv6_process_DNS_server()
5082 … NX_CHANGE_ULONG_ENDIAN(dhcpv6_ptr -> nx_dhcpv6_DNS_name_server_address[j].nxd_ip_address.v6[w]); in _nx_dhcpv6_process_DNS_server()
5172 UINT index = 0, w; in _nx_dhcpv6_process_ia() local
5189 for (w = 0; w <= 3; w++) in _nx_dhcpv6_process_ia()
5193 …memcpy(&(dhcpv6_ptr -> nx_dhcpv6_ia[ia_index].nx_global_address.nxd_ip_address.v6[w]), /* Use case… in _nx_dhcpv6_process_ia()
5197 …X_CHANGE_ULONG_ENDIAN(dhcpv6_ptr -> nx_dhcpv6_ia[ia_index].nx_global_address.nxd_ip_address.v6[w]); in _nx_dhcpv6_process_ia()
6082 UINT w, j = 0; in _nx_dhcpv6_process_time_server() local
6098 for (w = 0; w <= 3; w++) in _nx_dhcpv6_process_time_server()
[all …]
/NetX-Duo-v6.2.1/test/regression/interoperability_test/mqtt_test/test_scripts/CA/private/
Dew2017.client.key27 GyLdLswBKAxbXUJpn2nSd0an+w==
/NetX-Duo-v6.2.1/addons/azure_iot/samples/
DREADME.md97 xxd -i cert.der | sed -E "s/(unsigned char) (\w+)/\1 sample_device_cert_ptr/g; s/(unsigned int) (\w
98 … -i privkey.der | sed -E "s/(unsigned char) (\w+)/\1 sample_device_private_key_ptr/g; s/(unsigned …
/NetX-Duo-v6.2.1/addons/http/
Dnxd_http_client.h215 #define nx_http_client_create(p,n,i,pp,w) _nxe_http_client_create(p,n,i,pp,w, sizeof(NX_H… argument
/NetX-Duo-v6.2.1/addons/ppp/
Dnx_ppp.c6944 UINT i, w, m; in _nx_ppp_ipcp_configure_check() local
6963 for(w = 0, rej_index = 1, status = 1, nak_index = 1; (w + 2) <= length;) in _nx_ppp_ipcp_configure_check()
6969 option = packet_ptr -> nx_packet_prepend_ptr[w + 6]; in _nx_ppp_ipcp_configure_check()
6972 opt_length = (UINT) packet_ptr -> nx_packet_prepend_ptr[w + 7]; in _nx_ppp_ipcp_configure_check()
6975 if ((opt_length < 2) || (opt_length > (length - w))) in _nx_ppp_ipcp_configure_check()
7011 good_data[i + good_index] = packet_ptr -> nx_packet_prepend_ptr[w + i + 8]; in _nx_ppp_ipcp_configure_check()
7018 w += 6; in _nx_ppp_ipcp_configure_check()
7065 w += (opt_length + 2); /* skip */ in _nx_ppp_ipcp_configure_check()
7084 good_data[i + good_index] = packet_ptr -> nx_packet_prepend_ptr[w + i + 8]; in _nx_ppp_ipcp_configure_check()
7091 w += 6; in _nx_ppp_ipcp_configure_check()
[all …]
/NetX-Duo-v6.2.1/test/cmake/mqtt_interoperability/regression/
DCMakeLists.txt111 … tcpdump -i ${${test_case}_remote_interface} -s 0 -w ${CMAKE_CURRENT_BINARY_DIR}/${test_case}.pcap&
/NetX-Duo-v6.2.1/test/cmake/nx_secure_interoperability/regression/
DCMakeLists.txt385 … tcpdump -i ${${test_case}_remote_interface} -s 0 -w ${CMAKE_CURRENT_BINARY_DIR}/${test_case}.pcap&
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_client.h209 #define nx_web_http_client_create(p,n,i,pp,w) _nxe_web_http_client_create(p,n,i,pp,w, siz… argument
/NetX-Duo-v6.2.1/common/inc/
Dnx_api.h3529 #define nx_tcp_socket_create(i, s, n, t, f, l, w, u, d) _nxe_tcp_socket_create(i, s, n, t, f, l, w,… argument