Golang wrapper functions which call osu-crypto/libOTe's distributed point function (DPF) module, which works over the field
Note libOTe has richer DPF functionality than exposed in Golang here. This code exposes the single-point DPFs with static key generation as a Golang module.
-
Golang 1.23
-
Python
-
osu-crypto/libOTe
- Clone libOTe, then make directory
mkdir test
- Build libOTe to expose the DPF functionality as a shared library with:
python build.py -DENABLE_REGULAR_DPF=ON -DENABLE_PIC=ON -DLIBOTE_SHARED=ON --install=test
- Update paths to
test
at the top ofmodules/osu-crypto/osu_dpf.go
- Clone libOTe, then make directory