-
Notifications
You must be signed in to change notification settings - Fork 72
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
Make it no-std #67
Comments
I like the idea, and we'd welcome any contributions to make that happen!
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 250.0 DAI (250.0 USD @ $1.0/DAI) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Workers have applied to start work. These users each claimed they can complete the work by 11 months, 1 week from now. 1) iamonuwa has applied to start work (Funders only: approve worker | reject worker). Am available to fix this with the team. I write rust and understand the requirements of the task Learn more on the Gitcoin Issue Details page. |
I am working on making this library work with SGX. I am trying to get rid of rand04_compat dependency and just use rand. I tried simply calling gen() instead of gen04() but I got the following error. Anyone with the idea on what gen04 does that gen doesn't? I tried the docs, but they dint help me much.
|
The problem is that pairing 0.14 uses rand 0.4. If you use I hope we'll be able to remove rand04_compat once we upgrade to a newer pairing version. For no-std, we'll also need our dependencies (e.g. pairing and probably bls12_381) to support that. |
@afck thanks for the input! mesalock linux seems to be doing some work on making SGX version's of some rust libraries. I was able to replace most of them except pairing and rand04_compat. I guess I first need to fork pairing and get it to be compatible with SGX. |
Yes, once pairing supports no-std, I think it should be easy for threshold_crypto. |
Issue Status: 1. Open 2. Cancelled Workers have applied to start work. These users each claimed they can complete the work by 2 months, 4 weeks from now. 1) jakender has applied to start work (Funders only: approve worker | reject worker). Firstly, I would remove all usages of the Rust standard library from the repository. Then, I would write a custom implementation of the standard library without using any platform specific APIs so that it wouldn’t be tied to any platform. After that, I would implement all the functions, structs, struct methods, and modules and packages with the custom standard library, replacing the old code. Learn more on the Gitcoin Issue Details page. |
Which parts would need a custom implementation? At least The bigger problem is to make |
Issue Status: 1. Open 2. Cancelled The funding of 250.0 SAI (250.0 USD @ $1.0/SAI) attached to this issue has been cancelled by the bounty submitter
|
Would it be possible to make it no-std so it could run basically in an enclave (for example https://github.com/baidu/rust-sgx-sdk )
The text was updated successfully, but these errors were encountered: