Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

crypto: custom diffie hellman generator value #7075

@mscdex

Description

@mscdex

Currently when initializing diffie-hellman key exchange objects, a generator of 2 is always used. It would be great to be able to supply a custom generator value (that defaults to 2 for backwards compatibility).

My immediate use case that I have in mind for this is implementing the diffie-hellman group exchange for ssh2.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions