OPENSSL EVP ECDH EXAMPLE Demonstration of Simple ECDH Using OpenSSL's EVP Library. Code Build Install build-essential and libssl sudo apt-get install build-essential libssl-dev Use GCC to build code. The code needs to be linked to libcrypto gcc -w main.c -o ecdh-sample -lcrypto