openssl_crypt.h File Reference

#include <openssl/evp.h>
#include <openssl_cipher_ctx.h>
#include <openssl_constants.h>
#include <axis2_util.h>

Go to the source code of this file.

Functions

AXIS2_EXTERN int openssl_block_cipher_crypt (const axis2_env_t *env, openssl_cipher_ctx_t *oc_ctx, unsigned char *in_main_buf, int in_main_len, unsigned char **out_main_buf, int do_encrypt)


Detailed Description


Function Documentation

AXIS2_EXTERN int openssl_block_cipher_crypt ( const axis2_env_t env,
openssl_cipher_ctx_t oc_ctx,
unsigned char *  in_main_buf,
int  in_main_len,
unsigned char **  out_main_buf,
int  do_encrypt 
)

Parameters:
bc_ctx block cipher context
in_buf buffer to en/decrypt
out_buf buffer to place the en/decrypted data
do_encrypt 1 to encrypt 0 to decrypt
Returns:
-1 if failed


Generated on Wed Dec 20 20:14:11 2006 for Axis2/C by  doxygen 1.5.1