mbed TLS v3.1.0
Data Structures | Macros | Typedefs | Enumerations | Functions
ssl_ciphersuites.h File Reference

SSL Ciphersuites for mbed TLS. More...

#include "mbedtls/private_access.h"
#include "mbedtls/build_info.h"
#include "mbedtls/pk.h"
#include "mbedtls/cipher.h"
#include "mbedtls/md.h"
Include dependency graph for ssl_ciphersuites.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mbedtls_ssl_ciphersuite_t
 This structure is used for storing ciphersuite information. More...
 

Macros

#define MBEDTLS_TLS_RSA_WITH_NULL_MD5   0x01
 
#define MBEDTLS_TLS_RSA_WITH_NULL_SHA   0x02
 
#define MBEDTLS_TLS_PSK_WITH_NULL_SHA   0x2C
 
#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA   0x2D
 
#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA   0x2E
 
#define MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA   0x2F
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA   0x33
 
#define MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA   0x35
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA   0x39
 
#define MBEDTLS_TLS_RSA_WITH_NULL_SHA256   0x3B
 
#define MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA256   0x3C
 
#define MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA256   0x3D
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA   0x41
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x45
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256   0x67
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256   0x6B
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA   0x84
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x88
 
#define MBEDTLS_TLS_PSK_WITH_AES_128_CBC_SHA   0x8C
 
#define MBEDTLS_TLS_PSK_WITH_AES_256_CBC_SHA   0x8D
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CBC_SHA   0x90
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CBC_SHA   0x91
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_CBC_SHA   0x94
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_CBC_SHA   0x95
 
#define MBEDTLS_TLS_RSA_WITH_AES_128_GCM_SHA256   0x9C
 
#define MBEDTLS_TLS_RSA_WITH_AES_256_GCM_SHA384   0x9D
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256   0x9E
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_GCM_SHA384   0x9F
 
#define MBEDTLS_TLS_PSK_WITH_AES_128_GCM_SHA256   0xA8
 
#define MBEDTLS_TLS_PSK_WITH_AES_256_GCM_SHA384   0xA9
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_GCM_SHA256   0xAA
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_GCM_SHA384   0xAB
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_GCM_SHA256   0xAC
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_GCM_SHA384   0xAD
 
#define MBEDTLS_TLS_PSK_WITH_AES_128_CBC_SHA256   0xAE
 
#define MBEDTLS_TLS_PSK_WITH_AES_256_CBC_SHA384   0xAF
 
#define MBEDTLS_TLS_PSK_WITH_NULL_SHA256   0xB0
 
#define MBEDTLS_TLS_PSK_WITH_NULL_SHA384   0xB1
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CBC_SHA256   0xB2
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CBC_SHA384   0xB3
 
#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA256   0xB4
 
#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA384   0xB5
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_CBC_SHA256   0xB6
 
#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_CBC_SHA384   0xB7
 
#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA256   0xB8
 
#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA384   0xB9
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xBA
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xBE
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256   0xC0
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256   0xC4
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_NULL_SHA   0xC001
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0xC004
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0xC005
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_NULL_SHA   0xC006
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0xC009
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0xC00A
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_NULL_SHA   0xC00B
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA   0xC00E
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA   0xC00F
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_NULL_SHA   0xC010
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA   0xC013
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA   0xC014
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256   0xC023
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384   0xC024
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256   0xC025
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384   0xC026
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256   0xC027
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384   0xC028
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256   0xC029
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384   0xC02A
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   0xC02B
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   0xC02C
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   0xC02D
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   0xC02E
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256   0xC02F
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   0xC030
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256   0xC031
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384   0xC032
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA   0xC035
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA   0xC036
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256   0xC037
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384   0xC038
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA   0xC039
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA256   0xC03A
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA384   0xC03B
 
#define MBEDTLS_TLS_RSA_WITH_ARIA_128_CBC_SHA256   0xC03C
 
#define MBEDTLS_TLS_RSA_WITH_ARIA_256_CBC_SHA384   0xC03D
 
#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256   0xC044
 
#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384   0xC045
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256   0xC048
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384   0xC049
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256   0xC04A
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384   0xC04B
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256   0xC04C
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384   0xC04D
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256   0xC04E
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384   0xC04F
 
