OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
s3_lib.c File Reference
#include <stdio.h>
#include <openssl/objects.h>
#include "ssl_locl.h"
#include "kssl_lcl.h"
#include "../crypto/ec/ec_lcl.h"
#include <openssl/md5.h>
#include <openssl/dh.h>

Go to the source code of this file.

Macros

#define SSL3_NUM_CIPHERS   (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER))
 

Functions

long ssl3_default_timeout (void)
 
int ssl3_num_ciphers (void)
 
const SSL_CIPHERssl3_get_cipher (unsigned int u)
 
int ssl3_pending (const SSL *s)
 
int ssl3_new (SSL *s)
 
void ssl3_free (SSL *s)
 
void ssl3_clear (SSL *s)
 
long ssl3_ctrl (SSL *s, int cmd, long larg, void *parg)
 
long ssl3_callback_ctrl (SSL *s, int cmd, void(*fp)(void))
 
long ssl3_ctx_ctrl (SSL_CTX *ctx, int cmd, long larg, void *parg)
 
long ssl3_ctx_callback_ctrl (SSL_CTX *ctx, int cmd, void(*fp)(void))
 
const SSL_CIPHERssl3_get_cipher_by_char (const unsigned char *p)
 
int ssl3_put_cipher_by_char (const SSL_CIPHER *c, unsigned char *p)
 
SSL_CIPHERssl3_choose_cipher (SSL *s, STACK_OF(SSL_CIPHER)*clnt, STACK_OF(SSL_CIPHER)*srvr)
 
int ssl3_get_req_cert_type (SSL *s, unsigned char *p)
 
int ssl3_shutdown (SSL *s)
 
int ssl3_write (SSL *s, const void *buf, int len)
 
int ssl3_read (SSL *s, void *buf, int len)
 
int ssl3_peek (SSL *s, void *buf, int len)
 
int ssl3_renegotiate (SSL *s)
 
int ssl3_renegotiate_check (SSL *s)
 
long ssl_get_algorithm2 (SSL *s)
 

Variables

const char ssl3_version_str [] ="SSLv3" OPENSSL_VERSION_PTEXT
 
OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers []
 
SSL3_ENC_METHOD SSLv3_enc_data
 

Macro Definition Documentation

#define SSL3_NUM_CIPHERS   (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER))

Definition at line 167 of file s3_lib.c.

Function Documentation

long ssl3_callback_ctrl ( SSL s,
int  cmd,
void(*)(void fp 
)

Definition at line 3359 of file s3_lib.c.

SSL_CIPHER* ssl3_choose_cipher ( SSL s,
STACK_OF(SSL_CIPHER)*  clnt,
STACK_OF(SSL_CIPHER)*  srvr 
)

Definition at line 3752 of file s3_lib.c.

void ssl3_clear ( SSL s)

Definition at line 3002 of file s3_lib.c.

long ssl3_ctrl ( SSL s,
int  cmd,
long  larg,
void parg 
)

Definition at line 3086 of file s3_lib.c.

long ssl3_ctx_callback_ctrl ( SSL_CTX ctx,
int  cmd,
void(*)(void fp 
)

Definition at line 3646 of file s3_lib.c.

long ssl3_ctx_ctrl ( SSL_CTX ctx,
int  cmd,
long  larg,
void parg 
)

Definition at line 3416 of file s3_lib.c.

long ssl3_default_timeout ( void  )

Definition at line 2912 of file s3_lib.c.

void ssl3_free ( SSL s)

Definition at line 2960 of file s3_lib.c.

const SSL_CIPHER* ssl3_get_cipher ( unsigned int  u)

Definition at line 2924 of file s3_lib.c.

const SSL_CIPHER* ssl3_get_cipher_by_char ( const unsigned char *  p)

Definition at line 3720 of file s3_lib.c.

int ssl3_get_req_cert_type ( SSL s,
unsigned char *  p 
)

Definition at line 4026 of file s3_lib.c.

int ssl3_new ( SSL s)

Definition at line 2940 of file s3_lib.c.

int ssl3_num_ciphers ( void  )

Definition at line 2919 of file s3_lib.c.

int ssl3_peek ( SSL s,
void buf,
int  len 
)

Definition at line 4230 of file s3_lib.c.

int ssl3_pending ( const SSL s)

Definition at line 2932 of file s3_lib.c.

int ssl3_put_cipher_by_char ( const SSL_CIPHER c,
unsigned char *  p 
)

Definition at line 3738 of file s3_lib.c.

int ssl3_read ( SSL s,
void buf,
int  len 
)

Definition at line 4225 of file s3_lib.c.

int ssl3_renegotiate ( SSL s)

Definition at line 4235 of file s3_lib.c.

int ssl3_renegotiate_check ( SSL s)

Definition at line 4247 of file s3_lib.c.

int ssl3_shutdown ( SSL s)

Definition at line 4092 of file s3_lib.c.

int ssl3_write ( SSL s,
const void buf,
int  len 
)

Definition at line 4147 of file s3_lib.c.

long ssl_get_algorithm2 ( SSL s)

Definition at line 4274 of file s3_lib.c.

Variable Documentation

OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]

Definition at line 170 of file s3_lib.c.

const char ssl3_version_str[] ="SSLv3" OPENSSL_VERSION_PTEXT

Definition at line 165 of file s3_lib.c.

SSL3_ENC_METHOD SSLv3_enc_data
Initial value:

Definition at line 2895 of file s3_lib.c.