mirror of
https://github.com/privacy-scaling-explorations/emp-wasm.git
synced 2026-01-09 10:07:54 -05:00
29e119cf9a67bbb928be171e9907e7d51853b2c8
emp-wasm
Work in progress compiling authenticated garbling from emp-toolkit/emp-ag2pc to wasm.
Currently this is just a stripped down version that you can compile with a single clang++ command (see build.sh).
Uncertain Refactors
For most of the changes I'm reasonably confident that I preserved behavior, but there some things I'm less confident about:
- send and recv swapped for bob in
Fpre::generate(see TODO comment) - after removing threading, I also moved everything to a single io channel
- rewrite of simd code to not use simd and updated aes usage written by chatgpt o1 preview
Regardless, this version of emp-toolkit needs some checking.
Languages
C++
73.7%
TypeScript
23.6%
Shell
2.1%
C
0.6%