Lines Matching refs:rc
489 uint_8t cc, rc, hi; local
511 for (cc = keylen, rc = 1; cc < hi; cc += 4) {
520 t0 = s_box(t1) ^ rc;
524 rc = f2(rc);
639 static void update_encrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) { argument
642 k[0] ^= s_box(k[13]) ^ *rc;
646 *rc = f2(*rc);
663 uint_8t s1[N_BLOCK], r, rc = 1; local
672 update_encrypt_key_128(o_key, &rc);
679 update_encrypt_key_128(o_key, &rc);
685 update_encrypt_key_128(o_key, &rc);
695 static void update_decrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) { argument
704 *rc = d2(*rc);
705 k[0] ^= s_box(k[13]) ^ *rc;
718 uint_8t s1[N_BLOCK], r, rc = 0x6c; local
727 update_decrypt_key_128(o_key, &rc);
734 update_decrypt_key_128(o_key, &rc);
739 update_decrypt_key_128(o_key, &rc);
749 static void update_encrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) { argument
752 k[0] ^= s_box(k[29]) ^ *rc;
756 *rc = f2(*rc);
785 uint_8t s1[N_BLOCK], r, rc = 1; local
799 update_encrypt_key_256(o_key, &rc);
810 update_encrypt_key_256(o_key, &rc);
817 update_encrypt_key_256(o_key, &rc);
827 static void update_decrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) { argument
849 *rc = d2(*rc);
850 k[0] ^= s_box(k[29]) ^ *rc;
864 uint_8t s1[N_BLOCK], r, rc = 0x80; local
878 update_decrypt_key_256(o_key, &rc);
888 update_decrypt_key_256(o_key, &rc);