votingworks/electionguard-kotlin-multiplatform

Move HACL code out of EGK

JohnLCaron opened this issue · 4 comments

Hopefully use Cryspen.

"build project" takes ~ 6 min
building native takes most of that, which sucks because the hacl library never changes

If I remove the hacl library code compilation , it still takes a similar time.
Most of the time is in the linker.

Can eliminate creating RunBatchEncryption native executable.
Can we eliminate always creating the libekm.so native shared library, and make that a seperately callable task? When we do that we get down to 2 minute (re)build time.

So Ive removed the HACL source code from EGK. The build works when HACL is installed on the build machine.
Seems like we want to switch to using cryspen.
For now, native is not working.

NAtive is removed for now