ziskos 1.1.0-alpha

Guest runtime and entrypoint for programs targeting the ZisK zkVM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Shared data structures for elliptic curve points used by curve syscalls.

/// An affine elliptic curve point with two 256-bit coordinates `(x, y)`.
#[derive(Debug, Copy, Clone)]
#[repr(C)]
pub struct SyscallPoint256 {
    pub x: [u64; 4],
    pub y: [u64; 4],
}

/// An affine elliptic curve point with two 384-bit coordinates `(x, y)`.
#[derive(Debug)]
#[repr(C)]
pub struct SyscallPoint384 {
    pub x: [u64; 6],
    pub y: [u64; 6],
}