Bitcoin Forum
May 08, 2024, 08:19:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Add Secp224R1 Implementation for VanitySearch  (Read 87 times)
chapoly (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 10, 2024, 06:34:27 PM
Last edit: February 10, 2024, 07:15:18 PM by chapoly
 #1

Hello,
I am currently working on a research project that have the similar initiative of VanitySearch. A portion of my project includes to find the public key x cord with a given prefix.

Huge appreciation to the original project https://github.com/JeanLucPons/VanitySearch and the fork https://github.com/bojlahg/VanitySearchPublicKey, these two project helped me found few results with Secp256K1, yet proven my research direction is feasible (Finding given six bytes of prefix and find the public key in reasonable amount of time). To accomplish the research goal, I am trying to make the VanitySearch project be Secp224R1, but still struggling to get the self-checking works correctly. I planned to firstly make the project be Secp224K1 CPU Only, because they are much similar (both y^2 = X^3 + b). Once it worked, then move forward to 224R1 CPU then on GPU as the final objective.

I am writing this post is seeking for help on this project, any helps in coding or debugging are really appreciated. I am currently updating my personal modifications at https://github.com/Chapoly1305/VanitySearchPublicKey, the branch "crazy" is a functional program removed irrelevant logic for isolation consideration. The branch secp224k1 is what I currently posting all sorts of attempts.

In summary to the branch, I have set the parameters {p,a,b,Gx,Gy, n(order), lamba_1, lamba_2, beta_1, beta_2} according to https://neuromancer.sk/std/secg/secp224k1 and https://secg.org/sec2-v2.pdf. However, the VanitySearch -check failed at
GetBase10() Results OK
Add() Results OK : 2.000 GigaAdd/sec
Mult() Results OK : 92.593 MegaMult/sec
Div() Results OK : 15.152 MegaDiv/sec
R1=1000000000000000000000000000000000000000000000000
R2=100001A930000000000000000000000000000000000000000
Field characteristic size: 224bits
ModInv()/ModExp() Results Wrong:
ModInv=6B116905884F32B82DA19966884091DB7218B0F4619063E397A611E6
ModExp=498B1D1324858D0BCAB77A31787A4D217FB51A5D65AA25BB6C8462C7
Check Generator :Failed !
Check Double :Failed !
Check Add :Failed !
Check GenKey :Failed !
GPU code not compiled, use -DWITHGPU when compiling.
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
1715156357
Hero Member
*
Offline Offline

Posts: 1715156357

View Profile Personal Message (Offline)

Ignore
1715156357
Reply with quote  #2

1715156357
Report to moderator
citb0in
Hero Member
*****
Offline Offline

Activity: 672
Merit: 656


Bitcoin g33k


View Profile
February 22, 2024, 07:31:31 PM
 #2

What motivates your interest in implementing Secp224R1 in VanitySearch? Could you share the honest reasons behind your project? I'm asking out of curiosity because I never heard or red anything about SECp224R1 in the context of Bitcoin blockchain and its protocol. Looking forward to hearing from you.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!