Coder Social home page Coder Social logo

New Networking Library Drop-in Usage? about talos HOT 2 CLOSED

lsds avatar lsds commented on June 14, 2024
New Networking Library Drop-in Usage?

from talos.

Comments (2)

plaublin avatar plaublin commented on June 14, 2024

Hi. TaLoS does not implement all the libreSSL functions inside the enclave, but only the ones we needed for our use cases. In particular my guess is that it does not implement the functions you list above, hence the compilation error.

TaLoS was developed a few years ago for our (research) use-cases. Due to lack of time and manpower we did not have the opportunity to ensure its maintenance. Given that we apply a series of patches to libreSSL, it might not be too difficult to port it to a newer version of libreSSL.

The good news is this problem should be fairly easy to fix (provided there are no complicated corner cases) by following this procedure: for each function F() for which there is an undefined reference:

  1. create a new function with the same name and signature in enclaveshim_ecalls.c;
  2. create an ecall ecall_F() and call it from the new function F() (you want to modify enclave.edl and need to take care of passing data/pointers in/out the enclave);
  3. in the libressl file where F() is defined, add a new function ecall_F() whose sole role is to call F().

(Note that the BIO_*() functions are implemented outside the enclave for performance without negative impact on the security, so step 2 would be skipped.)

from talos.

xanderdunn avatar xanderdunn commented on June 14, 2024

Thanks a lot for the explanation @plaublin 👍
woflssl has built-in SGX support and I've had some success with it so far.

from talos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.