#define MBEDTLS_TLS_RSA_WITH_ARIA_128_GCM_SHA256   0xC050
 
#define MBEDTLS_TLS_RSA_WITH_ARIA_256_GCM_SHA384   0xC051
 
#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256   0xC052
 
#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384   0xC053
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256   0xC05C
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384   0xC05D
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256   0xC05E
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384   0xC05F
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256   0xC060
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384   0xC061
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256   0xC062
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384   0xC063
 
#define MBEDTLS_TLS_PSK_WITH_ARIA_128_CBC_SHA256   0xC064
 
#define MBEDTLS_TLS_PSK_WITH_ARIA_256_CBC_SHA384   0xC065
 
#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256   0xC066
 
#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384   0xC067
 
#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256   0xC068
 
#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384   0xC069
 
#define MBEDTLS_TLS_PSK_WITH_ARIA_128_GCM_SHA256   0xC06A
 
#define MBEDTLS_TLS_PSK_WITH_ARIA_256_GCM_SHA384   0xC06B
 
#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256   0xC06C
 
#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384   0xC06D
 
#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256   0xC06E
 
#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384   0xC06F
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256   0xC070
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384   0xC071
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256   0xC072
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384   0xC073
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256   0xC074
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384   0xC075
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xC076
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384   0xC077
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xC078
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384   0xC079
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC07A
 
#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC07B
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC07C
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC07D
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256   0xC086
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384   0xC087
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256   0xC088
 
#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384   0xC089
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC08A
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC08B
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC08C
 
#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC08D
 
#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC08E
 
#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC08F
 
#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC090
 
#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC091
 
#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC092
 
#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC093
 
#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC094
 
#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC095
 
#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC096
 
#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC097
 
#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC098
 
#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC099
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC09A
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC09B
 
#define MBEDTLS_TLS_RSA_WITH_AES_128_CCM   0xC09C
 
#define MBEDTLS_TLS_RSA_WITH_AES_256_CCM   0xC09D
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM   0xC09E
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM   0xC09F
 
#define MBEDTLS_TLS_RSA_WITH_AES_128_CCM_8   0xC0A0
 
#define MBEDTLS_TLS_RSA_WITH_AES_256_CCM_8   0xC0A1
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM_8   0xC0A2
 
#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM_8   0xC0A3
 
#define MBEDTLS_TLS_PSK_WITH_AES_128_CCM   0xC0A4
 
#define MBEDTLS_TLS_PSK_WITH_AES_256_CCM   0xC0A5
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CCM   0xC0A6
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CCM   0xC0A7
 
#define MBEDTLS_TLS_PSK_WITH_AES_128_CCM_8   0xC0A8
 
#define MBEDTLS_TLS_PSK_WITH_AES_256_CCM_8   0xC0A9
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CCM_8   0xC0AA
 
#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CCM_8   0xC0AB
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM   0xC0AC
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM   0xC0AD
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8   0xC0AE
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8   0xC0AF
 
#define MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8   0xC0FF
 
#define MBEDTLS_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256   0xCCA8
 
#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256   0xCCA9
 
#define MBEDTLS_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256   0xCCAA
 
#define MBEDTLS_TLS_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAB
 
#define MBEDTLS_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAC
 
#define MBEDTLS_TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAD
 
#define MBEDTLS_TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAE
 
#define MBEDTLS_TLS1_3_AES_128_GCM_SHA256   0x1301
 
#define MBEDTLS_TLS1_3_AES_256_GCM_SHA384   0x1302
 
#define MBEDTLS_TLS1_3_CHACHA20_POLY1305_SHA256   0x1303
 
#define MBEDTLS_TLS1_3_AES_128_CCM_SHA256   0x1304
 
#define MBEDTLS_TLS1_3_AES_128_CCM_8_SHA256   0x1305
 
#define MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_CERT_REQ_ALLOWED_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_WITH_SERVER_SIGNATURE_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_ECDH_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_NON_PFS_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_PFS_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_DHE_ENABLED
 
#define MBEDTLS_KEY_EXCHANGE_SOME_ECDHE_ENABLED
 
#define MBEDTLS_CIPHERSUITE_WEAK   0x01
 
#define MBEDTLS_CIPHERSUITE_SHORT_TAG   0x02
 
#define MBEDTLS_CIPHERSUITE_NODTLS   0x04
 

