des3.h
1 
37 WOLFSSL_API int wc_Des_SetKey(Des* des, const byte* key,
38  const byte* iv, int dir);
39 
64 WOLFSSL_API void wc_Des_SetIV(Des* des, const byte* iv);
65 
96 WOLFSSL_API int wc_Des_CbcEncrypt(Des* des, byte* out,
97  const byte* in, word32 sz);
98 
129 WOLFSSL_API int wc_Des_CbcDecrypt(Des* des, byte* out,
130  const byte* in, word32 sz);
131 
161 WOLFSSL_API int wc_Des_EcbEncrypt(Des* des, byte* out,
162  const byte* in, word32 sz);
163 
195 WOLFSSL_API int wc_Des3_EcbEncrypt(Des3* des, byte* out,
196  const byte* in, word32 sz);
197 
236 WOLFSSL_API int wc_Des3_SetKey(Des3* des, const byte* key,
237  const byte* iv,int dir);
238 
266 WOLFSSL_API int wc_Des3_SetIV(Des3* des, const byte* iv);
267 
298 WOLFSSL_API int wc_Des3_CbcEncrypt(Des3* des, byte* out,
299  const byte* in,word32 sz);
300 
331 WOLFSSL_API int wc_Des3_CbcDecrypt(Des3* des, byte* out,
332  const byte* in,word32 sz);
WOLFSSL_API 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...
Definition: des3.c:471
WOLFSSL_API 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...
Definition: des3.c:465
WOLFSSL_API void wc_Des_SetIV(Des *des, const byte *iv)
This function sets the initialization vector (iv) for the Des structure given as argument. When passed a NULL iv, it sets the initialization vector to 0.
Definition: des3.c:1762
Definition: des3.h:90
WOLFSSL_API 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...
Definition: des3.c:168
WOLFSSL_API 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...
Definition: des3.c:152
WOLFSSL_API 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...
Definition: des3.c:1152
WOLFSSL_API 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...
Definition: des3.c:330
WOLFSSL_API int wc_Des3_SetIV(Des3 *des, const byte *iv)
This function sets the initialization vector (iv) for the Des3 structure given as argument...
Definition: des3.c:1770
WOLFSSL_API 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...
Definition: des3.c:336
Definition: des3.h:98
WOLFSSL_API 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...
Definition: des3.c:342