Code Monkey home page Code Monkey logo

Comments (7)

indutny avatar indutny commented on August 20, 2024

I know it is a bit silly, but I mostly cover

var res = this.curve.jpoint(this.x, this.y, this.curve.one);
here. I wonder if changing it to cmp will actually make things slower or faster.

from elliptic.

indutny avatar indutny commented on August 20, 2024

A bit slower, it seems. Sorry, but closing!

from elliptic.

fanatid avatar fanatid commented on August 20, 2024

In this case using doubling-mdbl-2007-bl and doubling-mdbl-2007-bl doesn't make sense
Also, can you answer please, what the formula you're using in JPoint.mixedAdd? 2004 Hankerson/Menezes/Vanstone, page 91 ... ?
Thanks!

EDIT: As I understand JPoint.add uses addition-add-1998-cmo-2 but there h = u2 - u1 whereas JPoint.add has h = u1 - u2. Can you explain?

from elliptic.

indutny avatar indutny commented on August 20, 2024

@fanatid these doubling still apply to point that were just converted from cartesian coordinates.

All formulas are from: https://www.hyperelliptic.org/EFD/

from elliptic.

fanatid avatar fanatid commented on August 20, 2024

My fault, only now I realized that === check that z is the same object that curve.one.
Can't find some forumlas at EFD, don't you improve them by yourself and don't use 3rd sources?

from elliptic.

indutny avatar indutny commented on August 20, 2024

Most of them are based on EFD with some minor improvements, I don't really remember if there are any that are not. Sorry!

from elliptic.

fanatid avatar fanatid commented on August 20, 2024

In any case, many thanks for answer! Hope that I find them :)

from elliptic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.