kangaroo 0.8.0

Pollard's Kangaroo ECDLP solver for secp256k1 using Vulkan/Metal/DX12 compute
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod context;
pub mod shaders;

use bytemuck::{Pod, Zeroable};
pub use context::{enumerate_gpus, GpuBackend, GpuContext, GpuDeviceInfo};

/// GPU Affine Point (x, y coordinates in 32-bit limbs)
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct GpuAffinePoint {
    pub x: [u32; 8],
    pub y: [u32; 8],
}