#elliptic-curve #curve #elliptic #bindings #ecc

sys xs233-sys

FFI bindings for the xs233 binary elliptic curves

2 unstable releases

0.2.0 Jun 1, 2023
0.1.0 May 11, 2023

#12 in #elliptic


Used in 2 crates (via xs233)

AGPL-3.0-or-later

180KB
4K SLoC

C 4K SLoC // 0.2% comments Rust 105 SLoC // 0.0% comments

xs233-sys

A low-level FFI crate for c-xs233, which implements the curves in this paper.

c-xs233 implements binary elliptic curves with ~112 bits of security. Binary elliptic curves are defined over binary fields instead of prime fields. More or less all commonly used curves are defined over prime fields. This is not because binary fields are inherently less secure. There are theoretical results that indicate that there might be a security difference, but there are no practical attacks. In the 1990s binary elliptic curves were covered by patents, but it seems like these are not relevant anymore (I am not a lawyer).

No runtime deps

~0–2MB
~39K SLoC