#include <stdio.h>
#include <openssl/objects.h>
#include <openssl/comp.h>
#include <openssl/engine.h>
#include "ssl_locl.h"
Go to the source code of this file.
Classes | |
struct | cipher_order_st |
Macros | |
#define | SSL_ENC_DES_IDX 0 |
#define | SSL_ENC_3DES_IDX 1 |
#define | SSL_ENC_RC4_IDX 2 |
#define | SSL_ENC_RC2_IDX 3 |
#define | SSL_ENC_IDEA_IDX 4 |
#define | SSL_ENC_NULL_IDX 5 |
#define | SSL_ENC_AES128_IDX 6 |
#define | SSL_ENC_AES256_IDX 7 |
#define | SSL_ENC_CAMELLIA128_IDX 8 |
#define | SSL_ENC_CAMELLIA256_IDX 9 |
#define | SSL_ENC_GOST89_IDX 10 |
#define | SSL_ENC_SEED_IDX 11 |
#define | SSL_ENC_AES128GCM_IDX 12 |
#define | SSL_ENC_AES256GCM_IDX 13 |
#define | SSL_ENC_NUM_IDX 14 |
#define | SSL_COMP_NULL_IDX 0 |
#define | SSL_COMP_ZLIB_IDX 1 |
#define | SSL_COMP_NUM_IDX 2 |
#define | SSL_MD_MD5_IDX 0 |
#define | SSL_MD_SHA1_IDX 1 |
#define | SSL_MD_GOST94_IDX 2 |
#define | SSL_MD_GOST89MAC_IDX 3 |
#define | SSL_MD_SHA256_IDX 4 |
#define | SSL_MD_SHA384_IDX 5 |
#define | SSL_MD_NUM_IDX SSL_MAX_DIGEST |
#define | CIPHER_ADD 1 |
#define | CIPHER_KILL 2 |
#define | CIPHER_DEL 3 |
#define | CIPHER_ORD 4 |
#define | CIPHER_SPECIAL 5 |
#define | ITEM_SEP(a) (((a) == ':') || ((a) == ' ') || ((a) == ';') || ((a) == ',')) |
Typedefs | |
typedef struct cipher_order_st | CIPHER_ORDER |
Functions | |
void | ssl_load_ciphers (void) |
int | ssl_cipher_get_evp (const SSL_SESSION *s, const EVP_CIPHER **enc, const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size, SSL_COMP **comp) |
int | ssl_get_handshake_digest (int idx, long *mask, const EVP_MD **md) |
STACK_OF (SSL_CIPHER) | |
char * | SSL_CIPHER_description (const SSL_CIPHER *cipher, char *buf, int len) |
char * | SSL_CIPHER_get_version (const SSL_CIPHER *c) |
const char * | SSL_CIPHER_get_name (const SSL_CIPHER *c) |
int | SSL_CIPHER_get_bits (const SSL_CIPHER *c, int *alg_bits) |
unsigned long | SSL_CIPHER_get_id (const SSL_CIPHER *c) |
SSL_COMP * | ssl3_comp_find (STACK_OF(SSL_COMP)*sk, int n) |
int | SSL_COMP_add_compression_method (int id, COMP_METHOD *cm) |
const char * | SSL_COMP_get_name (const COMP_METHOD *comp) |
#define CIPHER_ADD 1 |
Definition at line 212 of file ssl_ciph.c.
#define CIPHER_DEL 3 |
Definition at line 214 of file ssl_ciph.c.
#define CIPHER_KILL 2 |
Definition at line 213 of file ssl_ciph.c.
#define CIPHER_ORD 4 |
Definition at line 215 of file ssl_ciph.c.
#define CIPHER_SPECIAL 5 |
Definition at line 216 of file ssl_ciph.c.
Definition at line 660 of file ssl_ciph.c.
#define SSL_COMP_NULL_IDX 0 |
Definition at line 174 of file ssl_ciph.c.
#define SSL_COMP_NUM_IDX 2 |
Definition at line 176 of file ssl_ciph.c.
#define SSL_COMP_ZLIB_IDX 1 |
Definition at line 175 of file ssl_ciph.c.
#define SSL_ENC_3DES_IDX 1 |
Definition at line 154 of file ssl_ciph.c.
#define SSL_ENC_AES128_IDX 6 |
Definition at line 159 of file ssl_ciph.c.
#define SSL_ENC_AES128GCM_IDX 12 |
Definition at line 165 of file ssl_ciph.c.
#define SSL_ENC_AES256_IDX 7 |
Definition at line 160 of file ssl_ciph.c.
#define SSL_ENC_AES256GCM_IDX 13 |
Definition at line 166 of file ssl_ciph.c.
#define SSL_ENC_CAMELLIA128_IDX 8 |
Definition at line 161 of file ssl_ciph.c.
#define SSL_ENC_CAMELLIA256_IDX 9 |
Definition at line 162 of file ssl_ciph.c.
#define SSL_ENC_DES_IDX 0 |
Definition at line 153 of file ssl_ciph.c.
#define SSL_ENC_GOST89_IDX 10 |
Definition at line 163 of file ssl_ciph.c.
#define SSL_ENC_IDEA_IDX 4 |
Definition at line 157 of file ssl_ciph.c.
#define SSL_ENC_NULL_IDX 5 |
Definition at line 158 of file ssl_ciph.c.
#define SSL_ENC_NUM_IDX 14 |
Definition at line 167 of file ssl_ciph.c.
#define SSL_ENC_RC2_IDX 3 |
Definition at line 156 of file ssl_ciph.c.
#define SSL_ENC_RC4_IDX 2 |
Definition at line 155 of file ssl_ciph.c.
#define SSL_ENC_SEED_IDX 11 |
Definition at line 164 of file ssl_ciph.c.
#define SSL_MD_GOST89MAC_IDX 3 |
#define SSL_MD_GOST94_IDX 2 |
#define SSL_MD_MD5_IDX 0 |
#define SSL_MD_NUM_IDX SSL_MAX_DIGEST |
#define SSL_MD_SHA1_IDX 1 |
#define SSL_MD_SHA256_IDX 4 |
#define SSL_MD_SHA384_IDX 5 |
typedef struct cipher_order_st CIPHER_ORDER |
Definition at line 1761 of file ssl_ciph.c.
char* SSL_CIPHER_description | ( | const SSL_CIPHER * | cipher, |
char * | buf, | ||
int | len | ||
) |
Definition at line 1534 of file ssl_ciph.c.
int SSL_CIPHER_get_bits | ( | const SSL_CIPHER * | c, |
int * | alg_bits | ||
) |
Definition at line 1744 of file ssl_ciph.c.
int ssl_cipher_get_evp | ( | const SSL_SESSION * | s, |
const EVP_CIPHER ** | enc, | ||
const EVP_MD ** | md, | ||
int * | mac_pkey_type, | ||
int * | mac_secret_size, | ||
SSL_COMP ** | comp | ||
) |
Definition at line 486 of file ssl_ciph.c.
unsigned long SSL_CIPHER_get_id | ( | const SSL_CIPHER * | c | ) |
Definition at line 1756 of file ssl_ciph.c.
const char* SSL_CIPHER_get_name | ( | const SSL_CIPHER * | c | ) |
Definition at line 1736 of file ssl_ciph.c.
char* SSL_CIPHER_get_version | ( | const SSL_CIPHER * | c | ) |
Definition at line 1721 of file ssl_ciph.c.
int SSL_COMP_add_compression_method | ( | int | id, |
COMP_METHOD * | cm | ||
) |
Definition at line 1798 of file ssl_ciph.c.
const char* SSL_COMP_get_name | ( | const COMP_METHOD * | comp | ) |
Definition at line 1845 of file ssl_ciph.c.
int ssl_get_handshake_digest | ( | int | idx, |
long * | mask, | ||
const EVP_MD ** | md | ||
) |
Definition at line 646 of file ssl_ciph.c.
Definition at line 364 of file ssl_ciph.c.
STACK_OF | ( | SSL_CIPHER | ) |
Definition at line 1352 of file ssl_ciph.c.