version 1.11.2.22, 2011/10/04 14:33:32
|
version 1.11.2.23, 2011/10/07 09:14:40
|
Line 51 SUCH DAMAGE.
|
Line 51 SUCH DAMAGE.
|
|
|
#include <assert.h> |
#include <assert.h> |
#include <openssl/evp.h> |
#include <openssl/evp.h> |
|
#include <openssl/aes.h> |
#include <sys/tty.h> |
#include <sys/tty.h> |
#include <sys/ioctl_compat.h> |
#include <sys/ioctl_compat.h> |
|
|
Line 753 int ioCipher(unsigned char *pInput, int inLen, unsigne
|
Line 754 int ioCipher(unsigned char *pInput, int inLen, unsigne
|
*/ |
*/ |
int io_Blowfish(unsigned char *pInput, int inLen, unsigned char **ppOutput, |
int io_Blowfish(unsigned char *pInput, int inLen, unsigned char **ppOutput, |
unsigned char *pKey, unsigned char *pIV, int nMode); |
unsigned char *pKey, unsigned char *pIV, int nMode); |
|
/* |
|
* io_ctr_AES() Encrypt/Decrypt stream cipher CTR_AES |
|
* @pInput = Input buffer with ASCII |
|
* @inLen = Input buffer data length |
|
* @ppOutput = Output buffer with cipher data, must be free after use |
|
* @pKey = Key |
|
* return: -1 error or >-1 how many cipher blocks proceeded |
|
*/ |
|
int io_ctr_AES(u_char *pInput, int inLen, u_char **ppOutput, u_char *pKey); |
|
|
|
|
/* |
/* |