I think changing API is not good idea. How about the attached patch? It changes function names to avoid conflicts with libcrypto.