WebAssembly / wasi-crypto

WASI Cryptography API Proposal
162 stars 25 forks source link

Implement the WASI interface for the signature API #17

Closed jedisct1 closed 4 years ago

jedisct1 commented 4 years ago

This adds the missing pieces to make the signature API available to WebAssembly modules, namely all the machinery to convert data between the host and a guest.

Integration into Lucet and Wasmtime should be pretty straightfoward at that point.

The internal interface is automatically generated by wiggle from the witx file, so this proves that the implementation matches the definition.

Enforcing both to match at compilation time immediately spotted minor inconsistencies in the witx file that this changeset also fixes.