-
Notifications
You must be signed in to change notification settings - Fork 13
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
Is wasm in the cards? #4
Comments
That requires compiling openssl to wasm which is non-trivial. Better to stick with bi-rust for that portion. |
We are looking at getting OpenSSL compiled to wasm in the interim... using bi-rust inside a wasm function fails. I will get the specifics (hard to debug where it is failing) and update this comment So within the entry point of my wasm function, I'm doing this: let key = key::AccumulatorSecretKey::default();
let members: Vec<[u8; 8]> = vec![
3u64.to_be_bytes(),
7u64.to_be_bytes(),
11u64.to_be_bytes(),
13u64.to_be_bytes(),
];
let acc = rsa::accumulator::Accumulator::with_members(&key, &members); and it fails on |
Cool, looking forward to it |
Updated my message above |
Success with building the following with `--target wasm32-wasi
At the moment it is a few hacks to environments and minor mods to |
I'm also working on a no-std version of this such that it should also work for wasm |
@mikelodder7 you mentioned this can be compiled to wasm easier now? Can I help with that? |
I can send you a copy of the code. I haven’t integrated it into this repo yet. But if you’d like to get it up and running that’s always an option |
that would be great! |
@mikelodder7 and @brianorwhatever --- did this ever happen? |
not yet unfortunately.. will ping @mikelodder7 and try to move on this over the holidays |
Would like to use with
bi-ossl
feature from my wasm rust... any chance this is on the roadmap?The text was updated successfully, but these errors were encountered: