Lines Matching refs:s1

548     uint_8t s1[N_BLOCK], r;  local
549 copy_and_key(s1, in, ctx->ksch);
554 mix_sub_columns(s1);
555 add_round_key(s1, ctx->ksch + r * N_BLOCK);
560 mix_sub_columns(s2, s1);
561 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK);
564 shift_sub_rows(s1);
565 copy_and_key(out, s1, ctx->ksch + r * N_BLOCK);
593 uint_8t s1[N_BLOCK], r; local
594 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);
595 inv_shift_sub_rows(s1);
600 add_round_key(s1, ctx->ksch + r * N_BLOCK);
601 inv_mix_sub_columns(s1);
606 copy_and_key(s2, s1, ctx->ksch + r * N_BLOCK);
607 inv_mix_sub_columns(s1, s2);
610 copy_and_key(out, s1, ctx->ksch);
663 uint_8t s1[N_BLOCK], r, rc = 1; local
666 copy_and_key(s1, in, o_key);
671 mix_sub_columns(s1);
673 add_round_key(s1, o_key);
678 mix_sub_columns(s2, s1);
680 copy_and_key(s1, s2, o_key);
684 shift_sub_rows(s1);
686 copy_and_key(out, s1, o_key);
718 uint_8t s1[N_BLOCK], r, rc = 0x6c; local
721 copy_and_key(s1, in, o_key);
722 inv_shift_sub_rows(s1);
728 add_round_key(s1, o_key);
729 inv_mix_sub_columns(s1);
735 copy_and_key(s2, s1, o_key);
736 inv_mix_sub_columns(s1, s2);
740 copy_and_key(out, s1, o_key);
785 uint_8t s1[N_BLOCK], r, rc = 1; local
790 copy_and_key(s1, in, o_key);
795 mix_sub_columns(s1);
797 add_round_key(s1, o_key + 16);
800 add_round_key(s1, o_key);
806 mix_sub_columns(s2, s1);
808 copy_and_key(s1, s2, o_key + 16);
811 copy_and_key(s1, s2, o_key);
816 shift_sub_rows(s1);
818 copy_and_key(out, s1, o_key);
864 uint_8t s1[N_BLOCK], r, rc = 0x80; local
871 copy_and_key(s1, in, o_key);
872 inv_shift_sub_rows(s1);
879 add_round_key(s1, o_key + 16);
881 add_round_key(s1, o_key);
882 inv_mix_sub_columns(s1);
889 copy_and_key(s2, s1, o_key + 16);
891 copy_and_key(s2, s1, o_key);
892 inv_mix_sub_columns(s1, s2);
895 copy_and_key(out, s1, o_key);