Skip to content

Elliptic curve point multiplication incorrect result if input X = 0 #206

@guidovranken

Description

@guidovranken
operation name: ECC_Point_Mul
ecc curve: secp256r1
A X: 0
A Y: 46263761741508638697010950048709651021688891777877937875096931459006746039284
B: 4951760157141521099596496898

modifier: {}
Module relic result:

X: 86276458647412067178347008437845892125965870927340028107831141025503900516030
Y: 86276458647412067178347008437845892125965870927340028107831141025503900516030


Module Botan result:

X: 39413481345714412313259129025515012045914827916077802016872105278265461716524
Y: 112817648962403962299127782443156973429611563676157656105969619112615985027738


Module Golang result:

X: 39413481345714412313259129025515012045914827916077802016872105278265461716524
Y: 112817648962403962299127782443156973429611563676157656105969619112615985027738

e.g. the point (A X, A Y) is multiplied by the scalar B.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions