Lines Matching refs:x2
449 seed_word x1, x2, x3, x4; in SEED_set_key() local
453 char2word(rawkey + 4, x2); in SEED_set_key()
458 t1 = (x2 - x4 + KC0) & 0xffffffff; in SEED_set_key()
460 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC1); in SEED_set_key()
464 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC2); in SEED_set_key()
466 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC3); in SEED_set_key()
468 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC4); in SEED_set_key()
470 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC5); in SEED_set_key()
472 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC6); in SEED_set_key()
474 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC7); in SEED_set_key()
476 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC8); in SEED_set_key()
478 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC9); in SEED_set_key()
480 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC10); in SEED_set_key()
482 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC11); in SEED_set_key()
484 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC12); in SEED_set_key()
486 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC13); in SEED_set_key()
488 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC14); in SEED_set_key()
490 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC15); in SEED_set_key()
496 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC[i]); in SEED_set_key()
498 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC[i + 1]); in SEED_set_key()
509 seed_word x1, x2, x3, x4; in SEED_encrypt() local
513 char2word(s + 4, x2); in SEED_encrypt()
518 E_SEED(t0, t1, x1, x2, x3, x4, 0); in SEED_encrypt()
519 E_SEED(t0, t1, x3, x4, x1, x2, 2); in SEED_encrypt()
520 E_SEED(t0, t1, x1, x2, x3, x4, 4); in SEED_encrypt()
521 E_SEED(t0, t1, x3, x4, x1, x2, 6); in SEED_encrypt()
522 E_SEED(t0, t1, x1, x2, x3, x4, 8); in SEED_encrypt()
523 E_SEED(t0, t1, x3, x4, x1, x2, 10); in SEED_encrypt()
524 E_SEED(t0, t1, x1, x2, x3, x4, 12); in SEED_encrypt()
525 E_SEED(t0, t1, x3, x4, x1, x2, 14); in SEED_encrypt()
526 E_SEED(t0, t1, x1, x2, x3, x4, 16); in SEED_encrypt()
527 E_SEED(t0, t1, x3, x4, x1, x2, 18); in SEED_encrypt()
528 E_SEED(t0, t1, x1, x2, x3, x4, 20); in SEED_encrypt()
529 E_SEED(t0, t1, x3, x4, x1, x2, 22); in SEED_encrypt()
530 E_SEED(t0, t1, x1, x2, x3, x4, 24); in SEED_encrypt()
531 E_SEED(t0, t1, x3, x4, x1, x2, 26); in SEED_encrypt()
532 E_SEED(t0, t1, x1, x2, x3, x4, 28); in SEED_encrypt()
533 E_SEED(t0, t1, x3, x4, x1, x2, 30); in SEED_encrypt()
538 E_SEED(t0, t1, x1, x2, x3, x4, i); in SEED_encrypt()
539 E_SEED(t0, t1, x3, x4, x1, x2, i + 2); in SEED_encrypt()
547 word2char(x2, d + 12); in SEED_encrypt()
554 seed_word x1, x2, x3, x4; in SEED_decrypt() local
558 char2word(s + 4, x2); in SEED_decrypt()
563 E_SEED(t0, t1, x1, x2, x3, x4, 30); in SEED_decrypt()
564 E_SEED(t0, t1, x3, x4, x1, x2, 28); in SEED_decrypt()
565 E_SEED(t0, t1, x1, x2, x3, x4, 26); in SEED_decrypt()
566 E_SEED(t0, t1, x3, x4, x1, x2, 24); in SEED_decrypt()
567 E_SEED(t0, t1, x1, x2, x3, x4, 22); in SEED_decrypt()
568 E_SEED(t0, t1, x3, x4, x1, x2, 20); in SEED_decrypt()
569 E_SEED(t0, t1, x1, x2, x3, x4, 18); in SEED_decrypt()
570 E_SEED(t0, t1, x3, x4, x1, x2, 16); in SEED_decrypt()
571 E_SEED(t0, t1, x1, x2, x3, x4, 14); in SEED_decrypt()
572 E_SEED(t0, t1, x3, x4, x1, x2, 12); in SEED_decrypt()
573 E_SEED(t0, t1, x1, x2, x3, x4, 10); in SEED_decrypt()
574 E_SEED(t0, t1, x3, x4, x1, x2, 8); in SEED_decrypt()
575 E_SEED(t0, t1, x1, x2, x3, x4, 6); in SEED_decrypt()
576 E_SEED(t0, t1, x3, x4, x1, x2, 4); in SEED_decrypt()
577 E_SEED(t0, t1, x1, x2, x3, x4, 2); in SEED_decrypt()
578 E_SEED(t0, t1, x3, x4, x1, x2, 0); in SEED_decrypt()
583 E_SEED(t0, t1, x1, x2, x3, x4, i); in SEED_decrypt()
584 E_SEED(t0, t1, x3, x4, x1, x2, i - 2); in SEED_decrypt()
593 word2char(x2, d + 12); in SEED_decrypt()