Lines Matching refs:data
867 struct streebog_uint512 *data) in streebog_xlps() argument
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()
902 struct streebog_uint512 *data) in streebog_round() argument
905 streebog_xlps(Ki, data, data); in streebog_round()
955 struct streebog_uint512 Ki, data; in streebog_g() local
958 streebog_xlps(h, N, &data); in streebog_g()
961 Ki = data; in streebog_g()
962 streebog_xlps(&Ki, m, &data); in streebog_g()
965 streebog_round(i, &Ki, &data); in streebog_g()
968 streebog_xor(&Ki, &data, &data); in streebog_g()
971 streebog_xor(&data, h, &data); in streebog_g()
972 streebog_xor(&data, m, h); in streebog_g()
975 static void streebog_stage2(struct streebog_state *ctx, const u8 *data) in streebog_stage2() argument
979 memcpy(&m, data, sizeof(m)); in streebog_stage2()
1002 static int streebog_update(struct shash_desc *desc, const u8 *data, in streebog_update() argument
1012 memcpy(&ctx->buffer[ctx->fillsize], data, chunksize); in streebog_update()
1015 data += chunksize; in streebog_update()
1024 streebog_stage2(ctx, data); in streebog_update()
1025 data += STREEBOG_BLOCK_SIZE; in streebog_update()
1030 memcpy(&ctx->buffer, data, len); in streebog_update()