Skip to content

lwus/curve25519-dalek-onchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parts of curve25519-dalek split across multiple instructions for usage on-chain before crypto syscall primitives are implemented.

The only currently supported operations are decompression and multi-scalar multiplication. These are also implemented in a way that is fairly specific to the original intended use case of checking ciphertext-ciphertext equality under elgamal encryption.

Roughly speaking, usage steps are

  1. Write a 'DSL' list of N instructions in buffer A
  2. Write inputs into buffer B
  3. Initialize compute buffer C that points to A and B
  4. Calling the CrankCompute operation with A, B, C as inputs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages