moe clang-format
This commit is contained in:
parent
51f6b063d6
commit
1b5ae955d2
@ -22,7 +22,6 @@ enum blake2s_constant {
|
|||||||
BLAKE2S_PERSONALBYTES = 8
|
BLAKE2S_PERSONALBYTES = 8
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct blake2s_param {
|
struct blake2s_param {
|
||||||
unsigned char digest_length;
|
unsigned char digest_length;
|
||||||
unsigned char key_length;
|
unsigned char key_length;
|
||||||
@ -36,8 +35,6 @@ struct blake2s_param {
|
|||||||
unsigned char personal[BLAKE2S_PERSONALBYTES];
|
unsigned char personal[BLAKE2S_PERSONALBYTES];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const struct ltc_hash_descriptor blake2s_256_desc =
|
const struct ltc_hash_descriptor blake2s_256_desc =
|
||||||
{
|
{
|
||||||
"blake2s_256",
|
"blake2s_256",
|
||||||
@ -53,7 +50,6 @@ const struct ltc_hash_descriptor blake2s_256_desc =
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const struct ltc_hash_descriptor blake2s_224_desc =
|
const struct ltc_hash_descriptor blake2s_224_desc =
|
||||||
{
|
{
|
||||||
"blake2s_224",
|
"blake2s_224",
|
||||||
@ -84,7 +80,6 @@ const struct ltc_hash_descriptor blake2s_160_desc =
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const struct ltc_hash_descriptor blake2s_128_desc =
|
const struct ltc_hash_descriptor blake2s_128_desc =
|
||||||
{
|
{
|
||||||
"blake2s_128",
|
"blake2s_128",
|
||||||
@ -100,8 +95,6 @@ const struct ltc_hash_descriptor blake2s_128_desc =
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static const ulong32 blake2s_IV[8] = {
|
static const ulong32 blake2s_IV[8] = {
|
||||||
0x6A09E667UL, 0xBB67AE85UL, 0x3C6EF372UL, 0xA54FF53AUL,
|
0x6A09E667UL, 0xBB67AE85UL, 0x3C6EF372UL, 0xA54FF53AUL,
|
||||||
0x510E527FUL, 0x9B05688CUL, 0x1F83D9ABUL, 0x5BE0CD19UL
|
0x510E527FUL, 0x9B05688CUL, 0x1F83D9ABUL, 0x5BE0CD19UL
|
||||||
|
@ -115,7 +115,6 @@ struct chc_state {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef LTC_BLAKE2S
|
#ifdef LTC_BLAKE2S
|
||||||
|
|
||||||
struct blake2s_state {
|
struct blake2s_state {
|
||||||
ulong32 h[8];
|
ulong32 h[8];
|
||||||
ulong32 t[2];
|
ulong32 t[2];
|
||||||
@ -125,7 +124,6 @@ struct chc_state {
|
|||||||
unsigned char outlen;
|
unsigned char outlen;
|
||||||
unsigned char last_node;
|
unsigned char last_node;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef union Hash_state {
|
typedef union Hash_state {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user