aboutsummaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto.h b/crypto.h
index b3520d0..16aa536 100644
--- a/crypto.h
+++ b/crypto.h
@@ -130,6 +130,7 @@ int smc_recv_encrypted_bid (struct BRANDT_Auction *ad,
130 size_t buflen, 130 size_t buflen,
131 uint16_t sender_index); 131 uint16_t sender_index);
132 132
133void fp_priv_prep_outcome (struct BRANDT_Auction *ad);
133unsigned char *fp_priv_compute_outcome (struct BRANDT_Auction *ad, 134unsigned char *fp_priv_compute_outcome (struct BRANDT_Auction *ad,
134 size_t *buflen); 135 size_t *buflen);
135int fp_priv_recv_outcome (struct BRANDT_Auction *ad, 136int fp_priv_recv_outcome (struct BRANDT_Auction *ad,
@@ -137,6 +138,7 @@ int fp_priv_recv_outcome (struct BRANDT_Auction *ad,
137 size_t buflen, 138 size_t buflen,
138 uint16_t sender); 139 uint16_t sender);
139 140
141void fp_priv_prep_decryption (struct BRANDT_Auction *ad);
140unsigned char *fp_priv_decrypt_outcome (struct BRANDT_Auction *ad, 142unsigned char *fp_priv_decrypt_outcome (struct BRANDT_Auction *ad,
141 size_t *buflen); 143 size_t *buflen);
142int fp_priv_recv_decryption (struct BRANDT_Auction *ad, 144int fp_priv_recv_decryption (struct BRANDT_Auction *ad,
@@ -204,8 +206,8 @@ static const RoundPrep handler_prep[auction_last][outcome_last][msg_last] = {
204 [outcome_private] = { 206 [outcome_private] = {
205 [msg_init] = &smc_prep_keyshare, 207 [msg_init] = &smc_prep_keyshare,
206 [msg_bid] = &smc_prep_bid, 208 [msg_bid] = &smc_prep_bid,
207// [msg_outcome] = &fp_priv_prep_outcome, 209 [msg_outcome] = &fp_priv_prep_outcome,
208// [msg_decrypt] = &fp_priv_prep_decryption, 210 [msg_decrypt] = &fp_priv_prep_decryption,
209 }, 211 },
210 [outcome_public] = { 212 [outcome_public] = {
211 [msg_init] = &smc_prep_keyshare, 213 [msg_init] = &smc_prep_keyshare,