My Project
Loading...
Searching...
No Matches
idea.h
1
29WOLFSSL_API int wc_IdeaSetKey(Idea *idea, const byte* key, word16 keySz,
30 const byte *iv, int dir);
31
58WOLFSSL_API int wc_IdeaSetIV(Idea *idea, const byte* iv);
59
91WOLFSSL_API int wc_IdeaCipher(Idea *idea, byte* out, const byte* in);
92
126WOLFSSL_API int wc_IdeaCbcEncrypt(Idea *idea, byte* out,
127 const byte* in, word32 len);
128
162WOLFSSL_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.
Definition idea.c:118
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_IdeaCbcDecrypt(Idea *idea, byte *out, const byte *in, word32 len)
Decrypt data using IDEA CBC mode.
Definition idea.c:277
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_IdeaSetIV(Idea *idea, const byte *iv)
Sets the IV in an Idea key structure.
Definition idea.c:182
Definition idea.h:51