version 1.12, 2000/03/28 20:24:50 |
version 1.13, 2000/04/04 21:37:27 |
|
|
* supported cipher. |
* supported cipher. |
*/ |
*/ |
unsigned int cipher_mask(); |
unsigned int cipher_mask(); |
|
unsigned int cipher_mask1(); |
|
unsigned int cipher_mask2(); |
|
|
/* Returns the name of the cipher. */ |
/* Returns the name of the cipher. */ |
const char *cipher_name(int cipher); |
const char *cipher_name(int cipher); |
|
|
*/ |
*/ |
void |
void |
cipher_set_key(CipherContext * context, int cipher, |
cipher_set_key(CipherContext * context, int cipher, |
const unsigned char *key, int keylen, int for_encryption); |
const unsigned char *key, int keylen); |
void |
void |
cipher_set_key_iv(CipherContext * context, int cipher, |
cipher_set_key_iv(CipherContext * context, int cipher, |
const unsigned char *key, int keylen, |
const unsigned char *key, int keylen, |
|
|
*/ |
*/ |
void |
void |
cipher_set_key_string(CipherContext * context, int cipher, |
cipher_set_key_string(CipherContext * context, int cipher, |
const char *passphrase, int for_encryption); |
const char *passphrase); |
|
|
/* Encrypts data using the cipher. */ |
/* Encrypts data using the cipher. */ |
void |
void |