aboutsummaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
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 --- */