I am trying to create EC Diffie Hellman keys using OpenSSL. I am using the below line. I am trying to find the nid of prime256v1 curve but am not able to. I looked up in openssl documentation also. Does openssl not support prime256v1 curve?
key = EC_KEY_new_by_curve_name(NID_secp256k1); // prime256v1