Go to the source code of this file.
|
| 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. More...
|
| |
| WOLFSSL_API int | wc_IdeaSetIV (Idea *idea, const byte *iv) |
| | Sets the IV in an Idea key structure. More...
|
| |
| WOLFSSL_API int | wc_IdeaCipher (Idea *idea, byte *out, const byte *in) |
| | Encryption or decryption for a block (64 bits). More...
|
| |
| WOLFSSL_API int | wc_IdeaCbcEncrypt (Idea *idea, byte *out, const byte *in, word32 len) |
| | Encrypt data using IDEA CBC mode. More...
|
| |
| WOLFSSL_API int | wc_IdeaCbcDecrypt (Idea *idea, byte *out, const byte *in, word32 len) |
| | Decrypt data using IDEA CBC mode. More...
|
| |
Initial value:{
#endif
enum {
IDEA_MODULO = 0x10001,
IDEA_2EXP16 = 0x10000,
IDEA_MASK = 0xFFFF,
IDEA_ROUNDS = 8,
IDEA_SK_NUM = (6*IDEA_ROUNDS + 4),
IDEA_KEY_SIZE = 16,
IDEA_BLOCK_SIZE = 8,
IDEA_IV_SIZE = 8,
IDEA_ENCRYPTION = 0,
IDEA_DECRYPTION = 1
}