My Project
camellia.h
Go to the documentation of this file.
1 
38 int wc_CamelliaSetKey(Camellia* cam,
39  const byte* key, word32 len, const byte* iv);
40 
67 int wc_CamelliaSetIV(Camellia* cam, const byte* iv);
68 
95 int wc_CamelliaEncryptDirect(Camellia* cam, byte* out,
96  const byte* in);
97 
125 int wc_CamelliaDecryptDirect(Camellia* cam, byte* out,
126  const byte* in);
127 
154 int wc_CamelliaCbcEncrypt(Camellia* cam,
155  byte* out, const byte* in, word32 sz);
156 
183 int wc_CamelliaCbcDecrypt(Camellia* cam,
184  byte* out, const byte* in, word32 sz);
int wc_CamelliaEncryptDirect(Camellia *cam, byte *out, const byte *in)
This function does a one-block encrypt using the provided camellia object. It parses the first 16 byt...
int wc_CamelliaCbcEncrypt(Camellia *cam, byte *out, const byte *in, word32 sz)
This function encrypts the plaintext from the buffer in and stores the output in the buffer out....
int wc_CamelliaCbcDecrypt(Camellia *cam, byte *out, const byte *in, word32 sz)
This function decrypts the ciphertext from the buffer in and stores the output in the buffer out....
int wc_CamelliaSetKey(Camellia *cam, const byte *key, word32 len, const byte *iv)
This function sets the key and initialization vector for a camellia object, initializing it for use a...
int wc_CamelliaDecryptDirect(Camellia *cam, byte *out, const byte *in)
This function does a one-block decrypt using the provided camellia object. It parses the first 16 byt...
int wc_CamelliaSetIV(Camellia *cam, const byte *iv)
This function sets the initialization vector for a camellia object.