FFDHE key exchange. More...
Go to the source code of this file.
Macros | |
#define | TRACE_LEVEL TLS_TRACE_LEVEL |
Functions | |
error_t | tlsSelectFfdheGroup (TlsContext *context, const TlsSupportedGroupList *groupList) |
Select the named group to be used when performing FFDHE key exchange. More... | |
const TlsFfdheGroup * | tlsGetFfdheGroup (TlsContext *context, uint16_t namedGroup) |
Get the FFDHE parameters that match the specified named group. More... | |
error_t | tlsLoadFfdheParameters (DhParameters *params, const TlsFfdheGroup *ffdheGroup) |
Load FFDHE parameters. More... | |
Variables | |
const TlsFfdheGroup | ffdhe2048Group |
ffdhe2048 group More... | |
const TlsFfdheGroup | ffdhe3072Group |
ffdhe3072 group More... | |
const TlsFfdheGroup | ffdhe4096Group |
ffdhe4096 group More... | |
Detailed Description
FFDHE key exchange.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneSSL Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file tls_ffdhe.c.
Macro Definition Documentation
◆ TRACE_LEVEL
#define TRACE_LEVEL TLS_TRACE_LEVEL |
Definition at line 32 of file tls_ffdhe.c.
Function Documentation
◆ tlsGetFfdheGroup()
const TlsFfdheGroup* tlsGetFfdheGroup | ( | TlsContext * | context, |
uint16_t | namedGroup | ||
) |
Get the FFDHE parameters that match the specified named group.
- Parameters
-
[in] context Pointer to the TLS context [in] namedGroup Named group
- Returns
- FFDHE parameters
Definition at line 314 of file tls_ffdhe.c.
◆ tlsLoadFfdheParameters()
error_t tlsLoadFfdheParameters | ( | DhParameters * | params, |
const TlsFfdheGroup * | ffdheGroup | ||
) |
Load FFDHE parameters.
- Parameters
-
[out] params Pointer to the structure to be initialized [in] ffdheGroup FFDHE parameters
- Returns
- Error code
Definition at line 374 of file tls_ffdhe.c.
◆ tlsSelectFfdheGroup()
error_t tlsSelectFfdheGroup | ( | TlsContext * | context, |
const TlsSupportedGroupList * | groupList | ||
) |
Select the named group to be used when performing FFDHE key exchange.
- Parameters
-
[in] context Pointer to the TLS context [in] groupList List of named groups supported by the peer
- Returns
- Error code
Definition at line 174 of file tls_ffdhe.c.
Variable Documentation
◆ ffdhe2048Group
const TlsFfdheGroup ffdhe2048Group |
ffdhe2048 group
Definition at line 48 of file tls_ffdhe.c.
◆ ffdhe3072Group
const TlsFfdheGroup ffdhe3072Group |
ffdhe3072 group
Definition at line 81 of file tls_ffdhe.c.
◆ ffdhe4096Group
const TlsFfdheGroup ffdhe4096Group |
ffdhe4096 group
Definition at line 122 of file tls_ffdhe.c.