Lines Matching refs:right
361 #define ROUND(left, right, i) \ argument
363 (right) ^= F((left)); \
365 (left) = (right); \
366 (right) = tmp;
379 uint32_t left, right, tmp; in blowfish_encrypt_block() local
389 right = b32[1]; in blowfish_encrypt_block()
398 right = htonl(*(uint32_t *)(void *)&block[4]); in blowfish_encrypt_block()
404 right = ((uint32_t)block[4] << 24) in blowfish_encrypt_block()
411 ROUND(left, right, 0); in blowfish_encrypt_block()
412 ROUND(left, right, 1); in blowfish_encrypt_block()
413 ROUND(left, right, 2); in blowfish_encrypt_block()
414 ROUND(left, right, 3); in blowfish_encrypt_block()
415 ROUND(left, right, 4); in blowfish_encrypt_block()
416 ROUND(left, right, 5); in blowfish_encrypt_block()
417 ROUND(left, right, 6); in blowfish_encrypt_block()
418 ROUND(left, right, 7); in blowfish_encrypt_block()
419 ROUND(left, right, 8); in blowfish_encrypt_block()
420 ROUND(left, right, 9); in blowfish_encrypt_block()
421 ROUND(left, right, 10); in blowfish_encrypt_block()
422 ROUND(left, right, 11); in blowfish_encrypt_block()
423 ROUND(left, right, 12); in blowfish_encrypt_block()
424 ROUND(left, right, 13); in blowfish_encrypt_block()
425 ROUND(left, right, 14); in blowfish_encrypt_block()
426 ROUND(left, right, 15); in blowfish_encrypt_block()
429 left = right; in blowfish_encrypt_block()
430 right = tmp; in blowfish_encrypt_block()
431 right ^= P[16]; in blowfish_encrypt_block()
439 b32[1] = right; in blowfish_encrypt_block()
446 *(uint32_t *)(void *)&out_block[4] = htonl(right); in blowfish_encrypt_block()
452 out_block[4] = right >> 24; in blowfish_encrypt_block()
453 out_block[5] = right >> 16; in blowfish_encrypt_block()
454 out_block[6] = right >> 8; in blowfish_encrypt_block()
455 out_block[7] = right; in blowfish_encrypt_block()
474 uint32_t left, right, tmp; in blowfish_decrypt_block() local
484 right = b32[1]; in blowfish_decrypt_block()
493 right = htonl(*(uint32_t *)(void *)&block[4]); in blowfish_decrypt_block()
499 right = ((uint32_t)block[4] << 24) in blowfish_decrypt_block()
506 ROUND(left, right, 17); in blowfish_decrypt_block()
507 ROUND(left, right, 16); in blowfish_decrypt_block()
508 ROUND(left, right, 15); in blowfish_decrypt_block()
509 ROUND(left, right, 14); in blowfish_decrypt_block()
510 ROUND(left, right, 13); in blowfish_decrypt_block()
511 ROUND(left, right, 12); in blowfish_decrypt_block()
512 ROUND(left, right, 11); in blowfish_decrypt_block()
513 ROUND(left, right, 10); in blowfish_decrypt_block()
514 ROUND(left, right, 9); in blowfish_decrypt_block()
515 ROUND(left, right, 8); in blowfish_decrypt_block()
516 ROUND(left, right, 7); in blowfish_decrypt_block()
517 ROUND(left, right, 6); in blowfish_decrypt_block()
518 ROUND(left, right, 5); in blowfish_decrypt_block()
519 ROUND(left, right, 4); in blowfish_decrypt_block()
520 ROUND(left, right, 3); in blowfish_decrypt_block()
521 ROUND(left, right, 2); in blowfish_decrypt_block()
524 left = right; in blowfish_decrypt_block()
525 right = tmp; in blowfish_decrypt_block()
526 right ^= P[1]; in blowfish_decrypt_block()
534 b32[1] = right; in blowfish_decrypt_block()
541 *(uint32_t *)(void *)&out_block[4] = htonl(right); in blowfish_decrypt_block()
547 out_block[4] = right >> 24; in blowfish_decrypt_block()
548 out_block[5] = right >> 16; in blowfish_decrypt_block()
549 out_block[6] = right >> 8; in blowfish_decrypt_block()
550 out_block[7] = right; in blowfish_decrypt_block()