aboutsummaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-08-23 13:33:08 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-23 13:33:08 +0200
commit0d3b32b24881cb9ce89d0b6689ada53f88d0008e (patch)
tree37127d2c38c393f9c00d3f3eee3ca9a44c603d1d /crypto.h
parent4561ac2026d931d9aeab36e07fd041ae60c937ee (diff)
add outcome determination to brandt.c
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto.h b/crypto.h
index 9cb5405..2f40ed3 100644
--- a/crypto.h
+++ b/crypto.h
@@ -142,6 +142,8 @@ int fp_priv_recv_decryption (struct BRANDT_Auction *ad,
size_t buflen,
uint16_t sender);
+int32_t fp_priv_determine_outcome (struct BRANDT_Auction *ad);
+
unsigned char *fp_pub_compute_outcome (struct BRANDT_Auction *ad,
size_t *buflen);
int fp_pub_recv_outcome (struct BRANDT_Auction *ad,
@@ -156,7 +158,7 @@ int fp_pub_recv_decryption (struct BRANDT_Auction *ad,
size_t buflen,
uint16_t sender);
-int32_t fp_priv_determine_outcome (struct BRANDT_Auction *ad);
+int32_t fp_pub_determine_outcome (struct BRANDT_Auction *ad, uint16_t *winner);
/* --- Round dictionaries --- */