Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 31) sorted by relevance

12

/NetX-Duo-v6.4.1/common/src/
Dnx_md5.c53 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
54 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument
55 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument
56 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument
61 #define LEFT_SHIFT_CIRCULAR(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument
66 #define FF(a, b, c, d, x, s, ac) { \ argument
67 (a) += F ((b), (c), (d)) + (x) + (ULONG)(ac); \
71 #define GG(a, b, c, d, x, s, ac) { \ argument
72 (a) += G ((b), (c), (d)) + (x) + (ULONG)(ac); \
76 #define HH(a, b, c, d, x, s, ac) { \ argument
[all …]
/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_md5.c54 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
55 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument
56 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument
57 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument
62 #define LEFT_SHIFT_CIRCULAR(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) argument
67 #define FF(a, b, c, d, x, s, ac) { \ argument
68 (a) += F((b), (c), (d)) + (x) + (ULONG)(ac); \
72 #define GG(a, b, c, d, x, s, ac) { \ argument
73 (a) += G((b), (c), (d)) + (x) + (ULONG)(ac); \
77 #define HH(a, b, c, d, x, s, ac) { \ argument
[all …]
Dnx_crypto_sha5.c51 #define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) argument
52 #define MAJ_FUNC(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
54 #define RIGHT_SHIFT_CIRCULAR(x, n) (((x) >> (n)) | ((x) << (64 - (n)))) argument
55 #define LARGE_SIGMA_0(x) (RIGHT_SHIFT_CIRCULAR((x), 28) ^ RIGHT_SHIFT_CIRCULAR((x), 34) … argument
56 #define LARGE_SIGMA_1(x) (RIGHT_SHIFT_CIRCULAR((x), 14) ^ RIGHT_SHIFT_CIRCULAR((x), 18) … argument
57 #define SMALL_SIGMA_0(x) (RIGHT_SHIFT_CIRCULAR((x), 1) ^ RIGHT_SHIFT_CIRCULAR((x), 8) ^ … argument
58 #define SMALL_SIGMA_1(x) (RIGHT_SHIFT_CIRCULAR((x), 19) ^ RIGHT_SHIFT_CIRCULAR((x), 61) ^… argument
Dnx_crypto_sha2.c39 #define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) argument
40 #define MAJ_FUNC(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
42 #define RIGHT_SHIFT_CIRCULAR(x, n) (((x) >> (n)) | ((x) << (32 - (n)))) argument
43 #define LARGE_SIGMA_0(x) (RIGHT_SHIFT_CIRCULAR((x), 2) ^ RIGHT_SHIFT_CIRCULAR((x), 13) ^… argument
44 #define LARGE_SIGMA_1(x) (RIGHT_SHIFT_CIRCULAR((x), 6) ^ RIGHT_SHIFT_CIRCULAR((x), 11) ^… argument
45 #define SMALL_SIGMA_0(x) (RIGHT_SHIFT_CIRCULAR((x), 7) ^ RIGHT_SHIFT_CIRCULAR((x), 18) ^… argument
46 #define SMALL_SIGMA_1(x) (RIGHT_SHIFT_CIRCULAR((x), 17) ^ RIGHT_SHIFT_CIRCULAR((x), 19) ^… argument
Dnx_crypto_sha1.c58 #define F1(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
59 #define F2(x, y, z) ((x) ^ (y) ^ (z)) argument
60 #define F3(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) argument
61 #define F4(x, y, z) ((x) ^ (y) ^ (z)) argument
66 #define LEFT_SHIFT_CIRCULAR(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) argument
Dnx_crypto_huge_number.c86 NX_CRYPTO_KEEP UINT _nx_crypto_huge_number_is_zero(NX_CRYPTO_HUGE_NUMBER *x) in _nx_crypto_huge_number_is_zero() argument
90 for (i = 0; i < x -> nx_crypto_huge_number_size; i++) in _nx_crypto_huge_number_is_zero()
92 if (x -> nx_crypto_huge_number_data[i]) in _nx_crypto_huge_number_is_zero()
670 NX_CRYPTO_KEEP VOID _nx_crypto_huge_number_shift_left(NX_CRYPTO_HUGE_NUMBER *x, UINT shift) in _nx_crypto_huge_number_shift_left() argument
673 HN_UBASE *x_buffer = x -> nx_crypto_huge_number_data; in _nx_crypto_huge_number_shift_left()
676 i = x -> nx_crypto_huge_number_size; in _nx_crypto_huge_number_shift_left()
684 if (x_buffer[x -> nx_crypto_huge_number_size] != 0) in _nx_crypto_huge_number_shift_left()
686 x -> nx_crypto_huge_number_size++; in _nx_crypto_huge_number_shift_left()
740 NX_CRYPTO_KEEP VOID _nx_crypto_huge_number_shift_right(NX_CRYPTO_HUGE_NUMBER *x, UINT shift) in _nx_crypto_huge_number_shift_right() argument
743 HN_UBASE *x_buffer = x -> nx_crypto_huge_number_data; in _nx_crypto_huge_number_shift_right()
[all …]
Dnx_crypto_gcm.c201 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_multi(UCHAR *x, UCHAR *y, UCHAR *output) in _nx_crypto_gcm_multi() argument
217 if (*x & mask) in _nx_crypto_gcm_multi()
243 x++; in _nx_crypto_gcm_multi()
Dnx_crypto_ecjpake.c781 NX_CRYPTO_EC_POINT *x, in _nx_crypto_ecjpake_schnorr_zkp_hash() argument
918 size = x -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash()
919 x -> nx_crypto_ec_point_y.nx_crypto_huge_buffer_size + 1; in _nx_crypto_ecjpake_schnorr_zkp_hash()
920 _nx_crypto_ec_point_extract_uncompressed(curve, x, (UCHAR *)scratch, size, &size); in _nx_crypto_ecjpake_schnorr_zkp_hash()
/NetX-Duo-v6.4.1/addons/snmp/
Dnx_sha1.c59 #define F1(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
60 #define F2(x, y, z) ((x) ^ (y) ^ (z)) argument
61 #define F3(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) argument
62 #define F4(x, y, z) ((x) ^ (y) ^ (z)) argument
67 #define LEFT_SHIFT_CIRCULAR(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument
/NetX-Duo-v6.4.1/addons/websocket/
Dnx_sha1.c59 #define F1(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
60 #define F2(x, y, z) ((x) ^ (y) ^ (z)) argument
61 #define F3(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) argument
62 #define F4(x, y, z) ((x) ^ (y) ^ (z)) argument
67 #define LEFT_SHIFT_CIRCULAR(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument
/NetX-Duo-v6.4.1/test/regression/ptp_test/
Dnetx_ptp_utility.h26 #define PTP_IPV6_MULTICAST_ADDR_SET(x) { \ argument
27 (x) -> nxd_ip_version = NX_IP_VERSION_V6; \
28 (x) -> nxd_ip_address.v6[0] = 0xff0e0000UL; \
29 (x) -> nxd_ip_address.v6[1] = 0; \
30 (x) -> nxd_ip_address.v6[2] = 0; \
31 (x) -> nxd_ip_address.v6[3] = 0x181; }
/NetX-Duo-v6.4.1/crypto_libraries/inc/
Dnx_crypto_aes.h78 #define NX_CRYPTO_BIT_POSITION_BYTE_INDEX(x) (x >> 3) /* Divide the bit positio… argument
79 #define NX_CRYPTO_BIT_POSITION_BIT_VALUE(x) ((UINT)0x1 << (x & 0x7)) /* The bit to set (OR wit… argument
82 #define NX_CRYPTO_BIT_POSITION_WORD_INDEX(x) (x >> 4) /* Divide the bit positio… argument
83 #define NX_CRYPTO_BIT_POSITION_WORD_BIT_VALUE(x) ((UINT)0x1 << (x & 0xF)) /* The bit to set (OR wit… argument
Dnx_crypto_huge_number.h177 UINT _nx_crypto_huge_number_is_zero(NX_CRYPTO_HUGE_NUMBER *x);
196 VOID _nx_crypto_huge_number_shift_left(NX_CRYPTO_HUGE_NUMBER *x, UINT shift);
197 VOID _nx_crypto_huge_number_shift_right(NX_CRYPTO_HUGE_NUMBER *x, UINT shift);
207 NX_CRYPTO_HUGE_NUMBER *x,
215 VOID _nx_crypto_huge_number_mont_power_modulus(NX_CRYPTO_HUGE_NUMBER *x,
220 VOID _nx_crypto_huge_number_crt_power_modulus(NX_CRYPTO_HUGE_NUMBER *x,
Dnx_crypto_ecjpake.h142 NX_CRYPTO_EC_POINT *x,
Dnx_crypto_ec.h164 #define NX_CRYPTO_EC_POINT_SETUP(p, x, x_size, y, y_size, z, z_size) \ argument
165 _nx_crypto_huge_number_setup(&((p) -> nx_crypto_ec_point_x), x, x_size); \
170 #define NX_CRYPTO_EC_POINT_EXTRACT(p, x, x_size, x_out_size, y, y_size, y_out_size, z, z_size, z_ou… argument
171 …_nx_crypto_huge_number_extract(&((p) -> nx_crypto_ec_point_x), x, x_size, x_out_size); …
/NetX-Duo-v6.4.1/addons/nat/
Dnx_nat.c4541 LONG x, old_value, new_value; in _nx_nat_checksum_adjust() local
4555 x = checksum[i] * 256 + checksum[j]; in _nx_nat_checksum_adjust()
4556 x = ~x & 0xFFFF; in _nx_nat_checksum_adjust()
4569 x -= old_value & 0xFFFF; in _nx_nat_checksum_adjust()
4572 if (x <= 0) in _nx_nat_checksum_adjust()
4576 x --; in _nx_nat_checksum_adjust()
4577 x &= 0xFFFF; in _nx_nat_checksum_adjust()
4595 x += new_value & 0xFFFF; in _nx_nat_checksum_adjust()
4598 if (x & 0x10000) in _nx_nat_checksum_adjust()
4602 x ++; in _nx_nat_checksum_adjust()
[all …]
/NetX-Duo-v6.4.1/
DREADME.md11 …ols of choice from [STMicro](https://www.st.com/content/st_com/en/campaigns/x-cube-azrtos-azure-rt…
39 > When you see xx-xx-xxxx, 6.x or x.x in function header, this means the file is not officially rel…
46 /* 6.x */
81 /* resulting in version 6.x */
DSECURITY.md7 | 6.4.x | :white_check_mark: |
/NetX-Duo-v6.4.1/test/regression/interoperability_test/certificates/
Dtest_server.crt31 otFe7ftHTr26tgpyrE5g1DiwWCVG/x+yBCvSP7XL/p8/wmtoEjYKvmbeyYCrFFWS
/NetX-Duo-v6.4.1/test/cmake/azure_iot/configs/
Dwin32.cmake11 set(CMAKE_ASM_FLAGS "${WIN32_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
Dlinux.cmake19 set(CMAKE_ASM_FLAGS "${LINUX_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
/NetX-Duo-v6.4.1/test/cmake/mqtt_interoperability/regression/
Dnetwork_config.cmake4 math(EXPR ALLOCATION_PARAMETER "0x${ALLOCATION_PARAMETER}")
/NetX-Duo-v6.4.1/test/cmake/nx_secure_interoperability/regression/
Dnetwork_config.cmake4 math(EXPR ALLOCATION_PARAMETER "0x${ALLOCATION_PARAMETER}")
/NetX-Duo-v6.4.1/addons/ptp/
Dnxd_ptp_client.c76 #define NX_PTP_DEBUG_PRINTF(x) printf x argument
79 #define NX_PTP_DEBUG_PRINTF(x) argument
106 #define NX_PTP_IPV6_MULTICAST_ADDR_SET(x) { \ argument
107 (x) -> nxd_ip_version = NX_IP_VERSION_V6; \
108 (x) -> nxd_ip_address.v6[0] = 0xff0e0000UL; \
109 (x) -> nxd_ip_address.v6[1] = 0; \
110 (x) -> nxd_ip_address.v6[2] = 0; \
111 (x) -> nxd_ip_address.v6[3] = 0x181; }
114 #define NX_PTP_IPV6_P2P_MULTICAST_ADDR_SET(x) { \ argument
115 (x) -> nxd_ip_version = NX_IP_VERSION_V6; \
[all …]
/NetX-Duo-v6.4.1/cmake/
Darm-none-eabi.cmake20 set(CMAKE_ASM_FLAGS "${MCPU_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")

12