- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working on a C++ project that will sign data to be verified onchain in ethereum EVM, ethereum uses secp256k1 and RLP encoding, the resulting recoverable key is 65 char long.
https://eips.ethereum.org/EIPS/eip-2098
In the bitcoin-core organization, there is an C implementation for this:
https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_recovery.h
What should I consider when converting that source code to an SGX compatible version?
- Use static libraries
- Add enclave exception handling
Is there a comprehensive list of open source repos for sgx?
Do Go libraries require the same compatibility process?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nolasco_napoleao,
Thanks for reaching out.
You may find the details of Intel SGX on this get started page where Open Source repo and samples are available for your reference.
Meanwhile, we found an external repo Go with Intel SGX (not owned by Intel) that may assist your use cases to use the Go library in SGX projects. This repo shows how to call C/C++ functions of Intel SGX enclave in Go language using cgo interface.
Hope that the information provided is useful for you. Please let us know if you have any questions.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nolasco_napoleao,
This thread will no longer be monitored since we have provided answer. If you need any additional information from Intel, please submit a new question.
Regards,
Peh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page