Closed jlevon closed 2 years ago
Instead of copying rte_hashcrc.h, why not simply use EVP*. There is also wrapper function EVP_Digest() which makes it way easier than using Init, Update and FInal.
It seemed silly to have to have the openssl dependency just for some test code, and this way we don't need to worry about openssl breaking us again.
These functions from openssl are deprecated, and hence break builds with openssl 3.0, which now has a compiler warning for them. We only use them to check buffer contents; replace them with CRC code from DPDK instead, and entirely drop use of openssl.
Signed-off-by: John Levon john.levon@nutanix.com