2019-03-22 21:00:07 +00:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#ifndef INC_CIPHER_KUZNYECHIK_H
|
|
|
|
#define INC_CIPHER_KUZNYECHIK_H
|
2019-03-23 21:15:38 +00:00
|
|
|
|
2022-02-04 18:54:00 +00:00
|
|
|
DECLSPEC void kuznyechik_linear (PRIVATE_AS u32 *w);
|
|
|
|
DECLSPEC void kuznyechik_linear_inv (PRIVATE_AS u32 *w);
|
|
|
|
DECLSPEC void kuznyechik_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey);
|
|
|
|
DECLSPEC void kuznyechik_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
|
|
|
DECLSPEC void kuznyechik_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out);
|
2019-03-23 21:15:38 +00:00
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#endif // INC_CIPHER_KUZNYECHIK_H
|