• caglararli@hotmail.com
  • 05386281520

Where to get precomputed DH parameter sets?

Çağlar Arlı      -    54 Views

Where to get precomputed DH parameter sets?

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. Where can I find them?

And as more of a specific opinion: Given that I'm implementing a Java library, how would I make these available for users of the library? Is hardcoding the way to go?