EAP-TLS authentication method. More...
Go to the source code of this file.
Macros | |
| #define | EAP_TLS_TX_BUFFER_START_POS |
| #define | EAP_TLS_MAX_INIT_FRAG_SIZE |
| #define | EAP_TLS_MAX_FRAG_SIZE |
Functions | |
| error_t | eapTlsCheckRequest (SupplicantContext *context, const EapTlsPacket *request, size_t length) |
| Check incoming EAP-TLS request. More... | |
| void | eapTlsProcessRequest (SupplicantContext *context, const EapTlsPacket *request, size_t length) |
| Process incoming EAP-TLS request. More... | |
| void | eapTlsBuildResponse (SupplicantContext *context) |
| Build EAP-TLS response. More... | |
| error_t | eapOpenTls (SupplicantContext *context) |
| Open TLS session. More... | |
| void | eapCloseTls (SupplicantContext *context, error_t error) |
| Close TLS session. More... | |
| error_t | eapTlsSendCallback (void *handle, const void *data, size_t length, size_t *written, uint_t flags) |
| TLS send callback (I/O abstraction layer) More... | |
| error_t | eapTlsReceiveCallback (void *handle, void *data, size_t size, size_t *received, uint_t flags) |
| TLS receive callback (I/O abstraction layer) More... | |
Detailed Description
EAP-TLS authentication method.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2022-2025 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneEAP 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.5.4
Definition in file eap_tls.h.
Macro Definition Documentation
◆ EAP_TLS_MAX_FRAG_SIZE
| #define EAP_TLS_MAX_FRAG_SIZE |
◆ EAP_TLS_MAX_INIT_FRAG_SIZE
| #define EAP_TLS_MAX_INIT_FRAG_SIZE |
◆ EAP_TLS_TX_BUFFER_START_POS
| #define EAP_TLS_TX_BUFFER_START_POS |
Function Documentation
◆ eapCloseTls()
| void eapCloseTls | ( | SupplicantContext * | context, |
| error_t | error | ||
| ) |
◆ eapOpenTls()
| error_t eapOpenTls | ( | SupplicantContext * | context | ) |
◆ eapTlsBuildResponse()
| void eapTlsBuildResponse | ( | SupplicantContext * | context | ) |
◆ eapTlsCheckRequest()
| error_t eapTlsCheckRequest | ( | SupplicantContext * | context, |
| const EapTlsPacket * | request, | ||
| size_t | length | ||
| ) |
◆ eapTlsProcessRequest()
| void eapTlsProcessRequest | ( | SupplicantContext * | context, |
| const EapTlsPacket * | request, | ||
| size_t | length | ||
| ) |
◆ eapTlsReceiveCallback()
| error_t eapTlsReceiveCallback | ( | void * | handle, |
| void * | data, | ||
| size_t | size, | ||
| size_t * | received, | ||
| uint_t | flags | ||
| ) |
TLS receive callback (I/O abstraction layer)
- Parameters
-
[in] handle Pointer the 802.1X supplicant context [out] data Buffer where to store the incoming data [in] size Maximum number of bytes that can be received [out] received Number of bytes that have been received [in] flags Unused parameter
- Returns
- Error code
◆ eapTlsSendCallback()
| error_t eapTlsSendCallback | ( | void * | handle, |
| const void * | data, | ||
| size_t | length, | ||
| size_t * | written, | ||
| uint_t | flags | ||
| ) |
TLS send callback (I/O abstraction layer)
- Parameters
-
[in] handle Pointer the 802.1X supplicant context [in] data Pointer to a buffer containing the data to be transmitted [in] length Number of data bytes to send [out] written Number of bytes that have been transmitted [in] flags Unused parameter
- Returns
- Error code
