diff --git a/willow/crypto/zk_rlwe_relation.rs b/willow/crypto/zk_rlwe_relation.rs index f3c1548..5768316 100644 --- a/willow/crypto/zk_rlwe_relation.rs +++ b/willow/crypto/zk_rlwe_relation.rs @@ -681,10 +681,10 @@ impl<'a> ZeroKnowledgeProver, RlweRelationProofWi let rho = rho_vec[j]; // Evaluate the private polynomials at rho. // Unlike the other polynomials we are evaluating (a*r) and (v*p) can exceed 2^128 (for - // large q) so we split the polynomials in this section into upper and lower - // parts to avoid overflow. We use base q as this will be convenient in the - // following calculations and we don't mind the smaller part exceeding q so - // long as it doesn't overflow the 128bit type. + // large q) so we split the polynomials in this section into upper and lower parts to + // avoid overflow. We use base q as this will be convenient in the following + // calculations and we don't mind the smaller part exceeding q so long as it doesn't + // overflow the 128bit type. // // We make the upper part signed so we can represent negative numbers. let mut arrho_upper = 0i128; @@ -753,8 +753,7 @@ impl<'a> ZeroKnowledgeProver, RlweRelationProofWi // powers of rho. // The concatenation of these public vectors we now write into the public_vec for the inner // product proof. Followed by the public half of -q*wrho i.e. just the scalar -q (with the - // relevant tau powers). The expected result of the inner product is also computed - // here. + // relevant tau powers). The expected result of the inner product is also computed here. let (mut public_vec, mut result) = create_public_vec( &rho_vec, &arho_vec, diff --git a/willow/proto/willow/committee_selector.proto b/willow/proto/willow/committee_selector.proto index b35fe21..f1588d8 100644 --- a/willow/proto/willow/committee_selector.proto +++ b/willow/proto/willow/committee_selector.proto @@ -198,6 +198,11 @@ message CheckVolunteerStatusResponse { // Authorization token to use for future requests. string auth_token = 4 ; + + // Optional: If the member was selected, the member's identifier within the + // committee, in the range [1, committee_size]. The member sends it as + // `member_id` or `sender_member_id` in its later requests. + int64 member_id = 5 ; } // Generic error status returned from the TEE to the untrusted frontend for the diff --git a/willow/protocol/messages.rs b/willow/protocol/messages.rs index 08c911e..26b4f09 100644 --- a/willow/protocol/messages.rs +++ b/willow/protocol/messages.rs @@ -187,8 +187,8 @@ impl Debug for PartialDecryptionRequest { pub struct PartialDecryptionResponse { pub partial_decryption: Vahe::PartialDecryption, // This contribution just contains encrypted DP noise. The server will be forced to include - // this contribution in the result because the randomness of the AHE encryption was - // included in the partial decryption request. + // this contribution in the result because the randomness of the AHE encryption was included in + // the partial decryption request. pub dp_ciphertext_contribution: Option>, }