GeezerVison is showing github.com — doc: add note about available ECC curves · nodejs/node@deb8b87
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/crypto.markdown +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -528,8 +528,10 @@ Example (obtaining a shared secret): |
528 | 528 |
|
529 | 529 | ## crypto.createECDH(curve_name) |
530 | 530 |
|
531 | | -Creates a Elliptic Curve (EC) Diffie-Hellman key exchange object using a |
532 | | -predefined curve specified by `curve_name` string. |
| 531 | +Creates an Elliptic Curve (EC) Diffie-Hellman key exchange object using a |
| 532 | +predefined curve specified by the `curve_name` string. On recent releases, |
| 533 | +`openssl ecparam -list_curves` will display the name and description of each |
| 534 | +available elliptic curve. |
533 | 535 |
|
534 | 536 | ## Class: ECDH |
535 | 537 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: doc/api/tls.markdown +3-1Lines changed: 3 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -179,7 +179,9 @@ automatically set as a listener for the [secureConnection][] event. The |
179 | 179 | - `ecdhCurve`: A string describing a named curve to use for ECDH key agreement |
180 | 180 | or false to disable ECDH. |
181 | 181 |
|
182 | | - Defaults to `prime256v1`. Consult [RFC 4492] for more details. |
| 182 | + Defaults to `prime256v1` (NIST P-256). On recent releases, `openssl ecparam |
| 183 | + -list_curves` will display the name and description of each available elliptic |
| 184 | + curve. |
183 | 185 |
|
184 | 186 | - `dhparam`: A string or `Buffer` containing Diffie Hellman parameters, |
185 | 187 | required for Perfect Forward Secrecy. Use `openssl dhparam` to create it. |
|