aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas32_2e416m2e208m1_18limbs
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-13 02:11:27 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-11-13 02:11:27 -0500
commitc9f51b5a7cbc46ac8c104bbb2c09a974e9ec72a3 (patch)
tree98227ca8130e922d4bacd9edf7b9ff0513bb72de /src/Specific/solinas32_2e416m2e208m1_18limbs
parent5d8503a2c300b586efccdf42d7dd6e78c2b240fc (diff)
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas32_2e416m2e208m1_18limbs')
-rw-r--r--src/Specific/solinas32_2e416m2e208m1_18limbs/fesub.c2
-rw-r--r--src/Specific/solinas32_2e416m2e208m1_18limbs/fesubDisplay.log2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Specific/solinas32_2e416m2e208m1_18limbs/fesub.c b/src/Specific/solinas32_2e416m2e208m1_18limbs/fesub.c
index 06c838baf..032a19381 100644
--- a/src/Specific/solinas32_2e416m2e208m1_18limbs/fesub.c
+++ b/src/Specific/solinas32_2e416m2e208m1_18limbs/fesub.c
@@ -44,7 +44,7 @@ static void fesub(uint32_t out[18], const uint32_t in1[18], const uint32_t in2[1
out[6] = ((0xfffffe + x17) - x51);
out[7] = ((0xfffffe + x19) - x53);
out[8] = ((0xfffffe + x21) - x55);
- out[9] = ((Const 33554428 + x23) - x57);
+ out[9] = ((0x1fffffc + x23) - x57);
out[10] = ((0xfffffe + x25) - x59);
out[11] = ((0xfffffe + x27) - x61);
out[12] = ((0xfffffe + x29) - x63);
diff --git a/src/Specific/solinas32_2e416m2e208m1_18limbs/fesubDisplay.log b/src/Specific/solinas32_2e416m2e208m1_18limbs/fesubDisplay.log
index 53315a232..9374ad1ca 100644
--- a/src/Specific/solinas32_2e416m2e208m1_18limbs/fesubDisplay.log
+++ b/src/Specific/solinas32_2e416m2e208m1_18limbs/fesubDisplay.log
@@ -2,6 +2,6 @@
Interp-η
(λ var : Syntax.base_type → Type,
λ '(x36, x37, x35, x33, x31, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x70, x71, x69, x67, x65, x63, x61, x59, x57, x55, x53, x51, x49, x47, x45, x43, x41, x39))%core,
- (((0xfffffe + x36) - x70), ((0xfffffe + x37) - x71), ((0xfffffe + x35) - x69), ((0xfffffe + x33) - x67), ((0xfffffe + x31) - x65), ((0xfffffe + x29) - x63), ((0xfffffe + x27) - x61), ((0xfffffe + x25) - x59), ((Const 33554428 + x23) - x57), ((0xfffffe + x21) - x55), ((0xfffffe + x19) - x53), ((0xfffffe + x17) - x51), ((0xfffffe + x15) - x49), ((0xfffffe + x13) - x47), ((0xfffffe + x11) - x45), ((0xfffffe + x9) - x43), ((0xfffffe + x7) - x41), ((0x1fffffe + x5) - x39)))
+ (((0xfffffe + x36) - x70), ((0xfffffe + x37) - x71), ((0xfffffe + x35) - x69), ((0xfffffe + x33) - x67), ((0xfffffe + x31) - x65), ((0xfffffe + x29) - x63), ((0xfffffe + x27) - x61), ((0xfffffe + x25) - x59), ((0x1fffffc + x23) - x57), ((0xfffffe + x21) - x55), ((0xfffffe + x19) - x53), ((0xfffffe + x17) - x51), ((0xfffffe + x15) - x49), ((0xfffffe + x13) - x47), ((0xfffffe + x11) - x45), ((0xfffffe + x9) - x43), ((0xfffffe + x7) - x41), ((0x1fffffe + x5) - x39)))
(x, x0)%core
: word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → ReturnType (uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t)