RetroArch
|
SSL ciphersuites for mbed TLS. More...
#include "mbedtls/config.h"
#include "mbedtls/platform.h"
#include "mbedtls/ssl_ciphersuites.h"
#include "mbedtls/ssl.h"
#include <string.h>
Macros | |
#define | MAX_CIPHERSUITES |
Functions | |
const int * | mbedtls_ssl_list_ciphersuites (void) |
Returns the list of ciphersuites supported by the SSL/TLS module. More... | |
const mbedtls_ssl_ciphersuite_t * | mbedtls_ssl_ciphersuite_from_string (const char *ciphersuite_name) |
const mbedtls_ssl_ciphersuite_t * | mbedtls_ssl_ciphersuite_from_id (int ciphersuite) |
const char * | mbedtls_ssl_get_ciphersuite_name (const int ciphersuite_id) |
Return the name of the ciphersuite associated with the given ID. More... | |
int | mbedtls_ssl_get_ciphersuite_id (const char *ciphersuite_name) |
Return the ID of the ciphersuite associated with the given name. More... | |
mbedtls_pk_type_t | mbedtls_ssl_get_ciphersuite_sig_pk_alg (const mbedtls_ssl_ciphersuite_t *info) |
mbedtls_pk_type_t | mbedtls_ssl_get_ciphersuite_sig_alg (const mbedtls_ssl_ciphersuite_t *info) |
int | mbedtls_ssl_ciphersuite_uses_ec (const mbedtls_ssl_ciphersuite_t *info) |
int | mbedtls_ssl_ciphersuite_uses_psk (const mbedtls_ssl_ciphersuite_t *info) |
Variables | |
static const int | ciphersuite_preference [] |
static const mbedtls_ssl_ciphersuite_t | ciphersuite_definitions [] |
static int | supported_ciphersuites [MAX_CIPHERSUITES] |
static int | ssl_ciphersuites_supported_init = 0 |
SSL ciphersuites for mbed TLS.
Copyright (C) 2006-2015, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This file is part of mbed TLS (https://tls.mbed.org)
#define MAX_CIPHERSUITES |
const mbedtls_ssl_ciphersuite_t* mbedtls_ssl_ciphersuite_from_id | ( | int | ciphersuite | ) |
const mbedtls_ssl_ciphersuite_t* mbedtls_ssl_ciphersuite_from_string | ( | const char * | ciphersuite_name | ) |
int mbedtls_ssl_ciphersuite_uses_ec | ( | const mbedtls_ssl_ciphersuite_t * | info | ) |
int mbedtls_ssl_ciphersuite_uses_psk | ( | const mbedtls_ssl_ciphersuite_t * | info | ) |
int mbedtls_ssl_get_ciphersuite_id | ( | const char * | ciphersuite_name | ) |
Return the ID of the ciphersuite associated with the given name.
ciphersuite_name | SSL ciphersuite name |
Return the name of the ciphersuite associated with the given ID.
ciphersuite_id | SSL ciphersuite ID |
mbedtls_pk_type_t mbedtls_ssl_get_ciphersuite_sig_alg | ( | const mbedtls_ssl_ciphersuite_t * | info | ) |
mbedtls_pk_type_t mbedtls_ssl_get_ciphersuite_sig_pk_alg | ( | const mbedtls_ssl_ciphersuite_t * | info | ) |
Returns the list of ciphersuites supported by the SSL/TLS module.
|
static |
|
static |
|
static |
|
static |