summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/add_threshold/cipher.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/add_threshold/cipher.c b/src/add_threshold/cipher.c
index ad8b4d3..87267fc 100644
--- a/src/add_threshold/cipher.c
+++ b/src/add_threshold/cipher.c
@@ -22,7 +22,6 @@ where the input block is split into three shares.
#include <stdint.h>
#include <string.h>
-#include <stdio.h>
#include "cipher.h"
#include "constants.h"
@@ -84,7 +83,12 @@ static const uint8_t P[16] = {
0x0, 0x2, 0x8, 0xa, 0x4, 0X6, 0xc, 0xe, 0x1, 0x3, 0x9, 0xb, 0x5, 0x7, 0xd, 0xf
};
-static void _state_init(uint8_t X[BLOCK_BYTES], uint8_t Y[BLOCK_BYTES], uint8_t Z[BLOCK_BYTES], const uint8_t message[BLOCK_BYTES])
+static void _state_init(
+ uint8_t X[BLOCK_BYTES],
+ uint8_t Y[BLOCK_BYTES],
+ uint8_t Z[BLOCK_BYTES],
+ const uint8_t message[BLOCK_BYTES]
+)
{
// To be replaced by real random numbers!!!
uint8_t SHARES_0[BLOCK_BYTES] = {