diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-23 13:33:08 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-23 13:33:08 +0200 |
commit | 0d3b32b24881cb9ce89d0b6689ada53f88d0008e (patch) | |
tree | 37127d2c38c393f9c00d3f3eee3ca9a44c603d1d /crypto.h | |
parent | 4561ac2026d931d9aeab36e07fd041ae60c937ee (diff) |
add outcome determination to brandt.c
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 --- */ |