| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_ctr.c | 138 USHORT result; in _nx_crypto_ctr_add_one() local 141 result = (USHORT)(control_block[15] + 1); in _nx_crypto_ctr_add_one() 142 control_block[15] = (UCHAR)(result & 0xFF); in _nx_crypto_ctr_add_one() 145 result = (USHORT)((result >> 8) + control_block[14]); in _nx_crypto_ctr_add_one() 146 control_block[14] = (UCHAR)(result & 0xFF); in _nx_crypto_ctr_add_one() 147 result = (USHORT)((result >> 8) + control_block[13]); in _nx_crypto_ctr_add_one() 148 control_block[13] = (UCHAR)(result & 0xFF); in _nx_crypto_ctr_add_one() 149 result = (USHORT)((result >> 8) + control_block[12]); in _nx_crypto_ctr_add_one() 150 control_block[12] = (UCHAR)(result & 0xFF); in _nx_crypto_ctr_add_one()
|
| D | nx_crypto_huge_number.c | 456 NX_CRYPTO_HUGE_NUMBER *result) in _nx_crypto_huge_number_subtract_unsigned() argument 462 HN_UBASE *result_buffer = result -> nx_crypto_huge_number_data; in _nx_crypto_huge_number_subtract_unsigned() 484 result -> nx_crypto_huge_number_size = left -> nx_crypto_huge_number_size; in _nx_crypto_huge_number_subtract_unsigned() 485 _nx_crypto_huge_number_adjust_size(result); in _nx_crypto_huge_number_subtract_unsigned() 1087 NX_CRYPTO_HUGE_NUMBER *result) in _nx_crypto_huge_number_multiply() argument 1106 result_buffer = result -> nx_crypto_huge_number_data; in _nx_crypto_huge_number_multiply() 1107 result -> nx_crypto_huge_number_size = (left_size + right_size); in _nx_crypto_huge_number_multiply() 1141 result -> nx_crypto_huge_number_is_negative = NX_CRYPTO_FALSE; in _nx_crypto_huge_number_multiply() 1145 result -> nx_crypto_huge_number_is_negative = NX_CRYPTO_TRUE; in _nx_crypto_huge_number_multiply() 1148 _nx_crypto_huge_number_adjust_size(result); in _nx_crypto_huge_number_multiply() [all …]
|
| D | nx_crypto_method_self_test_prf.c | 159 UCHAR *result; in _nx_crypto_method_self_test_prf() local 182 result = result_sha1; in _nx_crypto_method_self_test_prf() 192 result = result_sha256; in _nx_crypto_method_self_test_prf() 202 result = result_sha384; in _nx_crypto_method_self_test_prf() 212 result = result_sha512; in _nx_crypto_method_self_test_prf() 265 if(NX_CRYPTO_MEMCMP(output, result, result_length) != 0) in _nx_crypto_method_self_test_prf()
|
| D | nx_crypto_huge_number_extended.c | 251 NX_CRYPTO_HUGE_NUMBER *result, in _nx_crypto_huge_number_power_modulus() argument 264 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(result, 1); in _nx_crypto_huge_number_power_modulus() 281 _nx_crypto_huge_number_multiply(result, number, &temp); in _nx_crypto_huge_number_power_modulus() 282 NX_CRYPTO_HUGE_NUMBER_COPY(result, &temp); in _nx_crypto_huge_number_power_modulus() 286 _nx_crypto_huge_number_modulus(result, modulus); in _nx_crypto_huge_number_power_modulus()
|
| D | nx_crypto_gcm.c | 144 USHORT result; in _nx_crypto_gcm_inc32() local 147 result = (USHORT)(counter_block[15] + 1); in _nx_crypto_gcm_inc32() 148 counter_block[15] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 151 result = (USHORT)((result >> 8) + counter_block[14]); in _nx_crypto_gcm_inc32() 152 counter_block[14] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 153 result = (USHORT)((result >> 8) + counter_block[13]); in _nx_crypto_gcm_inc32() 154 counter_block[13] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 155 result = (USHORT)((result >> 8) + counter_block[12]); in _nx_crypto_gcm_inc32() 156 counter_block[12] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32()
|
| D | nx_crypto_drbg.c | 89 USHORT result; in _nx_crypto_drbg_ctr_add_one() local 93 result = (USHORT)(ctr[15] + 1); in _nx_crypto_drbg_ctr_add_one() 94 ctr[15] = (UCHAR)(result & 0xFF); in _nx_crypto_drbg_ctr_add_one() 99 result = (USHORT)((result >> 8) + ctr[i]); in _nx_crypto_drbg_ctr_add_one() 100 ctr[i] = (UCHAR)(result & 0xFF); in _nx_crypto_drbg_ctr_add_one() 1245 NX_CRYPTO_KEEP UINT _nx_crypto_drbg(UINT bits, UCHAR *result) in _nx_crypto_drbg() argument 1260 status = _nx_crypto_drbg_generate(&_nx_crypto_drbg_ctx, result, bytes, NX_CRYPTO_NULL, 0); in _nx_crypto_drbg() 1273 result[0] = (UCHAR)(result[0] & mask); in _nx_crypto_drbg()
|
| D | nx_crypto_aes.c | 1180 UINT result; in _nx_crypto_aes_subword() local 1182 result = sub_bytes_sbox[word & 0xFF]; in _nx_crypto_aes_subword() 1183 result |= (UINT)((sub_bytes_sbox[(word & 0x0000FF00) >> 8]) << 8); in _nx_crypto_aes_subword() 1184 result |= (UINT)((sub_bytes_sbox[(word & 0x00FF0000) >> 16]) << 16); in _nx_crypto_aes_subword() 1185 result |= (UINT)((sub_bytes_sbox[(word & 0xFF000000) >> 24]) << 24); in _nx_crypto_aes_subword() 1186 return result; in _nx_crypto_aes_subword()
|
| /NetX-Duo-v6.2.1/common/src/ |
| D | nxd_ipv6_address_delete.c | 78 UINT result; in _nxd_ipv6_address_delete() local 89 result = NX_NO_INTERFACE_ADDRESS; in _nxd_ipv6_address_delete() 111 result = NX_SUCCESS; in _nxd_ipv6_address_delete() 127 result = NX_SUCCESS; in _nxd_ipv6_address_delete() 131 if (result == NX_SUCCESS) in _nxd_ipv6_address_delete() 166 if (address_change_notify && (result == NX_SUCCESS)) in _nxd_ipv6_address_delete() 176 return(result); in _nxd_ipv6_address_delete()
|
| /NetX-Duo-v6.2.1/crypto_libraries/inc/ |
| D | nx_crypto_huge_number.h | 173 UINT _nx_crypto_huge_number_rbg(UINT bits, UCHAR *result); 183 NX_CRYPTO_HUGE_NUMBER *result); 190 NX_CRYPTO_HUGE_NUMBER *result); 193 NX_CRYPTO_HUGE_NUMBER *result); 194 VOID _nx_crypto_huge_number_square(NX_CRYPTO_HUGE_NUMBER *value, NX_CRYPTO_HUGE_NUMBER *result); 209 NX_CRYPTO_HUGE_NUMBER *result); 213 NX_CRYPTO_HUGE_NUMBER *result, 218 NX_CRYPTO_HUGE_NUMBER *result, 225 NX_CRYPTO_HUGE_NUMBER *result,
|
| D | nx_crypto_ec.h | 176 #define NX_CRYPTO_EC_MULTIPLE_DIGIT_REDUCE(curve, value, digit, result, scratch) \ argument 177 _nx_crypto_huge_number_multiply_digit(value, digit, result); \ 178 curve -> nx_crypto_ec_reduce(curve, result, scratch); 180 #define NX_CRYPTO_EC_MULTIPLE_REDUCE(curve, left, right, result, scratch) \ argument 181 _nx_crypto_huge_number_multiply(left, right, result); \ 182 curve -> nx_crypto_ec_reduce(curve, result, scratch); 184 #define NX_CRYPTO_EC_SQUARE_REDUCE(curve, value, result, scratch) \ argument 185 _nx_crypto_huge_number_square(value, result); \ 186 curve -> nx_crypto_ec_reduce(curve, result, scratch);
|
| D | nx_crypto_drbg.h | 197 UINT _nx_crypto_drbg(UINT bits, UCHAR *result);
|
| D | nx_crypto.h | 109 UINT _nx_crypto_drbg(UINT bits, UCHAR *result);
|
| /NetX-Duo-v6.2.1/nx_secure/src/ |
| D | nx_secure_crypto_method_self_test_prf.c | 107 UCHAR *result; in _nx_secure_crypto_method_self_test_prf() local 130 result = result_sha1; in _nx_secure_crypto_method_self_test_prf() 140 result = result_sha256; in _nx_secure_crypto_method_self_test_prf() 193 if(NX_SECURE_MEMCMP(output, result, result_length) != 0) in _nx_secure_crypto_method_self_test_prf()
|
| /NetX-Duo-v6.2.1/test/regression/azure_iot/ |
| D | c2d_property_unit_test.c | 221 const UCHAR *result; in empty_property_test() local 228 … 0, &result, &result_size), in empty_property_test() 234 &result, &result_size), in empty_property_test() 245 const UCHAR *result; in multiple_properties_test() local 336 … &result, &result_size), in multiple_properties_test() 346 … &result, &result_size), in multiple_properties_test() 349 assert_memory_equal(properties[l].value, result, result_size); in multiple_properties_test()
|
| D | c2d_unit_test.c | 255 const UCHAR *result; in property_payload_test() local 316 … &result, &result_size), in property_payload_test() 319 assert_memory_equal(property.value, result, result_size); in property_payload_test()
|
| /NetX-Duo-v6.2.1/test/cmake/azure_iot/ |
| D | run.sh | 54 result=$(sed -n "/(BUILD_CONFIGURATIONS/,/)/p" CMakeLists.txt|sed ':label;N;s/\n/ /;b label'|grep -… 56 read -ra build_configurations <<< "$result"
|
| /NetX-Duo-v6.2.1/test/regression/web_test/ |
| D | http_digest_authentication.c | 112 …*realm, CHAR *password, CHAR *nonce, CHAR *method, CHAR *uri, CHAR *nc, CHAR *cnonce, CHAR *result) in http_digest_response_calculate() argument 178 http_hex_ascii_convert(md5_binary, HTTP_MAX_BINARY_MD5, result); in http_digest_response_calculate()
|
| /NetX-Duo-v6.2.1/addons/ptp/ |
| D | nxd_ptp_client.c | 535 INT result; in _nx_ptp_client_master_clock_compare() local 548 result = (INT)master2 -> nx_ptp_client_master_priority1 - in _nx_ptp_client_master_clock_compare() 550 if (result != 0) in _nx_ptp_client_master_clock_compare() 552 return(result); in _nx_ptp_client_master_clock_compare() 555 result = (INT)master2 -> nx_ptp_client_master_clock_class - in _nx_ptp_client_master_clock_compare() 557 if (result != 0) in _nx_ptp_client_master_clock_compare() 559 return(result); in _nx_ptp_client_master_clock_compare() 562 result = (INT)master2 -> nx_ptp_client_master_clock_accuracy - in _nx_ptp_client_master_clock_compare() 564 if (result != 0) in _nx_ptp_client_master_clock_compare() 566 return(result); in _nx_ptp_client_master_clock_compare() [all …]
|
| /NetX-Duo-v6.2.1/test/regression/sntp_test/ |
| D | netx_sntp_forward_unicast_update_test.c | 16 extern void test_control_return(UINT result);
|
| /NetX-Duo-v6.2.1/addons/pop3/ |
| D | nxd_pop3_client.h | 262 …thenticate(NX_POP3_CLIENT *client_ptr, CHAR *process_ID_ptr, UINT process_ID_length, CHAR *result);
|
| D | nxd_pop3_client.c | 2109 …uthenticate(NX_POP3_CLIENT *client_ptr, CHAR *process_ID_ptr, UINT process_ID_length, CHAR *result) in _nx_pop3_digest_authenticate() argument 2124 _nx_pop3_hex_ascii_convert(&md5_binary[0], NX_POP3_MAX_BINARY_MD5, result); in _nx_pop3_digest_authenticate()
|
| /NetX-Duo-v6.2.1/addons/azure_iot/ |
| D | nx_azure_iot_adu_agent.h | 494 NX_AZURE_IOT_ADU_AGENT_RESULT result; member
|
| /NetX-Duo-v6.2.1/addons/BSD/ |
| D | nxd_bsd.h | 1017 INT nx_bsd_ioctl(INT sockID, INT command, INT *result);
|
| D | nxd_bsd.c | 5533 INT nx_bsd_ioctl(INT sockID, INT command, INT *result) in nx_bsd_ioctl() argument 5585 if(result == NX_NULL) in nx_bsd_ioctl() 5602 status = nx_tcp_socket_bytes_available(tcp_socket_ptr, (ULONG *)result); in nx_bsd_ioctl() 5615 *result += (INT)(bsd_socket_ptr -> nx_bsd_socket_received_byte_count); in nx_bsd_ioctl() 5622 *result = (INT)(bsd_socket_ptr -> nx_bsd_socket_received_byte_count); in nx_bsd_ioctl() 5632 if(result == NX_NULL) in nx_bsd_ioctl() 5644 if(*result == NX_FALSE) in nx_bsd_ioctl() 5669 ifreq = (struct nx_bsd_ifreq*)result; in nx_bsd_ioctl() 5697 ifreq = (struct nx_bsd_ifreq*)result; in nx_bsd_ioctl()
|
| /NetX-Duo-v6.2.1/addons/http/ |
| D | nxd_http_server.h | 624 … UINT password_length, CHAR *nonce, CHAR *method, CHAR *uri, CHAR *nc, CHAR *cnonce, CHAR *result);
|