idea.h
Go to the documentation of this file.
1 
29 WOLFSSL_API int wc_IdeaSetKey(Idea *idea, const byte* key, word16 keySz,
30  const byte *iv, int dir);
31 
58 WOLFSSL_API int wc_IdeaSetIV(Idea *idea, const byte* iv);
59 
91 WOLFSSL_API int wc_IdeaCipher(Idea *idea, byte* out, const byte* in);
92 
126 WOLFSSL_API int wc_IdeaCbcEncrypt(Idea *idea, byte* out,
127  const byte* in, word32 len);
128 
162 WOLFSSL_API int wc_IdeaCbcDecrypt(Idea *idea, byte* out,
163  const byte* in, word32 len);
WOLFSSL_API int wc_IdeaSetKey(Idea *idea, const byte *key, word16 keySz, const byte *iv, int dir)
Generate the 52, 16-bit key sub-blocks from the 128 key.
WOLFSSL_API int wc_IdeaCbcEncrypt(Idea *idea, byte *out, const byte *in, word32 len)
Encrypt data using IDEA CBC mode.
WOLFSSL_API int wc_IdeaCbcDecrypt(Idea *idea, byte *out, const byte *in, word32 len)
Decrypt data using IDEA CBC mode.
WOLFSSL_API int wc_IdeaCipher(Idea *idea, byte *out, const byte *in)
Encryption or decryption for a block (64 bits).
WOLFSSL_API int wc_IdeaSetIV(Idea *idea, const byte *iv)
Sets the IV in an Idea key structure.