Lines Matching refs:data
868 struct streebog_uint512 *data) in streebog_xlps() argument
883 data->qword[i] = cpu_to_le64(Ax[0][r0 & 0xFF]); in streebog_xlps()
884 data->qword[i] ^= cpu_to_le64(Ax[1][r1 & 0xFF]); in streebog_xlps()
885 data->qword[i] ^= cpu_to_le64(Ax[2][r2 & 0xFF]); in streebog_xlps()
886 data->qword[i] ^= cpu_to_le64(Ax[3][r3 & 0xFF]); in streebog_xlps()
887 data->qword[i] ^= cpu_to_le64(Ax[4][r4 & 0xFF]); in streebog_xlps()
888 data->qword[i] ^= cpu_to_le64(Ax[5][r5 & 0xFF]); in streebog_xlps()
889 data->qword[i] ^= cpu_to_le64(Ax[6][r6 & 0xFF]); in streebog_xlps()
890 data->qword[i] ^= cpu_to_le64(Ax[7][r7 & 0xFF]); in streebog_xlps()
903 struct streebog_uint512 *data) in streebog_round() argument
906 streebog_xlps(Ki, data, data); in streebog_round()
945 struct streebog_uint512 Ki, data; in streebog_g() local
948 streebog_xlps(h, N, &data); in streebog_g()
951 Ki = data; in streebog_g()
952 streebog_xlps(&Ki, m, &data); in streebog_g()
955 streebog_round(i, &Ki, &data); in streebog_g()
958 streebog_xor(&Ki, &data, &data); in streebog_g()
961 streebog_xor(&data, h, &data); in streebog_g()
962 streebog_xor(&data, m, h); in streebog_g()
965 static void streebog_stage2(struct streebog_state *ctx, const u8 *data) in streebog_stage2() argument
969 memcpy(&m, data, sizeof(m)); in streebog_stage2()
999 static int streebog_update(struct shash_desc *desc, const u8 *data, in streebog_update() argument
1005 streebog_stage2(ctx, data); in streebog_update()
1006 data += STREEBOG_BLOCK_SIZE; in streebog_update()