#codes #bindings #build #linear #offers #lib-o-te

build libote-codes

Linear code bindings to libOTe

1 unstable release

new 0.1.0 Feb 20, 2025

#299 in Build Utils


Used in cryprot-codes

MIT license

4MB
91K SLoC

GNU Style Assembly 54K SLoC // 0.0% comments C++ 31K SLoC // 0.1% comments C 6K SLoC // 0.1% comments Python 196 SLoC // 0.0% comments Rust 174 SLoC // 0.0% comments INI 79 SLoC // 0.1% comments PowerShell 29 SLoC // 0.2% comments

Contains (ELF exe/lib, 1.5MB) KeccakP-1600-times4-SIMD256.o

libOTe-rs

This library builds and provides bindings to partial functionality of libOTe.

Currently, we offer bindings ExConvCode codes of libOTe.

Development

To compile this project, you need to have the git submodules at libote and those in thirdparty/cloned.

libOTe-rs can be compiled, tested, and added as dependency using the normal Cargo tools.

SIMD Intrinsics

libOTe can be compiled with or without usage of SIMD intrinsics such as SSE2, AVX, or AES-NI. We detect the target architecture and available features in our build script, and pass the appropriate flags to the libOTe build. To ensure these intrinsics are used if supported by your CPU, set the RUSTFLAGS environment variable to

export RUSTFLAGS="-Ctarget-cpu=native"

Dependencies