I have few queries on how to implement custom engine ECDH ec set_group method and it's return value. Any inputs are highly appreciated.
While setting engine group,currently always default group is set.
int my_engine_set_group(EC_KEY *key, const EC_GROUP *grp)
key->group = get_custom_group();
#What should be the return value for supported and non supported curves ?
else #Other curves such as P384,P521