EAP-MD5 authentication method. More...
#include "ike/ike.h"Go to the source code of this file.
Functions | |
| error_t | ikeProcessEapMd5Request (IkeSaEntry *sa, const IkeEapMd5Packet *request, size_t length) |
| Process EAP-MD5 request. More... | |
| error_t | ikeFormatEapMd5Response (IkeSaEntry *sa, uint8_t *p, size_t *written) |
| Format EAP-MD5 response. More... | |
Variables | |
| typedef | __packed_struct |
| EAP-MD5 packet. More... | |
| uint8_t | identifier |
| uint16_t | length |
| uint8_t | type |
| uint8_t | valueSize |
| uint8_t | value [] |
| IkeEapMd5Packet | |
Detailed Description
EAP-MD5 authentication method.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2022-2026 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneIPSEC 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.6.8
Definition in file ike_eap_md5.h.
Function Documentation
◆ ikeFormatEapMd5Response()
| error_t ikeFormatEapMd5Response | ( | IkeSaEntry * | sa, |
| uint8_t * | p, | ||
| size_t * | written | ||
| ) |
Format EAP-MD5 response.
- Parameters
-
[in] sa Pointer to the IKE SA [out] p Buffer where to format the EAP-MD5 packet [out] written Length of the resulting EAP-MD5 packet
- Returns
- Error code
Definition at line 114 of file ike_eap_md5.c.
◆ ikeProcessEapMd5Request()
| error_t ikeProcessEapMd5Request | ( | IkeSaEntry * | sa, |
| const IkeEapMd5Packet * | request, | ||
| size_t | length | ||
| ) |
Process EAP-MD5 request.
- Parameters
-
[in] sa Pointer to the IKE SA [in] packet Pointer to the EAP-MD5 request [in] length Length of the EAP-MD5 request, in bytes
- Returns
- Error code
Definition at line 52 of file ike_eap_md5.c.
Variable Documentation
◆ __packed_struct
| typedef __packed_struct |
◆ identifier
| uint8_t identifier |
Definition at line 57 of file ike_eap_md5.h.
◆ IkeEapMd5Packet
| IkeEapMd5Packet |
Definition at line 62 of file ike_eap_md5.h.
◆ length
| uint16_t length |
Definition at line 58 of file ike_eap_md5.h.
◆ type
| uint8_t type |
Definition at line 59 of file ike_eap_md5.h.
◆ value
| uint8_t value[] |
Definition at line 61 of file ike_eap_md5.h.
◆ valueSize
| uint8_t valueSize |
Definition at line 60 of file ike_eap_md5.h.
