Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CT-Wasm #3097

Closed
chiefbiiko opened this issue Oct 10, 2019 · 3 comments
Closed

Implement CT-Wasm #3097

chiefbiiko opened this issue Oct 10, 2019 · 3 comments

Comments

@chiefbiiko
Copy link
Contributor

Constant-Time WebAssembly (paper, talk) is an extension to WebAssembly that ensures information flow security and guards against timing side channel attacks. It is a WebAssembly superset, so all Wasm code is valid CT-Wasm. Basically Wasm & CT-Wasm == JS & TS



There are CT-Wasm implementations showcasing that patching V8 is feasible.

Supporting CT-Wasm would allow deno to implement high-quality cryptography. Plus give that awesome CT-Wasm effort a push!

@lucacasonato
Copy link
Member

I think implementing this ourselves is out of scope. It would need to be part of V8 as it is changes the WASM binary representation right?

@caspervonb
Copy link
Contributor

caspervonb commented Aug 13, 2020

So the point here is faster native code generation right? because software implementation can be done now with WASI you're just missing out on some optimized instructions as far as I can tell.

Seems out of scope for Deno.

@chiefbiiko
Copy link
Contributor Author

@lucacasonato yea, i agree implementing and maintaing this here would be too much..

a couple months ago, ctwasm got listed as a wasm proposal
once it matures and v8 picks it up deno can consume it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants