FAQ
I have an implementation of secp256k1 curve (a=0). The
crypto/elliptic.Curve interface says it is explicitly for curves with a=-3.
  However, upon first glance I can't find anything in the ecdsa package that
limits signing, verification, and keygen to only working for a=-3 curves.
  Can I just use crypto/ecdsa?

Thanks,
Robert

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Agl at May 7, 2013 at 12:11 pm

    On Monday, May 6, 2013 4:31:03 PM UTC-4, Robert Carlsen wrote:
    I have an implementation of secp256k1 curve (a=0). The
    crypto/elliptic.Curve interface says it is explicitly for curves with a=-3.
    However, upon first glance I can't find anything in the ecdsa package that
    limits signing, verification, and keygen to only working for a=-3 curves.
    Can I just use crypto/ecdsa?

    crypto/elliptic is not that far off, but I don't think the doubling formula
    will work:
    http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b. You
    would have to do the algebra to confirm however.

    crypto/ecdsa should be fine.


    Cheers

    AGL

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Robert Carlsen at May 8, 2013 at 3:55 am
    Sounds good. Thanks.
    On Tuesday, May 7, 2013 7:10:55 AM UTC-5, agl wrote:

    On Monday, May 6, 2013 4:31:03 PM UTC-4, Robert Carlsen wrote:

    I have an implementation of secp256k1 curve (a=0). The
    crypto/elliptic.Curve interface says it is explicitly for curves with a=-3.
    However, upon first glance I can't find anything in the ecdsa package that
    limits signing, verification, and keygen to only working for a=-3 curves.
    Can I just use crypto/ecdsa?

    crypto/elliptic is not that far off, but I don't think the doubling
    formula will work:
    http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b. You
    would have to do the algebra to confirm however.

    crypto/ecdsa should be fine.


    Cheers

    AGL
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 6, '13 at 8:31p
activeMay 8, '13 at 3:55a
posts3
users2
websitegolang.org

2 users in discussion

Robert Carlsen: 2 posts Agl: 1 post

People

Translate

site design / logo © 2022 Grokbase