30 const byte *iv,
int dir);
127 const byte* in, word32 len);
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.
Definition: idea.c:118
WOLFSSL_API int wc_IdeaCbcEncrypt(Idea *idea, byte *out, const byte *in, word32 len)
Encrypt data using IDEA CBC mode.
Definition: idea.c:252
WOLFSSL_API int wc_IdeaCbcDecrypt(Idea *idea, byte *out, const byte *in, word32 len)
Decrypt data using IDEA CBC mode.
Definition: idea.c:277
WOLFSSL_API int wc_IdeaCipher(Idea *idea, byte *out, const byte *in)
Encryption or decryption for a block (64 bits).
Definition: idea.c:197
WOLFSSL_API int wc_IdeaSetIV(Idea *idea, const byte *iv)
Sets the IV in an Idea key structure.
Definition: idea.c:182