I’m implementing an authenticated communication channel that uses Diffie-Hellman to have messages contain HMACs over the agreed secret, but currently I’m generating my own parameters which is painfully slow and unfit for use with weak IoT computers (as is my requirement), even if I only compute once then reuse the parameters. I’ve seen people saying there are readily available parameters fit for general use, but haven’t found them.
Given that I’m implementing a Java library, how would I make channels used by users of the library use these? Is hardcoding the way to go? And is there any place that makes such sets readily available?
I tried looking for resources on this with no success.