Giter Club home page Giter Club logo

Comments (4)

tycho avatar tycho commented on May 15, 2024 1

This is now implemented! It will automatically use OpenSSL if available, and fall back to building with the reference implementations in src/external/ if not.

from gamenetworkingsockets.

rlabrecque avatar rlabrecque commented on May 15, 2024

Please take console and mobile platforms into consideration with these changes. I'm not sure what kind of restrictions they have over crypto but it may require using their crypto libraries? I do know they require it to varying degrees for basically all communication at this point.

Edit: Oh, the next tab I opened: #45 👍

from gamenetworkingsockets.

zpostfacto avatar zpostfacto commented on May 15, 2024

Refactored some stuff, should be much more straightforward to do this now.

These functions would be relevant.
https://www.openssl.org/docs/man1.1.1/man3/EVP_PKEY_get_raw_private_key.html

This means we would require OpenSSL 1.1. (Or we could support older OpenSSL, using the existing Donna support? I kind of wanna delete all that code, though.)

from gamenetworkingsockets.

zpostfacto avatar zpostfacto commented on May 15, 2024

Welp, I implemented all the functions in crypto_25519_openssl.cpp, but it's not working. EVP_PKEY_get_raw_public_key is failing. I need to actually step into OpenSSL, and I don't want to go through the work to get all that setup right now. I need to go back to actually shipping this in Steam.

If anybody else wants to poke at this, go for it!

I'll come back to this later.

from gamenetworkingsockets.

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.