How retiredc/rckangaroo works
RCKangaroo is a GPU-accelerated secp256k1 ECDLP kangaroo solver. Its main workflow parses a target key and range (or selects benchmark mode), prepares elliptic-curve jump data, runs kangaroos on selected GPUs, collects distinguished points and checks collisions, then reports a recovered key. Optional tame-point reuse is documented. The excerpts show host-side GPU setup and DP handling, but not the full kernel dispatch or tame-file call sites; those links are omitted or marked unverified.
Main entry points: RCKangaroo.cpp CLI and solver · GpuKang.cpp GPU kangaroo host · Ec.cpp Elliptic-curve math · CallCubin.cpp Cubin dispatch
Components 14
Input and setup
- CLI and solver
RCKangaroo.cpp - Runtime parameters
defs.h - Tame point files
Curve arithmetic
- Elliptic-curve math
Ec.cpp
GPU search
- GPU kangaroo host
GpuKang.cpp - CUDA kernels
RCGpuCore.cu - Turbo kernels
newKernelB.asm - Cubin dispatch
CallCubin.cpp
Collision and results
- Distinguished points
RCKangaroo.cpp - DP index and storage
utils.cpp - Recovered key
Other components
- CLI user
- CUDA GPU
- RESULTS.TXT
RESULTS.TXT
Connections 16
- CLI user → CLI and solver: provides options
README.md - CLI and solver → Elliptic-curve math: prepares curve
RCKangaroo.cpp - CLI and solver → GPU kangaroo host: starts workers
RCKangaroo.cpp - CLI and solver → Runtime parameters: uses parameters
RCKangaroo.cpp - CLI and solver → Tame point files: loads or saves
README.md - GPU kangaroo host → Elliptic-curve math: builds jump points
GpuKang.cpp - GPU kangaroo host → CUDA GPU: copies data
GpuKang.cpp - GPU kangaroo host → CUDA kernels: launches kernels
- GPU kangaroo host → Cubin dispatch: dispatches turbo
- Cubin dispatch → CUDA GPU: launches cubin
CallCubin.cpp - CLI and solver → Distinguished points: checks points
RCKangaroo.cpp - GPU kangaroo host → Distinguished points: returns points
GpuKang.cpp - Distinguished points → DP index and storage: indexes points
RCKangaroo.cpp - Distinguished points → Elliptic-curve math: checks collisions
RCKangaroo.cpp - CLI and solver → Recovered key: reports solution
README.md - CLI and solver → RESULTS.TXT: writes result
README.md