The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
MPPE key calculation API. More...
#include <string.h>
#include <freeradius-devel/util/sha1.h>
#include <freeradius-devel/tls/base.h>
#include <freeradius-devel/tls/log.h>
#include "tls.h"
#include "base.h"
#include "attrs.h"
#include <openssl/hmac.h>
Go to the source code of this file.
Macros | |
#define | __STDC_WANT_LIB_EXT1__ 1 |
#define | EAP_TLS_MPPE_KEY_LEN 32 |
Functions | |
int | eap_crypto_mppe_keys (request_t *request, SSL *ssl, eap_tls_prf_label_t *prf_label) |
Generate keys according to RFC 5216 and add to the reply. More... | |
void | eap_crypto_prf_label_init (eap_tls_prf_label_t *prf_label, eap_session_t *eap_session, char const *keying_prf_label, size_t keying_prf_label_len) |
Initialize the PRF label fields. More... | |
int | eap_crypto_tls_session_id (TALLOC_CTX *ctx, request_t *request, SSL *ssl, eap_tls_prf_label_t *prf_label, uint8_t **out, uint8_t eap_type) |
MPPE key calculation API.
Definition in file crypto.c.
int eap_crypto_mppe_keys | ( | request_t * | request, |
SSL * | ssl, | ||
eap_tls_prf_label_t * | prf_label | ||
) |
void eap_crypto_prf_label_init | ( | eap_tls_prf_label_t * | prf_label, |
eap_session_t * | eap_session, | ||
char const * | keying_prf_label, | ||
size_t | keying_prf_label_len | ||
) |