#include <config.h>
#include <sw.h>
#include <string.h>
#include <types.h>
#include <tea.h>
Go to the source code of this file.
Defines | |
#define | CRYPT_ALGO_TEA 0 |
Algorithm ID: TEA. More... | |
#define | CRYPT_ALGO_SKIPJACK 1 |
Algorithm ID: Skipjack. More... | |
#define | CRYPT_ALGO_NEWDESSK 2 |
Algorithm ID: NEWDES-SK. More... | |
#define | CRYPT_KEY_LEN TEA_KEY_LEN |
Length of key in octets. More... | |
#define | CRYPT_BLOCK_LEN TEA_BLOCK_LEN |
Length of cipher block in octets. More... | |
#define | crypt_enc(v, k) tea_enc((iu32*)(v),(iu32*)(k)) |
Single block encryption function. More... | |
#define | crypt_dec(v, k) tea_dec((iu32*)(v),(iu32*)(k)) |
Single block decryption function. More... |
|
Algorithm ID: NEWDES-SK.
|
|
Algorithm ID: Skipjack.
|
|
Algorithm ID: TEA.
|
|
Length of cipher block in octets.
|
|
Single block decryption function.
|
|
Single block encryption function.
|
|
Length of key in octets.
|