Lines Matching defs:data
867 struct streebog_uint512 *data)
882 data->qword[i] = cpu_to_le64(Ax[0][r0 & 0xFF]);
883 data->qword[i] ^= cpu_to_le64(Ax[1][r1 & 0xFF]);
884 data->qword[i] ^= cpu_to_le64(Ax[2][r2 & 0xFF]);
885 data->qword[i] ^= cpu_to_le64(Ax[3][r3 & 0xFF]);
886 data->qword[i] ^= cpu_to_le64(Ax[4][r4 & 0xFF]);
887 data->qword[i] ^= cpu_to_le64(Ax[5][r5 & 0xFF]);
888 data->qword[i] ^= cpu_to_le64(Ax[6][r6 & 0xFF]);
889 data->qword[i] ^= cpu_to_le64(Ax[7][r7 & 0xFF]);
902 struct streebog_uint512 *data)
905 streebog_xlps(Ki, data, data);
955 struct streebog_uint512 Ki, data;
958 streebog_xlps(h, N, &data);
961 Ki = data;
962 streebog_xlps(&Ki, m, &data);
965 streebog_round(i, &Ki, &data);
968 streebog_xor(&Ki, &data, &data);
971 streebog_xor(&data, h, &data);
972 streebog_xor(&data, m, h);
975 static void streebog_stage2(struct streebog_state *ctx, const u8 *data)
979 memcpy(&m, data, sizeof(m));
1002 static int streebog_update(struct shash_desc *desc, const u8 *data,
1012 memcpy(&ctx->buffer[ctx->fillsize], data, chunksize);
1015 data += chunksize;
1024 streebog_stage2(ctx, data);
1025 data += STREEBOG_BLOCK_SIZE;
1030 memcpy(&ctx->buffer, data, len);