Author

Topic: GMP alternative but for GPUs (Read 102 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
October 22, 2023, 11:10:16 AM
#3
Quote
Alternatively if there is already a 256-bit secp256k1 toolbox somewhere on the internet, that would be fine also.
What about the code that is included into Bitcoin Core? https://github.com/bitcoin/bitcoin/tree/master/src/secp256k1

Somehow, the last time I made an implementation using libsecp256k1, I was getting incorrect keys. But maybe that was because I could've been using it wrong or something.
hero member
Activity: 789
Merit: 1909
October 20, 2023, 03:47:52 AM
#2
Quote
Alternatively if there is already a 256-bit secp256k1 toolbox somewhere on the internet, that would be fine also.
What about the code that is included into Bitcoin Core? https://github.com/bitcoin/bitcoin/tree/master/src/secp256k1
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
October 20, 2023, 02:00:27 AM
#1
Guys, I have some C++ elliptic curve code that does things like point addition/subtraction and other stuff like that. The workload I'm running involves generating some public keys and saving them on the hard disk, in batches so as to not overwhelm the memory, but my friend told me it's too slow on CPU.

I think the performance will improve massively if I can get the elliptic curve codes converted to CUDA or OpenCL or something like that, but I'm having trouble finding a suitable library that won't force a full rewrite (and this is no help). Alternatively if there is already a 256-bit secp256k1 toolbox somewhere on the internet, that would be fine also.
Jump to: