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