Activity for Ed448-Goldilocks

  • Maxim Cournoyer Maxim Cournoyer posted a comment on ticket #16

    Seems already resolved on the main branch. I guess a 1.0.3 tag would be nice!

  • Maxim Cournoyer Maxim Cournoyer created ticket #16

    1.0.2 build failure due to array-parameter warning treated as failure

  • Mike Hamburg committed [cede61] on Code

    add SER_BYTES to gf_serialize prototype

  • Mike Hamburg committed [2af15b] on Code

    adjust comments in ristretto.sage

  • Mike Hamburg committed [15e947] on Code

    indicate that x86 word_is_zero affects the carry flag

  • Mike Hamburg committed [92c93a] on Code

    test for subgroup membership in ed448 (sage).

  • Mike Hamburg committed [77ad7d]

    add flags for strongly binding EdDSA signatures, per https://eprint.iacr.org/2020/1244.pdf

  • Mike Hamburg committed [7d71a3]

    Merge commit '02becbc6da2caa5549cac36023fe8e1648283d90'

  • John-Mark Gurney John-Mark Gurney committed [6e623f]

    document how to run tests...

  • John-Mark Gurney John-Mark Gurney committed [1e2700]

    amd64 is the arch name on FreeBSD..

  • John-Mark Gurney John-Mark Gurney committed [9cea5a]

    wrap commands with code block, drop make test as missing..

  • Mike Hamburg committed [8e48cc]

    Merge branch 'pyupdate' of https://www.funkthat.com/gitea/jmg/ed448goldilocks

  • John-Mark Gurney John-Mark Gurney committed [052051]

    add a couple test vectors from the RFC...

  • John-Mark Gurney John-Mark Gurney committed [347057]

    old versions of clang can only handle a single argument

  • John-Mark Gurney John-Mark Gurney committed [048bfe]

    update to new build infra, python 3, and add instructions..

  • John-Mark Gurney John-Mark Gurney committed [c3917f]

    forgot that FreeBSD's lib format is slightly different, this should work

  • Mike Hamburg committed [f0f235]

    document how to run tests...

  • Mike Hamburg Mike Hamburg posted a comment on merge request #18

    Thanks, sorry for the slow response.

  • Mike Hamburg Mike Hamburg merged merge request #18

    Build with gcc

  • jeannotlapin jeannotlapin created merge request #18

    Build with gcc

  • jeannotlapin jeannotlapin updated merge request #16

    Updated windows build fixes and others build script fix

  • Mike Hamburg committed [da2f2f]

    add note to history

  • Mike Hamburg committed [703bb3]

    Fix two security bugs.

  • Mike Hamburg Mike Hamburg merged merge request #17

    Fix windows build

  • jeannotlapin jeannotlapin created merge request #17

    Fix windows build

  • jeannotlapin jeannotlapin posted a comment on merge request #16

    Thanks! No worry, you're not slow at all. I don't think the explicit cast would do harm. I'll come back if it does.

  • Mike Hamburg Mike Hamburg posted a comment on merge request #16

    Merged, sorry to be slow. I also changed the cast in bit_to_mask to be explicit, since otherwise you have to know the C promotion rules to verify correctness ... hope that doesn't break anything in Windows.

  • Mike Hamburg committed [f6aa73]

    explicitly upcast mask, for clarity

  • jeannotlapin jeannotlapin posted a comment on merge request #16

    HI Mike, any chance to review this MR? Is it acceptable like this?

  • jeannotlapin jeannotlapin posted a comment on merge request #16

    Indeed something was wrong with XCode12/cmake3.19 but it is all set now.

  • jeannotlapin jeannotlapin posted a comment on merge request #16

    You're right. The C99 standard perfectly defines assigning -1 to an unsigned value (http://c0x.coding-guidelines.com/6.3.1.3.html). So I removed the convoluted way of doing this simple thing but created anyway a function bit_to_mask in order to make it easier to disable the C4146 warning. I also re-enable the array bound check, I don't even remember why it was off in the first place. I has report of a problem building using Xcode12. I'll let you know soon if I find out if the problem is in the build...

  • Mike Hamburg Mike Hamburg posted a comment on merge request #16

    Makes sense, but is there a way to just disable C4146, or maybe we should have a bit_to_mask function? That would be preferable to modifying the code. Also, looking at the CMake files, what fails if we re-enable array bounds warnings? Those seem nice to have in security code.

  • jeannotlapin jeannotlapin posted a comment on merge request #16

    Ok, if I understood well your concern is to avoid branching when producing the mask? Windows compiler won't let you use the trick of setting -1 into a unsigned int to turn it to 0xffffffff. Please , check the new commit I just pushed, It is not the most efficient way to do it but it is branchless, makes windows compiler happy and is not really significant on the global performances. Let me know if this is acceptable for you.

  • Mike Hamburg Mike Hamburg posted a comment on merge request #16

    Thanks Johan. This mostly looks good, but the ternary operator is no good because it will cause side-channel problems. Can you change that back to masking?

  • jeannotlapin jeannotlapin updated merge request #12

    Build on windows

  • jeannotlapin jeannotlapin created merge request #16

    Updated windows build fixes and others build script fix

  • Mike Hamburg committed [a5c33d]

    update HISTORY to mention the malleability flaw

  • Mike Hamburg committed [13fe87]

    a couple more tests for EdDSA malleability

  • Mike Hamburg committed [e99b0a]

    fix malleability bug from https://eprint.iacr.org/2020/1244.pdf and add test vectors

  • Mike Hamburg committed [0324a9]

    fix bug in ristretto elligator: it should be able to take improper field elements as input

  • Mike Hamburg committed [ff5d28]

    optimize s^2 -> s2, thanks Fabio Scotoni

  • Mike Hamburg committed [27ce4c]

    dont double generator for Ed448RistrettoPoint

  • Mike Hamburg committed [e8d69e]

    update ristretto.sage for python3. Also add Ed448RistrettoPoint for reference

  • Mike Hamburg committed [326dba]

    Add safer version of EdDSA signing API.

  • Mike Hamburg Mike Hamburg modified ticket #15

    doc generation

  • Mike Hamburg Mike Hamburg posted a comment on ticket #15

    You're welcome, closing.

  • tankf33der tankf33der posted a comment on ticket #15

    Ha, indeed. Thanks

  • Mike Hamburg Mike Hamburg posted a comment on ticket #15

    Do you have doxygen and dot installed? If not, then cmake complains about not finding them.

  • tankf33der tankf33der posted a comment on ticket #15

    cmake ... make make test all above passed successfully. make doc -> empty output cat Makefile | grep doc -> empty output Looks like 'doc' goal was not generated.

  • Mike Hamburg Mike Hamburg posted a comment on ticket #15

    After running cmake, make doc should work. At least if you have doxygen and dot on your system. Are you seeing otherwise?

  • tankf33der tankf33der created ticket #15

    doc generation

  • Mike Hamburg Mike Hamburg modified ticket #14

    Compilation error with gcc 9.1

  • thrasibule thrasibule posted a comment on ticket #14

    Yes that fixes it, thanks!

  • Mike Hamburg Mike Hamburg posted a comment on ticket #14

    Fixed now?

  • Mike Hamburg committed [760a61]

    fix issues when compiling on GCC 9.1

  • thrasibule thrasibule created ticket #14

    Compilation error with gcc 9.1

  • Michael Hamburg committed [752d26]

    Thanks Johan Pascal: remove gf_hibit, since it was a relic from p521 days

  • Michael Hamburg committed [f38c87]

    also remove X_SER_BYTES while were at it

  • Mike Hamburg Mike Hamburg posted a comment on merge request #14

    I'd be happy to retry if your PR builds properly on my machines though.

  • Mike Hamburg Mike Hamburg updated merge request #14

    Add includes to build interface of decaf libs

  • Mike Hamburg Mike Hamburg posted a comment on merge request #14

    This breaks the build on my Mac (with cmake 3.11.3), so I unmerged it. I get an error of CMake Error at src/curve25519/CMakeLists.txt:23 (target_link_libraries): Object library target "CURVE25519" may not link to anything. I'm not a cmake wizard, so I didn't know how to fix it. Commenting out such lines gave an error that it couldn't find word.h.

  • Michael Hamburg committed [cd4874]

    Revert "Add includes to build interface of decaf libs"

  • Michael Hamburg committed [383088]

    errno.eexist

  • Mike Hamburg Mike Hamburg merged merge request #15

    Tweak generated code message

  • Mike Hamburg committed [b057a2]

    Merge /u/mariusvolkhart/ed448goldilocks/ branch mv/messaging into master

  • Mike Hamburg committed [53f794]

    Merge /u/mariusvolkhart/ed448goldilocks/ branch mv/cmakeIncludes into master

  • Mike Hamburg Mike Hamburg merged merge request #14

    Add includes to build interface of decaf libs

  • Mike Hamburg Mike Hamburg merged merge request #13

    Fix flaky statement in Python generator

  • Marius Marius created merge request #15

    Tweak generated code message

  • Marius Marius created merge request #14

    Add includes to build interface of decaf libs

  • Marius Marius posted a comment on merge request #13

    I should clarify - this happens when running using the CMake generated build. I did not try any other ways

  • Marius Marius created merge request #13

    Fix flaky statement in Python generator

  • Marius Marius posted a comment on ticket #4

    I'd like to provide some feedback on the CMake system. I' very happy to see it, but there are a few things that don't quite work as expected. For the sake of simplicity, CMake works in 2 steps: configure and build. Configure creates the build files using a generator such as makefiles or Ninja, and Build actually runs the build tool. The current setup reports during the Configuration step Generated source code in /path/to/goldilocks/build_dir/goldilocks/src/GENERATED. This is incorrect, as the generated...

  • jeannotlapin jeannotlapin created merge request #12

    Build on windows

  • Ed448-Goldilocks Ed448-Goldilocks released /libdecaf-1.0.0.tgz

  • Michael Hamburg committed [03977e]

    Minor changes.

  • Michael Hamburg committed [881697]

    v1.0

  • Mike Hamburg Mike Hamburg modified ticket #13

    NEON detection

  • Mike Hamburg Mike Hamburg posted a comment on ticket #13

    From the CMAKE file this may not affect android builds. If not, then defer to 2.0 or later. Can't let optimized flags for all the platforms block deployment.

  • Mike Hamburg Mike Hamburg created ticket #13

    NEON detection

  • Mike Hamburg Mike Hamburg posted a comment on ticket #4

    I merged /u/jeannotlapin's cmake build system, but I would like the community to test it before closing this issue.

  • Mike Hamburg Mike Hamburg posted a comment on merge request #10

    Merged this in the newer one

  • Mike Hamburg Mike Hamburg updated merge request #10

    Building scripts

  • Mike Hamburg Mike Hamburg merged merge request #11

    Building scripts improved

  • Mike Hamburg Mike Hamburg posted a comment on merge request #11

    So sorry to be slow. Someone else has also submitted a proposal for #4. I will try to wade through them this week and merge one. I've been bogged down with the NIST postquantum competition and lots of work, but I should be more available soon.

  • jeannotlapin jeannotlapin posted a comment on merge request #11

    Hi Mike, any thoughts on merging? Scripts are working on a large range of linux distributions/architecture and macOS. I managed to build on windows 7 using MSVC 2017 cmake support but the tests crash/fail and benchs are very very slow, there is some more work to be done on that but otherwise I think it closes ticket #4 johan

  • Mike Hamburg Mike Hamburg modified ticket #12

    Allow overriding of CC/CXX

  • Timo Gurr Timo Gurr posted a comment on ticket #12

    Works fine with the patch you've pushed to master, thanks!

  • Michael Hamburg committed [15c3f7]

    CC= -> CC?= in Makefile, thanks Timo Gurr

  • Mike Hamburg Mike Hamburg posted a comment on ticket #12

    Try it now?

  • Timo Gurr Timo Gurr created ticket #12

    Allow overriding of CC/CXX

  • Michael Hamburg committed [ffb134]

    minor fixes: fix unreachable code, fix an integer used in boolean context, thanks to Sofi Celi

  • Michael Hamburg committed [bf6094]

    fix sagetest; thanks sofi

  • Michael Hamburg committed [3acbda]

    fix python2/3 ord issue

  • Michael Hamburg committed [ea6c8c]

    add tests for identity and torquing

  • Michael Hamburg committed [b0af87]

    double and encode in ristretto.sage for decaf ed25519. kinda sloppy, but good enough for a poc since im not going to implement in c yet anyway

  • Michael Hamburg committed [1b7b50]

    double and encode in ristretto.sage for decaf ed448, not ed25519

  • Michael Hamburg committed [6a5e82]

    doubleAndEncode for ristretto in sage doc

  • Ed448-Goldilocks Ed448-Goldilocks released /libdecaf-0.9.4.tgz

  • jeannotlapin jeannotlapin posted a comment on merge request #11

    Hi Mike, sorry I couldn't figure a way to just update my last merge request with these new commits. johan

1 >