#include "eap_tls.h"
#include <openssl/hmac.h>
Go to the source code of this file.
|
void | eap_tls_gen_eap_key (RADIUS_PACKET *packet, SSL *s, uint32_t header) |
|
void | eap_tls_gen_mppe_keys (REQUEST *request, SSL *s, char const *prf_label) |
| Generate keys according to RFC 2716 and add to the reply. More...
|
|
void | eap_ttls_gen_challenge (SSL *s, uint8_t *buffer, size_t size) |
|
static
USES_APPLE_DEPRECATED_API void | P_hash (EVP_MD const *evp_md, unsigned char const *secret, unsigned int secret_len, unsigned char const *seed, unsigned int seed_len, unsigned char *out, unsigned int out_len) |
|
static void | PRF (unsigned char const *secret, unsigned int secret_len, unsigned char const *seed, unsigned int seed_len, unsigned char *out, unsigned char *buf, unsigned int out_len) |
|
#define EAPTLS_MPPE_KEY_LEN 32 |
#define FR_TLS_PRF_CHALLENGE "ttls challenge" |
void eap_tls_gen_eap_key |
( |
RADIUS_PACKET * |
packet, |
|
|
SSL * |
s, |
|
|
uint32_t |
header |
|
) |
| |
void eap_tls_gen_mppe_keys |
( |
REQUEST * |
request, |
|
|
SSL * |
s, |
|
|
char const * |
prf_label |
|
) |
| |
Generate keys according to RFC 2716 and add to the reply.
Definition at line 108 of file mppe_keys.c.
void eap_ttls_gen_challenge |
( |
SSL * |
s, |
|
|
uint8_t * |
buffer, |
|
|
size_t |
size |
|
) |
| |
static USES_APPLE_DEPRECATED_API void P_hash |
( |
EVP_MD const * |
evp_md, |
|
|
unsigned char const * |
secret, |
|
|
unsigned int |
secret_len, |
|
|
unsigned char const * |
seed, |
|
|
unsigned int |
seed_len, |
|
|
unsigned char * |
out, |
|
|
unsigned int |
out_len |
|
) |
| |
|
static |
static void PRF |
( |
unsigned char const * |
secret, |
|
|
unsigned int |
secret_len, |
|
|
unsigned char const * |
seed, |
|
|
unsigned int |
seed_len, |
|
|
unsigned char * |
out, |
|
|
unsigned char * |
buf, |
|
|
unsigned int |
out_len |
|
) |
| |
|
static |