Results 26 comments of Thomas Braun

Maybe, make an AsyncRefCell?

I'm going to leave this here for now that way I can look into making liboqs compatible with WASM: https://stackoverflow.com/questions/70311540/compiling-c-with-external-library-to-wasm-using-wasmer

Thanks for the zippy response! Since you don't know if it works on windows, i'll let you know how it goes!

The solution does not appear to be trivial on windows. Compiling GMP on mingw_x64 works, however the output is not gmp.lib, but libgmp.a. Changing the name to gmp.lib and adding...

Hi @shekohex, You brought up a good point that maybe one of my build dependencies was out of date. I was using cargo-ndk 1.0. I upgraded it to that latest...

It appears the trick is just to selectively compile targets instead of just running ``cargo make`` to save time. For the record, ``cargo-lipo`` is also the latest version, so maybe...

> What is the difference between the two commits you have here? There was a warning of an unused import That I cleared. Also, just made a new commit. ``Cargo...

Might I also add that in order for this to work, publicly-exposed functions like ``send_datagram`` now accept a ``BytesMut``, so this would naturally be a breaking change.

Okay, I adjusted it. Public functions are now normal as desired. Had to make ``Datagram`` an enum to differentiate between outgoing and incoming to ensure zerocopying, otherwise, there were parts...

I know. There is a custom protocol above QUIC for special clients that is beyond public-domain cryptography. Even if this wasn't for cryptographic purposes, having a mutable buffer is useful...