diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-17 21:02:35 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-17 21:02:35 +0200 |
| commit | b5e063d63ecd3dbed1b68b1ea6961137d4f3f153 (patch) | |
| tree | fe2a848ab3208e9de8b362ba769535483472dbd6 /process.c | |
| parent | Update year (diff) | |
| download | libsha1-1.1.6.tar.gz libsha1-1.1.6.tar.bz2 libsha1-1.1.6.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ process_x86_sha(struct libsha1_state *restrict state, const unsigned char *restr __m128i abcd_orig, e000_orig; size_t off = 0; - abcd_orig = _mm_shuffle_epi32(_mm_loadu_si128((const __m128i *)&state->h[0]), 033 /* 0b00'01'10'11 */); + abcd_orig = _mm_shuffle_epi32(_mm_loadu_si128((const __m128i *)(const unsigned char *)&state->h[0]), 033 /* 0b00'01'10'11 */); e000_orig = _mm_set_epi32((int)state->h[4], 0, 0, 0); for (; len >= off + sizeof(state->chunk); off += sizeof(state->chunk), data = &data[sizeof(state->chunk)]) { |
