gnutls_cipher.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int MHD_gtls_encrypt (MHD_gtls_session_t session, const opaque *headers, size_t headers_size, const opaque *data, size_t data_size, opaque *ciphertext, size_t ciphertext_size, content_type_t type, int random_pad)
int MHD_gtls_decrypt (MHD_gtls_session_t session, opaque *ciphertext, size_t ciphertext_size, uint8_t *data, size_t data_size, content_type_t type)
int MHD_gtls_compressed2ciphertext (MHD_gtls_session_t session, opaque *cipher_data, int cipher_size, MHD_gnutls_datum_t compressed, content_type_t _type, int random_pad)
int MHD_gtls_ciphertext2compressed (MHD_gtls_session_t session, opaque *compress_data, int compress_size, MHD_gnutls_datum_t ciphertext, uint8_t type)


Function Documentation

int MHD_gtls_ciphertext2compressed ( MHD_gtls_session_t  session,
opaque compress_data,
int  compress_size,
MHD_gnutls_datum_t  ciphertext,
uint8_t  type 
)

int MHD_gtls_compressed2ciphertext ( MHD_gtls_session_t  session,
opaque cipher_data,
int  cipher_size,
MHD_gnutls_datum_t  compressed,
content_type_t  _type,
int  random_pad 
)

int MHD_gtls_decrypt ( MHD_gtls_session_t  session,
opaque ciphertext,
size_t  ciphertext_size,
uint8_t *  data,
size_t  data_size,
content_type_t  type 
)

Definition at line 89 of file gnutls_cipher.c.

References MHD_gnutls_datum_t::data, MHD_gtls_ciphertext2compressed(), and MHD_gnutls_datum_t::size.

Referenced by MHD_gtls_recv_int().

Here is the call graph for this function:

Here is the caller graph for this function:

int MHD_gtls_encrypt ( MHD_gtls_session_t  session,
const opaque headers,
size_t  headers_size,
const opaque data,
size_t  data_size,
opaque ciphertext,
size_t  ciphertext_size,
content_type_t  type,
int  random_pad 
)

Definition at line 49 of file gnutls_cipher.c.

References MHD_gnutls_datum_t::data, MHD__gnutls_free_datum, MHD_gnutls_assert, MHD_gtls_compressed2ciphertext(), MHD_gtls_write_uint16(), and MHD_gnutls_datum_t::size.

Referenced by MHD_gtls_send_int().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri Feb 27 18:33:12 2009 for GNU libmicrohttpd by  doxygen 1.5.7.1