2019-03-22 22:00:07 +01:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2019-03-23 22:15:38 +01:00
|
|
|
#ifndef _INC_CIPHER_CAMELLIA_H
|
|
|
|
#define _INC_CIPHER_CAMELLIA_H
|
|
|
|
|
2019-03-22 22:27:58 +01:00
|
|
|
DECLSPEC void cam_feistel (const u32 *x, const u32 *k, u32 *y);
|
|
|
|
DECLSPEC void cam_fl (u32 *x, const u32 *kl, const u32 *kr);
|
|
|
|
DECLSPEC void camellia256_set_key (u32 *ks, const u32 *ukey);
|
|
|
|
DECLSPEC void camellia256_encrypt (const u32 *ks, const u32 *in, u32 *out);
|
|
|
|
DECLSPEC void camellia256_decrypt (const u32 *ks, const u32 *in, u32 *out);
|
2019-03-23 22:15:38 +01:00
|
|
|
|
|
|
|
#endif // _INC_CIPHER_CAMELLIA_H
|