#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) |
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 | |||
) |
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 |