summaryrefslogtreecommitdiff
path: root/src/gf_w16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gf_w16.c')
-rw-r--r--src/gf_w16.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gf_w16.c b/src/gf_w16.c
index ce47849..4e026b2 100644
--- a/src/gf_w16.c
+++ b/src/gf_w16.c
@@ -1218,7 +1218,7 @@ int gf_w16_split_init(gf_t *gf)
struct gf_w16_split_8_8_data *d8;
int i, j, exp, issse3;
int isneon = 0;
- uint32_t p, basep;
+ uint32_t p, basep, tmp;
h = (gf_internal_t *) gf->scratch;
@@ -1253,7 +1253,8 @@ int gf_w16_split_init(gf_t *gf)
if (j&1) {
d8->tables[exp][i][j] = d8->tables[exp][i][j^1] ^ p;
} else {
- d8->tables[exp][i][j] = GF_MULTBY_TWO(d8->tables[exp][i][j>>1]);
+ tmp = d8->tables[exp][i][j>>1];
+ d8->tables[exp][i][j] = GF_MULTBY_TWO(tmp);
}
}
}