Typedefs

typedef struct
mbedtls_ssl_ciphersuite_t 
mbedtls_ssl_ciphersuite_t
 

Enumerations

enum  mbedtls_key_exchange_type_t {
  MBEDTLS_KEY_EXCHANGE_NONE = 0, MBEDTLS_KEY_EXCHANGE_RSA, MBEDTLS_KEY_EXCHANGE_DHE_RSA, MBEDTLS_KEY_EXCHANGE_ECDHE_RSA,
  MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA, MBEDTLS_KEY_EXCHANGE_PSK, MBEDTLS_KEY_EXCHANGE_DHE_PSK, MBEDTLS_KEY_EXCHANGE_RSA_PSK,
  MBEDTLS_KEY_EXCHANGE_ECDHE_PSK, MBEDTLS_KEY_EXCHANGE_ECDH_RSA, MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA, MBEDTLS_KEY_EXCHANGE_ECJPAKE
}
 

Functions

const int * mbedtls_ssl_list_ciphersuites (void)
 
const mbedtls_ssl_ciphersuite_tmbedtls_ssl_ciphersuite_from_string (const char *ciphersuite_name)
 
const mbedtls_ssl_ciphersuite_tmbedtls_ssl_ciphersuite_from_id (int ciphersuite_id)
 
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)
 
