Lines Matching refs:T0
80 my ($T0, $T1, $T2, $T3) = ("t0", "t1", "t2", "t3");
416 @{[vsetvli $T0, "zero", "e32", "m1", "ta", "ma"]}
428 bltu $T1, $T0, 1b
444 li $T0, 0b10001000
445 @{[vmv_v_x $CTR_MASK, $T0]}
468 addi $T0, $FULL_BLOCK_LEN32, -1
469 and $T0, $T0, $LEN32
470 beqz $T0, 1f
473 sub $LEN32, $LEN32, $T0
474 sub $PADDING_LEN32, $FULL_BLOCK_LEN32, $T0
500 addi $T0, $PADDING_LEN32, -1
501 @{[vmsgtu_vx $INPUT_PADDING_MASK, $V2, $T0]}
510 sub $T0, $XIP, $T2
514 @{[vle32_v $V20, $T0, $INPUT_PADDING_MASK]}
614 srli $T0, $LEN, 4
615 beqz $T0, .Lenc_end
616 slli $LEN32, $T0, 2
623 lwu $T0, 240($KEYP)
628 beq $T0, $T1, aes_gcm_enc_blocks_256
629 beq $T0, $T2, aes_gcm_enc_blocks_192
630 beq $T0, $T3, aes_gcm_enc_blocks_128
643 slli $T0, $FULL_BLOCK_LEN32, 2
645 @{[aes_128_first_round $T0, $T1]}
658 @{[prepare_input_and_ctr $T0]}
667 add $OUTP, $OUTP, $T0
692 slli $T0, $FULL_BLOCK_LEN32, 2
694 @{[aes_192_first_round $T0, $T1]}
707 @{[prepare_input_and_ctr $T0]}
716 add $OUTP, $OUTP, $T0
741 slli $T0, $FULL_BLOCK_LEN32, 2
743 @{[aes_256_first_round $T0, $T1]}
756 @{[prepare_input_and_ctr $T0]}
765 add $OUTP, $OUTP, $T0
799 srli $T0, $LEN, 4
800 beqz $T0, .Ldec_end
801 slli $LEN32, $T0, 2
808 lwu $T0, 240($KEYP)
813 beq $T0, $T1, aes_gcm_dec_blocks_256
814 beq $T0, $T2, aes_gcm_dec_blocks_192
815 beq $T0, $T3, aes_gcm_dec_blocks_128
827 slli $T0, $FULL_BLOCK_LEN32, 2
829 @{[aes_128_first_round $T0, $T1]}
842 @{[prepare_input_and_ctr $T0]}
851 add $OUTP, $OUTP, $T0
876 slli $T0, $FULL_BLOCK_LEN32, 2
878 @{[aes_192_first_round $T0, $T1]}
891 @{[prepare_input_and_ctr $T0]}
900 add $OUTP, $OUTP, $T0
925 slli $T0, $FULL_BLOCK_LEN32, 2
927 @{[aes_256_first_round $T0, $T1]}
940 @{[prepare_input_and_ctr $T0]}
949 add $OUTP, $OUTP, $T0