Lines Matching refs:rc
515 uint_8t cc, rc, hi; local
537 for ( cc = keylen, rc = 1; cc < hi; cc += 4 ) {
546 t0 = s_box(t1) ^ rc;
550 rc = f2(rc);
677 static void update_encrypt_key_128( uint_8t k[N_BLOCK], uint_8t *rc ) argument
681 k[0] ^= s_box(k[13]) ^ *rc;
685 *rc = f2( *rc );
700 uint_8t s1[N_BLOCK], r, rc = 1; local
711 update_encrypt_key_128( o_key, &rc );
718 update_encrypt_key_128( o_key, &rc );
724 update_encrypt_key_128( o_key, &rc );
734 static void update_decrypt_key_128( uint_8t k[N_BLOCK], uint_8t *rc ) argument
744 *rc = d2(*rc);
745 k[0] ^= s_box(k[13]) ^ *rc;
756 uint_8t s1[N_BLOCK], r, rc = 0x6c; local
767 update_decrypt_key_128( o_key, &rc );
774 update_decrypt_key_128( o_key, &rc );
779 update_decrypt_key_128( o_key, &rc );
789 static void update_encrypt_key_256( uint_8t k[2 * N_BLOCK], uint_8t *rc ) argument
793 k[0] ^= s_box(k[29]) ^ *rc;
797 *rc = f2( *rc );
824 uint_8t s1[N_BLOCK], r, rc = 1; local
838 update_encrypt_key_256( o_key, &rc );
849 update_encrypt_key_256( o_key, &rc );
856 update_encrypt_key_256( o_key, &rc );
866 static void update_decrypt_key_256( uint_8t k[2 * N_BLOCK], uint_8t *rc ) argument
889 *rc = d2(*rc);
890 k[0] ^= s_box(k[29]) ^ *rc;
902 uint_8t s1[N_BLOCK], r, rc = 0x80; local
916 update_decrypt_key_256( o_key, &rc );
927 update_decrypt_key_256( o_key, &rc );