OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
t1_enc.c File Reference
#include <stdio.h>
#include "ssl_locl.h"
#include <openssl/comp.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/md5.h>
#include <openssl/rand.h>

Go to the source code of this file.

Functions

int tls1_change_cipher_state (SSL *s, int which)
 
int tls1_setup_key_block (SSL *s)
 
int tls1_enc (SSL *s, int send)
 
int tls1_cert_verify_mac (SSL *s, int md_nid, unsigned char *out)
 
int tls1_final_finish_mac (SSL *s, const char *str, int slen, unsigned char *out)
 
int tls1_mac (SSL *ssl, unsigned char *md, int send)
 
int tls1_generate_master_secret (SSL *s, unsigned char *out, unsigned char *p, int len)
 
int tls1_export_keying_material (SSL *s, unsigned char *out, size_t olen, const char *label, size_t llen, const unsigned char *context, size_t contextlen, int use_context)
 
int tls1_alert_code (int code)
 

Function Documentation

int tls1_alert_code ( int  code)

Definition at line 1216 of file t1_enc.c.

int tls1_cert_verify_mac ( SSL s,
int  md_nid,
unsigned char *  out 
)

Definition at line 904 of file t1_enc.c.

int tls1_change_cipher_state ( SSL s,
int  which 
)

Definition at line 319 of file t1_enc.c.

int tls1_enc ( SSL s,
int  send 
)

Definition at line 670 of file t1_enc.c.

int tls1_export_keying_material ( SSL s,
unsigned char *  out,
size_t  olen,
const char *  label,
size_t  llen,
const unsigned char *  context,
size_t  contextlen,
int  use_context 
)

Definition at line 1127 of file t1_enc.c.

int tls1_final_finish_mac ( SSL s,
const char *  str,
int  slen,
unsigned char *  out 
)

Definition at line 934 of file t1_enc.c.

int tls1_generate_master_secret ( SSL s,
unsigned char *  out,
unsigned char *  p,
int  len 
)

Definition at line 1078 of file t1_enc.c.

int tls1_mac ( SSL ssl,
unsigned char *  md,
int  send 
)

Definition at line 988 of file t1_enc.c.

int tls1_setup_key_block ( SSL s)

Definition at line 578 of file t1_enc.c.