Lines Matching refs:left
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()
230 left = left & 0x0fffffff; in _nx_crypto_des_key_set()
249 left = ((left << 1) | (left >> 27)) & 0x0FFFFFFFUL; in _nx_crypto_des_key_set()
255 left = ((left << 2) | (left >> 26)) & 0x0FFFFFFFUL; in _nx_crypto_des_key_set()
260 *encrypt_keys_ptr++ = ((left << 4) & 0x24000000UL) | ((left << 28) & 0x10000000UL) | in _nx_crypto_des_key_set()
261 ((left << 14) & 0x08000000UL) | ((left << 18) & 0x02080000UL) | in _nx_crypto_des_key_set()
262 ((left << 6) & 0x01000000UL) | ((left << 9) & 0x00200000UL) | in _nx_crypto_des_key_set()
263 ((left >> 1) & 0x00100000UL) | ((left << 10) & 0x00040000UL) | in _nx_crypto_des_key_set()
264 ((left << 2) & 0x00020000UL) | ((left >> 10) & 0x00010000UL) | in _nx_crypto_des_key_set()
273 *encrypt_keys_ptr++ = ((left << 15) & 0x20000000UL) | ((left << 17) & 0x10000000UL) | in _nx_crypto_des_key_set()
274 ((left << 10) & 0x08000000UL) | ((left << 22) & 0x04000000UL) | in _nx_crypto_des_key_set()
275 ((left >> 2) & 0x02000000UL) | ((left << 1) & 0x01000000UL) | in _nx_crypto_des_key_set()
276 ((left << 16) & 0x00200000UL) | ((left << 11) & 0x00100000UL) | in _nx_crypto_des_key_set()
277 ((left << 3) & 0x00080000UL) | ((left >> 6) & 0x00040000UL) | in _nx_crypto_des_key_set()
278 ((left << 15) & 0x00020000UL) | ((left >> 4) & 0x00010000UL) | in _nx_crypto_des_key_set()
305 left = 0; right = 0; temp = 0; in _nx_crypto_des_key_set()
485 ULONG left, right, temp; in _nx_crypto_des_process_block() local
491 …left = (((ULONG)source[0]) << 24) | (((ULONG)source[1]) << 16) | (((ULONG)source[2]) << 8) | ((UL… in _nx_crypto_des_process_block()
495 temp = ((left >> 4) ^ right) & 0x0F0F0F0FUL; in _nx_crypto_des_process_block()
497 left = left ^ (temp << 4); in _nx_crypto_des_process_block()
498 temp = ((left >> 16) ^ right) & 0x0000FFFFUL; in _nx_crypto_des_process_block()
500 left = left ^ (temp << 16); in _nx_crypto_des_process_block()
501 temp = ((right >> 2) ^ left) & 0x33333333UL; in _nx_crypto_des_process_block()
502 left = left ^ temp; in _nx_crypto_des_process_block()
504 temp = ((right >> 8) ^ left) & 0x00FF00FFUL; in _nx_crypto_des_process_block()
505 left = left ^ temp; in _nx_crypto_des_process_block()
508 temp = (left ^ right) & 0xAAAAAAAAUL; in _nx_crypto_des_process_block()
510 left = left ^ temp; in _nx_crypto_des_process_block()
511 left = ((left << 1) | (left >> 31)) & 0xFFFFFFFFUL; in _nx_crypto_des_process_block()
523 …left = left ^ sb8[temp & 0x3F] ^ sb6[(temp >> 8) & 0x3F] ^ sb4[(temp >> 16) & 0x3F] ^ sb2[(temp >… in _nx_crypto_des_process_block()
526 …left = left ^ sb7[temp & 0x3F] ^ sb5[(temp >> 8) & 0x3F] ^ sb3[(temp >> 16) & 0x3F] ^ sb1[(temp >… in _nx_crypto_des_process_block()
529 temp = *key_ptr++ ^ left; in _nx_crypto_des_process_block()
532 temp = *key_ptr++ ^ ((left << 28) | (left >> 4)); in _nx_crypto_des_process_block()
538 temp = (right ^ left) & 0xAAAAAAAAUL; in _nx_crypto_des_process_block()
540 left = left ^ temp; in _nx_crypto_des_process_block()
541 left = ((left << 31) | (left >> 1)) & 0xFFFFFFFFUL; in _nx_crypto_des_process_block()
542 temp = ((left >> 8) ^ right) & 0x00FF00FFUL; in _nx_crypto_des_process_block()
544 left = left ^ (temp << 8); in _nx_crypto_des_process_block()
545 temp = ((left >> 2) ^ right) & 0x33333333UL; in _nx_crypto_des_process_block()
547 left = left ^ (temp << 2); in _nx_crypto_des_process_block()
548 temp = ((right >> 16) ^ left) & 0x0000FFFFUL; in _nx_crypto_des_process_block()
549 left = left ^ temp; in _nx_crypto_des_process_block()
551 temp = ((right >> 4) ^ left) & 0x0F0F0F0FUL; in _nx_crypto_des_process_block()
552 left = left ^ temp; in _nx_crypto_des_process_block()
560 destination[4] = (UCHAR)(left >> 24); in _nx_crypto_des_process_block()
561 destination[5] = (UCHAR)(left >> 16); in _nx_crypto_des_process_block()
562 destination[6] = (UCHAR)(left >> 8); in _nx_crypto_des_process_block()
563 destination[7] = (UCHAR)(left); in _nx_crypto_des_process_block()
566 left = 0; right = 0; temp = 0; in _nx_crypto_des_process_block()