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

Added RNG support for non-RDRAND, non-RDSEED systems #5

Closed skmono closed 2 years ago

skmono commented 2 years ago
skmono commented 2 years ago

I think we should support systems without RDRAND and/or RDSEED instructions. @faberga, @fdiasmor, @justalittlenoob opinions?

fdiasmor commented 2 years ago

@skmono It is not unreasonable. I'd suggest to at least add a pragma warning compilation message. What is the impact in the generic scenarios to assume the default behavior (neither RDRAND nor RDSEED) to resort to PRNG?