xref: /aosp_15_r20/external/curl/docs/cmdline-opts/curves.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: curves
5*6236dae4SAndroid Build Coastguard WorkerArg: <list>
6*6236dae4SAndroid Build Coastguard WorkerHelp: (EC) TLS key exchange algorithms to request
7*6236dae4SAndroid Build Coastguard WorkerProtocols: TLS
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.73.0
9*6236dae4SAndroid Build Coastguard WorkerCategory: tls
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - ciphers
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --curves X25519 $URL
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--curves`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerSet specific curves to use during SSL session establishment according to RFC
20*6236dae4SAndroid Build Coastguard Worker8422, 5.1. Multiple algorithms can be provided by separating them with `:`
21*6236dae4SAndroid Build Coastguard Worker(e.g. `X25519:P-521`). The parameter is available identically in the OpenSSL
22*6236dae4SAndroid Build Coastguard Worker`s_client` and `s_server` utilities.
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard Worker--curves allows a OpenSSL powered curl to make SSL-connections with exactly
25*6236dae4SAndroid Build Coastguard Workerthe (EC) curve requested by the client, avoiding nontransparent client/server
26*6236dae4SAndroid Build Coastguard Workernegotiations.
27*6236dae4SAndroid Build Coastguard Worker
28*6236dae4SAndroid Build Coastguard WorkerIf this option is set, the default curves list built into OpenSSL are ignored.
29