The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / src / node_crypto_groups.h @ 6f92da2d

History | View | Annotate | Download (23 KB)

# Date Author Comment
8e29ce9f 07/31/2013 02:12 PM Fedor Indutny

src: lint c++ code

8111ca2f 07/30/2013 04:03 PM Ben Noordhuis

src: const-ify variables in src/node_crypto*

No functional changes, just some code tightening. Clean up some style
inconsistencies while we are here.

4cc57b4a 07/29/2013 02:49 PM Ben Noordhuis

crypto: simplify DH modp group name matcher

  • 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.
c6a04ce7 02/21/2012 08:07 AM Tomasz Buchert

crypto: add function getDiffieHellman()

Returns a well known, predefined RFC group.