You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a hardware acceleration cryptographic card that supports SM2/SM4. The cryptographic card provides an OpenSSL interface like these:
Now I want to test whether pipy can use the cryptographic card for acceleration, but I am having difficulty replacing OpenSSL. Do you have any suggestions to use these .so files.
Thanks a lot!
The text was updated successfully, but these errors were encountered:
You can use -DPIPY_OPENSSL=/path/to/your/lib to replace the default openssl lib directly If your APIs are compatible with openssl. Otherwise you may need to use nmi to support your APIs.
BTW, to use NMI, you could refer to samples/nmi.
Cheers,
Kevein
To use system installed openssl, all you have to do is use -DPIPY_USE_SYSTEM_OPENSSL=ON cmake option when compiling pipy to dynamically link against system installed openssl.
Make sure system installed openssl is discoverable by cmake or else compilation will fail.
You can use -DPIPY_OPENSSL=/path/to/your/lib to replace the default openssl lib directly If your APIs are compatible with openssl. Otherwise you may need to use nmi to support your APIs.
The password card company only provided me with these dynamic libraries. I noticed that pipy uses static libraries, so build failed. I am asking them if they can provide static libraries to attempt the build.
To use system installed openssl, all you have to do is use -DPIPY_USE_SYSTEM_OPENSSL=ON cmake option when compiling pipy to dynamically link against system installed openssl.
I might only use these .so or .a files, not sure whether the system installed openssl is being used.
I currently have a hardware acceleration cryptographic card that supports SM2/SM4. The cryptographic card provides an OpenSSL interface like these:
Now I want to test whether pipy can use the cryptographic card for acceleration, but I am having difficulty replacing OpenSSL. Do you have any suggestions to use these
.so
files.Thanks a lot!
The text was updated successfully, but these errors were encountered: