diff options
author | Jason Gross <jgross@mit.edu> | 2017-11-12 21:04:21 -0500 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-11-12 21:04:21 -0500 |
commit | 87f39543ffd547772d6f31d313ae64be50fe3515 (patch) | |
tree | 6be2757afc450cd4586b30aa31045f441e019eca /src/Specific/solinas64_2e174m17_4limbs | |
parent | c3279e03ecac28252d8b3aaed9af876bf8e8e55f (diff) |
Update display logs and c files
Diffstat (limited to 'src/Specific/solinas64_2e174m17_4limbs')
-rw-r--r-- | src/Specific/solinas64_2e174m17_4limbs/fesub.c | 4 | ||||
-rw-r--r-- | src/Specific/solinas64_2e174m17_4limbs/fesubDisplay.log | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Specific/solinas64_2e174m17_4limbs/fesub.c b/src/Specific/solinas64_2e174m17_4limbs/fesub.c index ed0213eb5..901f8fd88 100644 --- a/src/Specific/solinas64_2e174m17_4limbs/fesub.c +++ b/src/Specific/solinas64_2e174m17_4limbs/fesub.c @@ -7,9 +7,9 @@ static void fesub(uint64_t out[4], const uint64_t in1[4], const uint64_t in2[4]) { const uint64_t x15 = in2[2]; { const uint64_t x13 = in2[1]; { const uint64_t x11 = in2[0]; - out[0] = ((Const 35184372088798 + x5) - x11); + out[0] = ((0x1fffffffffde + x5) - x11); out[1] = ((0xffffffffffe + x7) - x13); - out[2] = ((Const 35184372088830 + x9) - x15); + out[2] = ((0x1ffffffffffe + x9) - x15); out[3] = ((0xffffffffffe + x8) - x14); }}}}}}}} } diff --git a/src/Specific/solinas64_2e174m17_4limbs/fesubDisplay.log b/src/Specific/solinas64_2e174m17_4limbs/fesubDisplay.log index 60202bd7b..e0d979a9d 100644 --- a/src/Specific/solinas64_2e174m17_4limbs/fesubDisplay.log +++ b/src/Specific/solinas64_2e174m17_4limbs/fesubDisplay.log @@ -2,6 +2,6 @@ Interp-η (λ var : Syntax.base_type → Type, λ '(x8, x9, x7, x5, (x14, x15, x13, x11))%core, - (((0xffffffffffe + x8) - x14), ((Const 35184372088830 + x9) - x15), ((0xffffffffffe + x7) - x13), ((Const 35184372088798 + x5) - x11))) + (((0xffffffffffe + x8) - x14), ((0x1ffffffffffe + x9) - x15), ((0xffffffffffe + x7) - x13), ((0x1fffffffffde + x5) - x11))) (x, x0)%core : word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t) |