Bitcoin Forum
October 26, 2020, 07:40:48 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Still Open -- $100 Bounty || Help needed on basic EC operations  (Read 113 times)
sector-32
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 19, 2020, 01:40:11 AM
Last edit: August 19, 2020, 11:38:43 AM by sector-32
 #1

Hello,

There's a C implementation at https://github.com/bitcoin-core/secp256k1 . I need help on code to compute basic operations i.e point addition, double and multiplication in C language.

The inputs / outputs must be in the form of hex. A little performance drop is acceptable.

Bounty at 12345E6kXHSKsrWJ3VLa4QBRF6UWraawU4 .
Thank you.
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
1603698048
Hero Member
*
Offline Offline

Posts: 1603698048

View Profile Personal Message (Offline)

Ignore
1603698048
Reply with quote  #2

1603698048
Report to moderator
sector-32
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 19, 2020, 02:49:52 AM
 #2

example double operation:
-------------------------------

input x : 0xa598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5
input y : 0x204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b

result :
----------

output x : 0x136933174bc388a74ebd6746e13afe0eef5d66580c8e23d33464c342dc0080
output y : 0x27015dc47dbfe781689f232541c0410560ac69c82044e8e5906e54680127ff92

DonBirb
Newbie
*
Offline Offline

Activity: 6
Merit: 6


View Profile
August 19, 2020, 05:23:41 AM
Merited by SplitBirb (5)
 #3

I will look into this tomorrow, currently 5am here in Iceland. You want all inputs/outputs in hex format? and by the way no need to send me the money if I am able to get this done.
sector-32
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 19, 2020, 05:27:54 AM
 #4

I will look into this tomorrow, currently 5am here in Iceland. You want all inputs/outputs in hex format? and by the way no need to send me the money if I am able to get this done.

Thank you. yes in hex format.
BASE16
Member
**
Offline Offline

Activity: 98
Merit: 19


View Profile
August 19, 2020, 06:25:11 AM
 #5

Hi do you mean you need help in understanding the calculation itself of help with the code ?
You can see here for an example https://github.com/samr7/vanitygen/blob/master/vanitygen.c
sector-32
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 19, 2020, 06:57:38 AM
 #6

Hi do you mean you need help in understanding the calculation itself of help with the code ?
You can see here for an example https://github.com/samr7/vanitygen/blob/master/vanitygen.c

Basically i need an API kind of thing in which i can directly call each add,double,multiply operations just by single code of line.
PawGo
Member
**
Offline Offline

Activity: 96
Merit: 50


View Profile WWW
August 19, 2020, 07:25:57 AM
 #7

Hello,

There's a C implementation at https://github.com/bitcoin-core/secp256k1 . I need help on code to compute basic operations i.e point addition, double and multiplication in C language.

The inputs / outputs must be in the form of hex. A little performance drop is acceptable.

Bounty at 12345E6kXHSKsrWJ3VLa4QBRF6UWraawU4 .
Thank you.

Maybe take a look at this project, in this class you have everything needed:
https://github.com/JeanLucPons/Kangaroo/blob/master/SECPK1/SECP256k1.h
sector-32
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 19, 2020, 07:35:57 AM
 #8

Hello,

There's a C implementation at https://github.com/bitcoin-core/secp256k1 . I need help on code to compute basic operations i.e point addition, double and multiplication in C language.

The inputs / outputs must be in the form of hex. A little performance drop is acceptable.

Bounty at 12345E6kXHSKsrWJ3VLa4QBRF6UWraawU4 .
Thank you.

Maybe take a look at this project, in this class you have everything needed:
https://github.com/JeanLucPons/Kangaroo/blob/master/SECPK1/SECP256k1.h


thank you. But honestly i got zero knowledge on C programming syntax. I already have code in Python but its very slow. I am simply expecting a simple C file in which i can just input "points and operation" and get the result.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!