Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hash Streebog256/512 , cipher Kuznyechik and ECRDSA #7

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
13 changes: 12 additions & 1 deletion cipher/cipher_algorithms.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,16 @@
#include "cipher/chacha.h"
#endif

//KUZNYECHIK cipher support?
#if (KUZNYECHIK_SUPPORT == ENABLED)
#include "cipher/kuznyechik.h"
#endif


//Maximum block size
#if (RC6_SUPPORT == ENABLED)
#if (KUZNYECHIK_SUPPORT ==ENABLED)
#define MAX_CIPHER_BLOCK_SIZE KUZNYECHIK_BLOCK_SIZE
#elif (RC6_SUPPORT == ENABLED)
#define MAX_CIPHER_BLOCK_SIZE RC6_BLOCK_SIZE
#elif (CAST256_SUPPORT == ENABLED)
#define MAX_CIPHER_BLOCK_SIZE CAST256_BLOCK_SIZE
Expand Down Expand Up @@ -273,6 +281,9 @@ typedef union
#if (ZUC_SUPPORT == ENABLED)
ZucContext zucContext;
#endif
#if (KUZNYECHIK_SUPPORT == ENABLED)
KuznyechikContext kuznyechikContext;
#endif
} CipherContext;


Expand Down
Loading