summaryrefslogtreecommitdiff
path: root/src/node_crypto_groups.h
Commit message (Collapse)AuthorAgeFilesLines
* src: lint c++ codeFedor Indutny2013-07-311-0/+25
|
* crypto: simplify DH modp group name matcherBen Noordhuis2013-07-291-21/+22
| | | | | | | | * Use ARRAY_SIZE() rather than scanning until we hit a NULL entry. * Fix `-fsigned-char -Wnarrowing` compiler warnings. Harmless but numerous and annoying. * Static-ify the modp_group and mod_groups arrays. * Const-ify the modp_groups array.
* src: const-ify variables in src/node_crypto*Ben Noordhuis2013-07-301-12/+12
| | | | | No functional changes, just some code tightening. Clean up some style inconsistencies while we are here.
* crypto: add function getDiffieHellman()Tomasz Buchert2012-02-211-0/+386
Returns a well known, predefined RFC group.