#include #include "ECDHKeypair.h" #include"Openssl_crypto.h" uint32_t ECDHKeypair::generate_keypair() { return ecdh_key_gen(public_key, public_key+SGX_ECP256_KEY_SIZE, private_key); } void ECDHKeypair::get_public_key(uint8_t* op_public_key) { uint32_t counter; for(counter=0 ; counter