open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.92k stars 466 forks source link

Correct openssl init functions to take build params into account #1945

Open baentsch opened 1 month ago

baentsch commented 1 month ago
          @baentsch you are 100% correct, they should be properly wrapped by `#ifdef`s - if we don't use SHA3 or AES from OpenSSL, it makes no sense to fetch it.

I have originally written this prefetching code because of performance reasons instead of implicit fetching used before, but AFAIK there were many changes since then - e.g. an option to provide 3rd-party callbacks etc so this should be reconsidered

Originally posted by @beldmit in https://github.com/open-quantum-safe/liboqs/issues/1942#issuecomment-2391705321