The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Crypto function declarations. More...
Go to the source code of this file.
Functions | |
int | eap_fast_decrypt (uint8_t const *ciphertext, size_t ciphertext_len, uint8_t const *aad, size_t aad_len, uint8_t const *tag, uint8_t const *key, uint8_t const *iv, uint8_t *plaintext) |
int | eap_fast_encrypt (uint8_t const *plaintext, size_t plaintext_len, uint8_t const *aad, size_t aad_len, uint8_t const *key, uint8_t *iv, unsigned char *ciphertext, uint8_t *tag) |
void | eap_fast_tls_gen_challenge (SSL *ssl, uint8_t *buffer, uint8_t *scratch, size_t size, char const *prf_label) |
void | T_PRF (unsigned char const *secret, unsigned int secret_len, char const *prf_label, unsigned char const *seed, unsigned int seed_len, unsigned char *out, unsigned int out_len)) |
Crypto function declarations.
Definition in file eap_fast_crypto.h.
int eap_fast_decrypt | ( | uint8_t const * | ciphertext, |
size_t | ciphertext_len, | ||
uint8_t const * | aad, | ||
size_t | aad_len, | ||
uint8_t const * | tag, | ||
uint8_t const * | key, | ||
uint8_t const * | iv, | ||
uint8_t * | plaintext | ||
) |
Definition at line 154 of file eap_fast_crypto.c.
int eap_fast_encrypt | ( | uint8_t const * | plaintext, |
size_t | plaintext_len, | ||
uint8_t const * | aad, | ||
size_t | aad_len, | ||
uint8_t const * | key, | ||
uint8_t * | iv, | ||
unsigned char * | ciphertext, | ||
uint8_t * | tag | ||
) |
Definition at line 99 of file eap_fast_crypto.c.
void eap_fast_tls_gen_challenge | ( | SSL * | ssl, |
uint8_t * | buffer, | ||
uint8_t * | scratch, | ||
size_t | size, | ||
char const * | prf_label | ||
) |
Definition at line 308 of file eap_fast_crypto.c.
void T_PRF | ( | unsigned char const * | secret, |
unsigned int | secret_len, | ||
char const * | prf_label, | ||
unsigned char const * | seed, | ||
unsigned int | seed_len, | ||
unsigned char * | out, | ||
unsigned int | out_len | ||
) |
Definition at line 42 of file eap_fast_crypto.c.