mbed TLS library
Dependents: HTTPClient-SSL WS_SERVER
ssl_ciphersuites.c File Reference
SSL ciphersuites for mbed TLS. More...
Go to the source code of this file.
Functions | |
const int * | ssl_list_ciphersuites (void) |
Returns the list of ciphersuites supported by the SSL/TLS module. | |
const char * | ssl_get_ciphersuite_name (const int ciphersuite_id) |
Return the name of the ciphersuite associated with the given ID. | |
int | ssl_get_ciphersuite_id (const char *ciphersuite_name) |
Return the ID of the ciphersuite associated with the given name. |
Detailed Description
SSL ciphersuites for mbed TLS.
Copyright (C) 2006-2014, ARM Limited, All Rights Reserved
This file is part of mbed TLS (https://tls.mbed.org)
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.
Definition in file ssl_ciphersuites.c.
Function Documentation
int ssl_get_ciphersuite_id | ( | const char * | ciphersuite_name ) |
Return the ID of the ciphersuite associated with the given name.
- Parameters:
-
ciphersuite_name SSL ciphersuite name
- Returns:
- the ID with the ciphersuite or 0 if not found
Definition at line 1772 of file ssl_ciphersuites.c.
const char* ssl_get_ciphersuite_name | ( | const int | ciphersuite_id ) |
Return the name of the ciphersuite associated with the given ID.
- Parameters:
-
ciphersuite_id SSL ciphersuite ID
- Returns:
- a string containing the ciphersuite name
Definition at line 1760 of file ssl_ciphersuites.c.
const int* ssl_list_ciphersuites | ( | void | ) |
Returns the list of ciphersuites supported by the SSL/TLS module.
- Returns:
- a statically allocated array of ciphersuites, the last entry is 0.
Definition at line 1683 of file ssl_ciphersuites.c.
Generated on Tue Jul 12 2022 13:50:40 by 1.7.2