intel / pailliercryptolib

Intel Paillier Cryptosystem Library is an open-source library which provides accelerated performance of a partial homomorphic encryption (HE), named Paillier cryptosystem, by utilizing Intel® IPP-Crypto on AVX512IFMA instructions. Intel Paillier Cryptosystem Library is certified for ISO compliance.
Apache License 2.0
73 stars 18 forks source link

Build error #11

Closed phamductu closed 2 years ago

phamductu commented 2 years ago

Hi, many thanks for the library!

I got some errors when building it. Some functions are deprecated since OpenSSL 3.0 such as SHA512_Init, SHA512_Update, SHA512_Final.

Here is an example: build/ext_ipp-crypto/src/ext_ipp-crypto/sources/ippcp/crypto_mb/src/ed25519/ifma_ed25519.c:135:7: error: ‘SHA512_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 135 | SHA512_Init(&ctx);

Could you help me with this? Thanks in advance!

skmono commented 2 years ago

Hi @randoracle for reporting the issue. We just began an investigation with the IPP-Crypto team to resolve this error. I'll get back to you for updates soon!

skmono commented 2 years ago

@randoracle This issue has been resolved with #12. The cause of the build error was due to our library using an older version of Intel IPP-Crypto (v2021.4). Updating to v2021.6 has fixed the problem.

Note: The hotfix was applied to the *"development"** branch only. Thus we recommend users to use that branch, not main or other branches.