gnutls_cipher_int.c File Reference

#include <gnutls_int.h>
#include <gnutls_errors.h>
#include <gnutls_cipher_int.h>
#include <gnutls_datum.h>

Include dependency graph for gnutls_cipher_int.c:

Go to the source code of this file.

Functions

cipher_hd_t MHD_gtls_cipher_init (enum MHD_GNUTLS_CipherAlgorithm cipher, const MHD_gnutls_datum_t *key, const MHD_gnutls_datum_t *iv)
int MHD_gtls_cipher_encrypt (cipher_hd_t handle, void *text, int textlen)
int MHD_gtls_cipher_decrypt (cipher_hd_t handle, void *ciphertext, int ciphertextlen)
void MHD_gnutls_cipher_deinit (cipher_hd_t handle)


Function Documentation

void MHD_gnutls_cipher_deinit ( cipher_hd_t  handle  ) 

Definition at line 103 of file gnutls_cipher_int.c.

References GNUTLS_CIPHER_FAILED, and MHD_gc_cipher_close().

Referenced by MHD__gnutls_deinit(), MHD_gtls_read_connection_state_init(), and MHD_gtls_write_connection_state_init().

Here is the call graph for this function:

Here is the caller graph for this function:

int MHD_gtls_cipher_decrypt ( cipher_hd_t  handle,
void *  ciphertext,
int  ciphertextlen 
)

Definition at line 87 of file gnutls_cipher_int.c.

References GNUTLS_CIPHER_FAILED, GNUTLS_E_INTERNAL_ERROR, MHD_gc_cipher_decrypt_inline(), and MHD_gnutls_assert.

Referenced by MHD_gtls_ciphertext2compressed().

Here is the call graph for this function:

Here is the caller graph for this function:

int MHD_gtls_cipher_encrypt ( cipher_hd_t  handle,
void *  text,
int  textlen 
)

Definition at line 73 of file gnutls_cipher_int.c.

References GNUTLS_CIPHER_FAILED, GNUTLS_E_INTERNAL_ERROR, MHD_gc_cipher_encrypt_inline(), and MHD_gnutls_assert.

Referenced by MHD_gtls_compressed2ciphertext().

Here is the call graph for this function:

Here is the caller graph for this function:

cipher_hd_t MHD_gtls_cipher_init ( enum MHD_GNUTLS_CipherAlgorithm  cipher,
const MHD_gnutls_datum_t key,
const MHD_gnutls_datum_t iv 
)


Generated on Sun Jul 26 17:22:13 2009 for GNU libmicrohttpd by  doxygen 1.5.9