Git Product home page Git Product logo

Comments (8)

anhu avatar anhu commented on May 28, 2024

Hi @cody0704,
Thank you for your interest in wolfSSL!!
From your message above, I noticed that you did not mention any calls like this:

go get -u github.com/wolfssl/go-wolfssl 

Such a step is documented in the README.md file here:

https://github.com/wolfSSL/go-wolfssl/blob/master/README.md

Please let me know if this helps.
Can you please let us know more about your project and what you are trying to accomplish?

Warm regards, Anthony

from go-wolfssl.

cody0704 avatar cody0704 commented on May 28, 2024

Hi @anhu,

Thank you for your response.

I apologize for not documenting the complete installation process I followed.
Rest assured, I did proceed according to the steps outlined in 'https://github.com/wolfSSL/go-wolfssl/blob/master/README.md'.

This included executing the following command:

go get -u github.com/wolfssl/go-wolfssl 

I then continued to follow the instructions for compilation, but encountered the problem shown in the attached picture:

圖片

Experiment

I am conducting an experiment where I aim to perform SSL offloading using the Intel QAT Card 8970 in conjunction with wolfssl and intel qat. This is due to the lack of hardware offloading capabilities in crypto/tls.

Best Regards,
Cody

from go-wolfssl.

cody0704 avatar cody0704 commented on May 28, 2024

Hi @anhu ,

I've managed to resolve the issue. After reinstalling and recompiling, I no longer encountered the Could not determine kind of name for C.WC_SHA512_DIGEST_SIZE problem. However, a new issue arose: ./server: error while loading shared libraries: libwolfssl.so.35: cannot open shared object file: No such file or director.

I was able to address this problem by adding the following environment variable:

export LD_LIBRARY_PATH="/usr/local/lib"

Complete Steps

Install wolfSSL

git clone https://github.com/wolfSSL/wolfssl
./autogen.sh
./configure
make
sudo make install
export LD_LIBRARY_PATH="/usr/local/lib"

Install wrapper module

go get -u github.com/wolfssl/go-wolfssl

Test Example

cd go-wolfssl/examples/server
go build server.go

cd go-wolfssl/examples/client
go build client.go

Thanks,
Cody

from go-wolfssl.

anhu avatar anhu commented on May 28, 2024

Hi Cody, I see from your output that you were successful. This is great news.

I am conducting an experiment where I aim to perform SSL offloading using the Intel QAT Card 8970 in conjunction with wolfssl and intel qat.

Very interesting!! May I ask, is this a personal, academic or professional experiment?

Warm regards, Anthony

from go-wolfssl.

anhu avatar anhu commented on May 28, 2024

Cody? Can you let me know a bit about your project?

from go-wolfssl.

cody0704 avatar cody0704 commented on May 28, 2024

Cody? Can you let me know a bit about your project?

I just returned from a holiday, and I apologize for only responding to you now.

This is a professional experiment.

As previously mentioned, Golang's crypto/tls does not support HW Offload, and the computation in crypto is very resource-intensive, which may result in overall poorer performance. Therefore, I am trying to implement TLS Offload through wolfSSL + Intel QAT.

I am planning to apply this to a DNS over TLS service. Previously, we used Nginx for SSL termination before passing it into Golang, so I want to experiment with go-wolfSSL to see if it can offer a better solution.

If this solution is successful, I would be more than happy to share it, but I am still setting up the environment at the moment and will need some time before I can start developing.

from go-wolfssl.

anhu avatar anhu commented on May 28, 2024

Hi Cody,
That's really interesting! Thank you very much for the information.
Warm regards, Anthony

from go-wolfssl.

anhu avatar anhu commented on May 28, 2024

If this solution is successful, I would be more than happy to share it...

That would be most excellent! I'd love to know how it goes. You can send your results to [email protected] . Please do keep me updated with your progress.

Now that you have found success, I will proceed to close this ticket.

Warm regards, Anthony

from go-wolfssl.

Related Issues (4)

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.