Remove DH_GEN_PUB macro requirement