diff options
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 | ||
133 | void fp_priv_prep_outcome (struct BRANDT_Auction *ad); | ||
133 | unsigned char *fp_priv_compute_outcome (struct BRANDT_Auction *ad, | 134 | unsigned char *fp_priv_compute_outcome (struct BRANDT_Auction *ad, |
134 | size_t *buflen); | 135 | size_t *buflen); |
135 | int fp_priv_recv_outcome (struct BRANDT_Auction *ad, | 136 | int 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 | ||
141 | void fp_priv_prep_decryption (struct BRANDT_Auction *ad); | ||
140 | unsigned char *fp_priv_decrypt_outcome (struct BRANDT_Auction *ad, | 142 | unsigned char *fp_priv_decrypt_outcome (struct BRANDT_Auction *ad, |
141 | size_t *buflen); | 143 | size_t *buflen); |
142 | int fp_priv_recv_decryption (struct BRANDT_Auction *ad, | 144 | int 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, |