My Project
des3.h
Go to the documentation of this file.
1 
37 int wc_Des_SetKey(Des* des, const byte* key,
38  const byte* iv, int dir);
39 
64 void wc_Des_SetIV(Des* des, const byte* iv);
65 
96 int wc_Des_CbcEncrypt(Des* des, byte* out,
97  const byte* in, word32 sz);
98 
129 int wc_Des_CbcDecrypt(Des* des, byte* out,
130  const byte* in, word32 sz);
131 
161 int wc_Des_EcbEncrypt(Des* des, byte* out,
162  const byte* in, word32 sz);
163 
195 int wc_Des3_EcbEncrypt(Des3* des, byte* out,
196  const byte* in, word32 sz);
197 
236 int wc_Des3_SetKey(Des3* des, const byte* key,
237  const byte* iv,int dir);
238 
266 int wc_Des3_SetIV(Des3* des, const byte* iv);
267 
298 int wc_Des3_CbcEncrypt(Des3* des, byte* out,
299  const byte* in,word32 sz);
300 
331 int wc_Des3_CbcDecrypt(Des3* des, byte* out,
332  const byte* in,word32 sz);
int wc_Des3_CbcDecrypt(Des3 *des, byte *out, const byte *in, word32 sz)
This function decrypts the input ciphertext, in, and stores the resulting plaintext in the output buf...
int wc_Des3_EcbEncrypt(Des3 *des, byte *out, const byte *in, word32 sz)
This function encrypts the input message, in, and stores the result in the output buffer,...
int wc_Des_CbcEncrypt(Des *des, byte *out, const byte *in, word32 sz)
This function encrypts the input message, in, and stores the result in the output buffer,...
void wc_Des_SetIV(Des *des, const byte *iv)
This function sets the initialization vector (iv) for the Des structure given as argument....
int wc_Des3_CbcEncrypt(Des3 *des, byte *out, const byte *in, word32 sz)
This function encrypts the input message, in, and stores the result in the output buffer,...
int wc_Des_SetKey(Des *des, const byte *key, const byte *iv, int dir)
This function sets the key and initialization vector (iv) for the Des structure given as argument....
int wc_Des3_SetKey(Des3 *des, const byte *key, const byte *iv, int dir)
This function sets the key and initialization vector (iv) for the Des3 structure given as argument....
int wc_Des_EcbEncrypt(Des *des, byte *out, const byte *in, word32 sz)
This function encrypts the input message, in, and stores the result in the output buffer,...
int wc_Des_CbcDecrypt(Des *des, byte *out, const byte *in, word32 sz)
This function decrypts the input ciphertext, in, and stores the resulting plaintext in the output buf...
int wc_Des3_SetIV(Des3 *des, const byte *iv)
This function sets the initialization vector (iv) for the Des3 structure given as argument....