kangaroo 0.1.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;

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

/// 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],
}