summaryrefslogtreecommitdiff
path: root/src/sole.c
diff options
context:
space:
mode:
authorThomas Jespersen <laumann.thomas@gmail.com>2014-11-05 20:37:55 +0100
committerThomas Jespersen <laumann.thomas@gmail.com>2014-11-05 20:37:55 +0100
commit75dc685431b9403725ee0ee5c387b1094ecec417 (patch)
tree1533a1eb43cccb9e940c4861c8886bacb89847bc /src/sole.c
parentd6303c564e708f614d403405e0ff71c6be3631bc (diff)
Reduce addition and copy to directly output addition in rop
Diffstat (limited to 'src/sole.c')
-rw-r--r--src/sole.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sole.c b/src/sole.c
index 8c2b6a0..49e6745 100644
--- a/src/sole.c
+++ b/src/sole.c
@@ -158,8 +158,7 @@ void compose(blk256_t *rop, blk128_t *x, blk128_t *y)
{
blk256_t r = {0, {0, 0, 0, 0}};
blk256_set(&r, 0, x->hi, x->lo, y->hi, y->lo);
- blk256_add_blk128(&r, &r, x);
- blk256_cp(rop, &r);
+ blk256_add_blk128(rop, &r, x);
}
/**