static int mbedtls_ssl_ciphersuite_has_pfs (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_no_pfs (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_uses_ecdh (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_cert_req_allowed (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_uses_srv_cert (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_uses_dhe (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_uses_ecdhe (const mbedtls_ssl_ciphersuite_t *info)
 
static int mbedtls_ssl_ciphersuite_uses_server_signature (const mbedtls_ssl_ciphersuite_t *info)
 

Detailed Description

SSL Ciphersuites for mbed TLS.

Definition in file ssl_ciphersuites.h.

Macro Definition Documentation

#define MBEDTLS_CIPHERSUITE_NODTLS   0x04

Can't be used with DTLS

Definition at line 363 of file ssl_ciphersuites.h.

#define MBEDTLS_CIPHERSUITE_SHORT_TAG   0x02

Short authentication tag, eg for CCM_8

Definition at line 360 of file ssl_ciphersuites.h.

#define MBEDTLS_CIPHERSUITE_WEAK   0x01

Weak ciphersuite flag

Definition at line 359 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_CERT_REQ_ALLOWED_ENABLED

Definition at line 302 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_DHE_ENABLED

Definition at line 347 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_ECDH_ENABLED

Definition at line 315 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_ECDHE_ENABLED

Definition at line 354 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_NON_PFS_ENABLED

Definition at line 323 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_PFS_ENABLED

Definition at line 333 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED

Definition at line 341 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED

Definition at line 292 of file ssl_ciphersuites.h.

#define MBEDTLS_KEY_EXCHANGE_WITH_SERVER_SIGNATURE_ENABLED

Definition at line 309 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS1_3_AES_128_CCM_8_SHA256   0x1305

TLS 1.3

Definition at line 264 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS1_3_AES_128_CCM_SHA256   0x1304

TLS 1.3

Definition at line 263 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS1_3_AES_128_GCM_SHA256   0x1301

TLS 1.3

Definition at line 260 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS1_3_AES_256_GCM_SHA384   0x1302

TLS 1.3

Definition at line 261 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS1_3_CHACHA20_POLY1305_SHA256   0x1303

TLS 1.3

Definition at line 262 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CBC_SHA   0x90

Definition at line 67 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CBC_SHA256   0xB2

Definition at line 90 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CCM   0xC0A6

TLS 1.2

Definition at line 235 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_CCM_8   0xC0AA

TLS 1.2

Definition at line 239 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_128_GCM_SHA256   0xAA

TLS 1.2

Definition at line 80 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CBC_SHA   0x91

Definition at line 68 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CBC_SHA384   0xB3

Definition at line 91 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CCM   0xC0A7

TLS 1.2

Definition at line 236 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_CCM_8   0xC0AB

TLS 1.2

Definition at line 240 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_AES_256_GCM_SHA384   0xAB

TLS 1.2

Definition at line 81 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256   0xC066

TLS 1.2

Definition at line 174 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256   0xC06C

TLS 1.2

Definition at line 180 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384   0xC067

TLS 1.2

Definition at line 175 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384   0xC06D

TLS 1.2

Definition at line 181 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC096

Definition at line 218 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC090

TLS 1.2

Definition at line 211 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC097

Definition at line 219 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC091

TLS 1.2

Definition at line 212 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAD

TLS 1.2

Definition at line 256 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA   0x2D

Weak!

Definition at line 43 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA256   0xB4

Weak!

Definition at line 92 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_PSK_WITH_NULL_SHA384   0xB5

Weak!

Definition at line 93 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA   0x33

Definition at line 47 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256   0x67

TLS 1.2

Definition at line 58 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM   0xC09E

TLS 1.2

Definition at line 227 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM_8   0xC0A2

TLS 1.2

Definition at line 231 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256   0x9E

TLS 1.2

Definition at line 75 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA   0x39

Definition at line 49 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256   0x6B

TLS 1.2

Definition at line 59 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM   0xC09F

TLS 1.2

Definition at line 228 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM_8   0xC0A3

TLS 1.2

Definition at line 232 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_AES_256_GCM_SHA384   0x9F

TLS 1.2

Definition at line 76 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256   0xC044

TLS 1.2

Definition at line 150 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256   0xC052

TLS 1.2

Definition at line 162 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384   0xC045

TLS 1.2

Definition at line 151 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384   0xC053

TLS 1.2

Definition at line 163 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x45

Definition at line 56 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xBE

TLS 1.2

Definition at line 101 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC07C

TLS 1.2

Definition at line 198 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x88

Definition at line 62 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256   0xC4

TLS 1.2

Definition at line 104 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC07D

TLS 1.2

Definition at line 199 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256   0xCCAA

TLS 1.2

Definition at line 253 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0xC004

Definition at line 107 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256   0xC025

TLS 1.2

Definition at line 124 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   0xC02D

TLS 1.2

Definition at line 133 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0xC005

Definition at line 108 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384   0xC026

TLS 1.2

Definition at line 125 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   0xC02E

TLS 1.2

Definition at line 134 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256   0xC04A

TLS 1.2

Definition at line 154 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256   0xC05E

TLS 1.2

Definition at line 166 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384   0xC04B

TLS 1.2

Definition at line 155 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384   0xC05F

TLS 1.2

Definition at line 167 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256   0xC074

Definition at line 189 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256   0xC088

TLS 1.2

Definition at line 202 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384   0xC075

Definition at line 190 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384   0xC089

TLS 1.2

Definition at line 203 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_ECDSA_WITH_NULL_SHA   0xC001

Weak!

Definition at line 106 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA   0xC00E

Definition at line 115 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256   0xC029

TLS 1.2

Definition at line 128 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256   0xC031

TLS 1.2

Definition at line 137 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA   0xC00F

Definition at line 116 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384   0xC02A

TLS 1.2

Definition at line 129 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384   0xC032

TLS 1.2

Definition at line 138 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256   0xC04E

TLS 1.2

Definition at line 158 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256   0xC062

TLS 1.2

Definition at line 170 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384   0xC04F

TLS 1.2

Definition at line 159 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384   0xC063

TLS 1.2

Definition at line 171 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xC078

Definition at line 193 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC08C

TLS 1.2

Definition at line 206 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384   0xC079

Definition at line 194 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC08D

TLS 1.2

Definition at line 207 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDH_RSA_WITH_NULL_SHA   0xC00B

Weak!

Definition at line 114 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0xC009

Definition at line 111 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256   0xC023

TLS 1.2

Definition at line 122 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM   0xC0AC

TLS 1.2

Definition at line 243 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8   0xC0AE

TLS 1.2

Definition at line 245 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   0xC02B

TLS 1.2

Definition at line 131 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0xC00A

Definition at line 112 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384   0xC024

TLS 1.2

Definition at line 123 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM   0xC0AD

TLS 1.2

Definition at line 244 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8   0xC0AF

TLS 1.2

Definition at line 246 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   0xC02C

TLS 1.2

Definition at line 132 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256   0xC048

TLS 1.2

Definition at line 152 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256   0xC05C

TLS 1.2

Definition at line 164 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384   0xC049

TLS 1.2

Definition at line 153 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384   0xC05D

TLS 1.2

Definition at line 165 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256   0xC072

Definition at line 187 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256   0xC086

TLS 1.2

Definition at line 200 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384   0xC073

Definition at line 188 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384   0xC087

TLS 1.2

Definition at line 201 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256   0xCCA9

TLS 1.2

Definition at line 252 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_ECDSA_WITH_NULL_SHA   0xC006

Weak!

Definition at line 110 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA   0xC035

Definition at line 140 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256   0xC037

Definition at line 142 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA   0xC036

Definition at line 141 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384   0xC038

Definition at line 143 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256   0xC070

TLS 1.2

Definition at line 184 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384   0xC071

TLS 1.2

Definition at line 185 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC09A

Definition at line 222 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC09B

Definition at line 223 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAC

TLS 1.2

Definition at line 255 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA   0xC039

Definition at line 144 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA256   0xC03A

Definition at line 145 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_PSK_WITH_NULL_SHA384   0xC03B

Definition at line 146 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA   0xC013

Definition at line 119 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256   0xC027

TLS 1.2

Definition at line 126 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256   0xC02F

TLS 1.2

Definition at line 135 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA   0xC014

Definition at line 120 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384   0xC028

TLS 1.2

Definition at line 127 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   0xC030

TLS 1.2

Definition at line 136 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256   0xC04C

TLS 1.2

Definition at line 156 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256   0xC060

TLS 1.2

Definition at line 168 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384   0xC04D

TLS 1.2

Definition at line 157 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384   0xC061

TLS 1.2

Definition at line 169 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xC076

Definition at line 191 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC08A

TLS 1.2

Definition at line 204 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384   0xC077

Definition at line 192 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC08B

TLS 1.2

Definition at line 205 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256   0xCCA8

TLS 1.2

Definition at line 251 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECDHE_RSA_WITH_NULL_SHA   0xC010

Weak!

Definition at line 118 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8   0xC0FF

experimental

Definition at line 248 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_128_CBC_SHA   0x8C

Definition at line 64 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_128_CBC_SHA256   0xAE

Definition at line 85 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_128_CCM   0xC0A4

TLS 1.2

Definition at line 233 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_128_CCM_8   0xC0A8

TLS 1.2

Definition at line 237 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_128_GCM_SHA256   0xA8

TLS 1.2

Definition at line 78 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_256_CBC_SHA   0x8D

Definition at line 65 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_256_CBC_SHA384   0xAF

Definition at line 86 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_256_CCM   0xC0A5

TLS 1.2

Definition at line 234 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_256_CCM_8   0xC0A9

TLS 1.2

Definition at line 238 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_AES_256_GCM_SHA384   0xA9

TLS 1.2

Definition at line 79 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_ARIA_128_CBC_SHA256   0xC064

TLS 1.2

Definition at line 172 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_ARIA_128_GCM_SHA256   0xC06A

TLS 1.2

Definition at line 178 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_ARIA_256_CBC_SHA384   0xC065

TLS 1.2

Definition at line 173 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_ARIA_256_GCM_SHA384   0xC06B

TLS 1.2

Definition at line 179 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC094

Definition at line 216 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC08E

TLS 1.2

Definition at line 209 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC095

Definition at line 217 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC08F

TLS 1.2

Definition at line 210 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAB

TLS 1.2

Definition at line 254 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_NULL_SHA   0x2C

Weak!

Definition at line 42 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_NULL_SHA256   0xB0

Weak!

Definition at line 87 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_PSK_WITH_NULL_SHA384   0xB1

Weak!

Definition at line 88 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_CBC_SHA   0x94

Definition at line 70 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_CBC_SHA256   0xB6

Definition at line 95 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_128_GCM_SHA256   0xAC

TLS 1.2

Definition at line 82 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_CBC_SHA   0x95

Definition at line 71 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_CBC_SHA384   0xB7

Definition at line 96 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_AES_256_GCM_SHA384   0xAD

TLS 1.2

Definition at line 83 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256   0xC068

TLS 1.2

Definition at line 176 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256   0xC06E

TLS 1.2

Definition at line 182 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384   0xC069

TLS 1.2

Definition at line 177 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384   0xC06F

TLS 1.2

Definition at line 183 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256   0xC098

Definition at line 220 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256   0xC092

TLS 1.2

Definition at line 213 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384   0xC099

Definition at line 221 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384   0xC093

TLS 1.2

Definition at line 214 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256   0xCCAE

TLS 1.2

Definition at line 257 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA   0x2E

Weak!

Definition at line 44 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA256   0xB8

Weak!

Definition at line 97 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_PSK_WITH_NULL_SHA384   0xB9

Weak!

Definition at line 98 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA   0x2F

Definition at line 45 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA256   0x3C

TLS 1.2

Definition at line 52 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_128_CCM   0xC09C

TLS 1.2

Definition at line 225 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_128_CCM_8   0xC0A0

TLS 1.2

Definition at line 229 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_128_GCM_SHA256   0x9C

TLS 1.2

Definition at line 73 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA   0x35

Definition at line 48 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA256   0x3D

TLS 1.2

Definition at line 53 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_256_CCM   0xC09D

TLS 1.2

Definition at line 226 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_256_CCM_8   0xC0A1

TLS 1.2

Definition at line 230 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_AES_256_GCM_SHA384   0x9D

TLS 1.2

Definition at line 74 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_ARIA_128_CBC_SHA256   0xC03C

TLS 1.2

Definition at line 148 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_ARIA_128_GCM_SHA256   0xC050

TLS 1.2

Definition at line 160 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_ARIA_256_CBC_SHA384   0xC03D

TLS 1.2

Definition at line 149 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_ARIA_256_GCM_SHA384   0xC051

TLS 1.2

Definition at line 161 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA   0x41

Definition at line 55 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256   0xBA

TLS 1.2

Definition at line 100 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256   0xC07A

TLS 1.2

Definition at line 196 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA   0x84

Definition at line 61 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256   0xC0

TLS 1.2

Definition at line 103 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384   0xC07B

TLS 1.2

Definition at line 197 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_NULL_MD5   0x01

Weak!

Definition at line 39 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_NULL_SHA   0x02

Weak!

Definition at line 40 of file ssl_ciphersuites.h.

#define MBEDTLS_TLS_RSA_WITH_NULL_SHA256   0x3B

Weak!

Definition at line 51 of file ssl_ciphersuites.h.

Typedef Documentation

Definition at line 357 of file ssl_ciphersuites.h.

Enumeration Type Documentation

Enumerator
MBEDTLS_KEY_EXCHANGE_NONE 
MBEDTLS_KEY_EXCHANGE_RSA 
MBEDTLS_KEY_EXCHANGE_DHE_RSA 
MBEDTLS_KEY_EXCHANGE_ECDHE_RSA 
MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA 
MBEDTLS_KEY_EXCHANGE_PSK 
MBEDTLS_KEY_EXCHANGE_DHE_PSK 
MBEDTLS_KEY_EXCHANGE_RSA_PSK 
MBEDTLS_KEY_EXCHANGE_ECDHE_PSK 
MBEDTLS_KEY_EXCHANGE_ECDH_RSA 
MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA 
MBEDTLS_KEY_EXCHANGE_ECJPAKE 

Definition at line 269 of file ssl_ciphersuites.h.

Function Documentation

static int mbedtls_ssl_ciphersuite_cert_req_allowed ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
const mbedtls_ssl_ciphersuite_t* mbedtls_ssl_ciphersuite_from_id ( int  ciphersuite_id)
const mbedtls_ssl_ciphersuite_t* mbedtls_ssl_ciphersuite_from_string ( const char *  ciphersuite_name)
static int mbedtls_ssl_ciphersuite_has_pfs ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
static int mbedtls_ssl_ciphersuite_no_pfs ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
static int mbedtls_ssl_ciphersuite_uses_dhe ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
int mbedtls_ssl_ciphersuite_uses_ec ( const mbedtls_ssl_ciphersuite_t info)
static int mbedtls_ssl_ciphersuite_uses_ecdh ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
static int mbedtls_ssl_ciphersuite_uses_ecdhe ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
int mbedtls_ssl_ciphersuite_uses_psk ( const mbedtls_ssl_ciphersuite_t info)
static int mbedtls_ssl_ciphersuite_uses_server_signature ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
static int mbedtls_ssl_ciphersuite_uses_srv_cert ( const mbedtls_ssl_ciphersuite_t info)
inlinestatic
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)
const int* mbedtls_ssl_list_ciphersuites ( void  )