Lines Matching refs:i
870 int i; in streebog_xlps() local
881 for (i = 0; i <= 7; i++) { in streebog_xlps()
882 data->qword[i] = cpu_to_le64(Ax[0][r0 & 0xFF]); in streebog_xlps()
883 data->qword[i] ^= cpu_to_le64(Ax[1][r1 & 0xFF]); in streebog_xlps()
884 data->qword[i] ^= cpu_to_le64(Ax[2][r2 & 0xFF]); in streebog_xlps()
885 data->qword[i] ^= cpu_to_le64(Ax[3][r3 & 0xFF]); in streebog_xlps()
886 data->qword[i] ^= cpu_to_le64(Ax[4][r4 & 0xFF]); in streebog_xlps()
887 data->qword[i] ^= cpu_to_le64(Ax[5][r5 & 0xFF]); in streebog_xlps()
888 data->qword[i] ^= cpu_to_le64(Ax[6][r6 & 0xFF]); in streebog_xlps()
889 data->qword[i] ^= cpu_to_le64(Ax[7][r7 & 0xFF]); in streebog_xlps()
901 static void streebog_round(int i, struct streebog_uint512 *Ki, in streebog_round() argument
904 streebog_xlps(Ki, &C[i], Ki); in streebog_round()
912 unsigned int i; in streebog_init() local
915 for (i = 0; i < 8; i++) { in streebog_init()
917 ctx->h.qword[i] = cpu_to_le64(0x0101010101010101ULL); in streebog_init()
938 int i; in streebog_add512() local
940 for (i = 0; i < 8; i++) { in streebog_add512()
941 const u64 left = le64_to_cpu(x->qword[i]); in streebog_add512()
944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()
947 r->qword[i] = cpu_to_le64(sum); in streebog_add512()
956 unsigned int i; in streebog_g() local
964 for (i = 0; i < 11; i++) in streebog_g()
965 streebog_round(i, &Ki, &data); in streebog_g()