Searched refs:left (Results 1 – 7 of 7) sorted by relevance
| /NetX-Duo-v6.2.1/addons/snmp/ |
| D | nx_des.c | 205 ULONG left, right, temp; in _nx_des_key_set() local 216 …left = (((ULONG) key[0]) << 24) | (((ULONG) key[1]) << 16) | (((ULONG) key[2]) << 8) | ((ULONG) k… in _nx_des_key_set() 220 temp = ((right >> 4) ^ left) & 0x0F0F0F0FUL; in _nx_des_key_set() 221 left = left ^ temp; in _nx_des_key_set() 223 temp = (right ^ left) & 0x10101010; in _nx_des_key_set() 224 left = left ^ temp; in _nx_des_key_set() 227 … left = (left_half_bit_swap[(left) & 0xf] << 3) | (left_half_bit_swap[(left >> 8) & 0xf] << 2) | in _nx_des_key_set() 228 … (left_half_bit_swap[(left >> 16) & 0xf] << 1) | (left_half_bit_swap[(left >> 24) & 0xf]) | in _nx_des_key_set() 229 … (left_half_bit_swap[(left >> 5) & 0xf] << 7) | (left_half_bit_swap[(left >> 13) & 0xf] << 6) | in _nx_des_key_set() 230 … (left_half_bit_swap[(left >> 21) & 0xf] << 5) | (left_half_bit_swap[(left >> 29) & 0xf] << 4); in _nx_des_key_set() [all …]
|
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_des.c | 202 ULONG left, right, temp; in _nx_crypto_des_key_set() local 215 …left = (((ULONG)key[0]) << 24) | (((ULONG)key[1]) << 16) | (((ULONG)key[2]) << 8) | ((ULONG)key[3… in _nx_crypto_des_key_set() 219 temp = ((right >> 4) ^ left) & 0x0F0F0F0FUL; in _nx_crypto_des_key_set() 220 left = left ^ temp; in _nx_crypto_des_key_set() 222 temp = (right ^ left) & 0x10101010; in _nx_crypto_des_key_set() 223 left = left ^ temp; in _nx_crypto_des_key_set() 226 left = (left_half_bit_swap[(left) & 0xf] << 3) | (left_half_bit_swap[(left >> 8) & 0xf] << 2) | in _nx_crypto_des_key_set() 227 … (left_half_bit_swap[(left >> 16) & 0xf] << 1) | (left_half_bit_swap[(left >> 24) & 0xf]) | in _nx_crypto_des_key_set() 228 … (left_half_bit_swap[(left >> 5) & 0xf] << 7) | (left_half_bit_swap[(left >> 13) & 0xf] << 6) | in _nx_crypto_des_key_set() 229 … (left_half_bit_swap[(left >> 21) & 0xf] << 5) | (left_half_bit_swap[(left >> 29) & 0xf] << 4); in _nx_crypto_des_key_set() [all …]
|
| D | nx_crypto_huge_number.c | 171 NX_CRYPTO_KEEP VOID _nx_crypto_huge_number_add(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUMBER *… in _nx_crypto_huge_number_add() argument 175 cmp = _nx_crypto_huge_number_compare_unsigned(left, right); in _nx_crypto_huge_number_add() 177 if (left -> nx_crypto_huge_number_is_negative == right -> nx_crypto_huge_number_is_negative) in _nx_crypto_huge_number_add() 179 _nx_crypto_huge_number_add_unsigned(left, right); in _nx_crypto_huge_number_add() 186 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(left, 0); in _nx_crypto_huge_number_add() 190 _nx_crypto_huge_number_subtract_unsigned(right, left, left); in _nx_crypto_huge_number_add() 191 left -> nx_crypto_huge_number_is_negative = right -> nx_crypto_huge_number_is_negative; in _nx_crypto_huge_number_add() 195 _nx_crypto_huge_number_subtract_unsigned(left, right, left); in _nx_crypto_huge_number_add() 269 NX_CRYPTO_KEEP VOID _nx_crypto_huge_number_subtract(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUM… in _nx_crypto_huge_number_subtract() argument 273 cmp = _nx_crypto_huge_number_compare_unsigned(left, right); in _nx_crypto_huge_number_subtract() [all …]
|
| D | nx_crypto_ec.c | 2107 NX_CRYPTO_HUGE_NUMBER *left, in _nx_crypto_ec_add_reduce() argument 2113 _nx_crypto_huge_number_add_unsigned(left, right); in _nx_crypto_ec_add_reduce() 2114 if (_nx_crypto_huge_number_compare_unsigned(left, in _nx_crypto_ec_add_reduce() 2117 _nx_crypto_huge_number_subtract_unsigned(left, &curve -> nx_crypto_ec_field.fp, left); in _nx_crypto_ec_add_reduce() 2181 NX_CRYPTO_HUGE_NUMBER *left, in _nx_crypto_ec_subtract_reduce() argument 2187 if (_nx_crypto_huge_number_compare_unsigned(left, right) == NX_CRYPTO_HUGE_NUMBER_LESS) in _nx_crypto_ec_subtract_reduce() 2189 _nx_crypto_huge_number_add_unsigned(left, &curve -> nx_crypto_ec_field.fp); in _nx_crypto_ec_subtract_reduce() 2191 _nx_crypto_huge_number_subtract_unsigned(left, right, left); in _nx_crypto_ec_subtract_reduce() 2541 NX_CRYPTO_EC_POINT *left, in _nx_crypto_ec_fp_affine_add() argument 2549 if (_nx_crypto_ec_point_is_infinite(left)) in _nx_crypto_ec_fp_affine_add() [all …]
|
| /NetX-Duo-v6.2.1/crypto_libraries/inc/ |
| D | nx_crypto_huge_number.h | 174 UINT _nx_crypto_huge_number_compare(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUMBER *right); 175 UINT _nx_crypto_huge_number_compare_unsigned(NX_CRYPTO_HUGE_NUMBER *left, 178 VOID _nx_crypto_huge_number_add(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUMBER *right); 179 VOID _nx_crypto_huge_number_add_unsigned(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUMBER *right); 180 VOID _nx_crypto_huge_number_subtract(NX_CRYPTO_HUGE_NUMBER *left, NX_CRYPTO_HUGE_NUMBER *right); 181 VOID _nx_crypto_huge_number_subtract_unsigned(NX_CRYPTO_HUGE_NUMBER *left, 188 VOID _nx_crypto_huge_number_multiply(NX_CRYPTO_HUGE_NUMBER *left,
|
| D | nx_crypto_ec.h | 140 NX_CRYPTO_EC_POINT *left, 144 NX_CRYPTO_EC_POINT *left, 180 #define NX_CRYPTO_EC_MULTIPLE_REDUCE(curve, left, right, result, scratch) \ argument 181 _nx_crypto_huge_number_multiply(left, right, result); \ 524 NX_CRYPTO_EC_POINT *left, 528 NX_CRYPTO_EC_POINT *left, 551 NX_CRYPTO_HUGE_NUMBER *left, 555 NX_CRYPTO_HUGE_NUMBER *left,
|
| /NetX-Duo-v6.2.1/tsn/src/ |
| D | nx_shaper.c | 1148 UINT left = 0, right; in nx_shaper_tas_parameter_set() local 1271 right = left + tas_parameter.gcl[i].duration; in nx_shaper_tas_parameter_set() 1274 …if ((right <= tas_config -> traffic[j].time_offset) || (left >= tas_config -> traffic[j].time_offs… in nx_shaper_tas_parameter_set() 1321 left = right; in nx_shaper_tas_parameter_set()
|