Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions willow/proto/willow/aggregation_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,60 +36,3 @@ message VectorConfig {
int64 length = 1;
int64 bound = 2;
}

message KeyGenRequest {}

message KeyGenResponse {
AggregationKey aggregation_key = 1;
}

/// The key for the aggregation.
///
/// This should be sent to the clients so they can encrypt their contributions.
message AggregationKey {
ShellAhePublicKey ahe_public_key = 1;
}

/// The total contribution from the client.
message Contribution {
ContributionToServer contribution_to_server = 1;
ContributionToVerifier contribution_to_verifier = 2;
}

/// The contribution from the client to the server.
message ContributionToServer {
ShellAheRecoverCiphertext ahe_recovery_ciphertext = 1;
ShellKaheCiphertext kahe_ciphertext = 2;
}

/// The contribution from the client to the verifier.
message ContributionToVerifier {
ShellAhePartialDecCiphertext ahe_partial_dec_ciphertext = 1;
RlweRelationProofProto rlwe_relation_proof = 2;
}

message VerificationRequest {
repeated ContributionToVerifier contributions = 1;
}

message VerificationResponse {
repeated bool is_valid = 1;
}

message VerificationSummaryRequest {}

message VerificationSummaryResponse {
DecryptionRequest decryption_request = 1;
}

/// The request from the verifier to the decryptor to decrypt the aggregate.
message DecryptionRequest {
ShellAhePartialDecCiphertext ahe_partial_dec_ciphertext = 1;
}

message DecryptionResponse {
ShellAhePartialDecryption ahe_partial_decryption = 1;
}

/// This is unimplemented for the single decryptor version
message DropoutRecoveryRequest {}
48 changes: 0 additions & 48 deletions willow/src/api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -42,51 +42,3 @@ rust_test(
"//willow/src/testing_utils",
],
)

rust_library(
name = "client",
srcs = [
"client.rs",
],
deps = [
":aggregation_config",
"//shell_wrapper:status",
"//willow/proto/willow:aggregation_config_rust_proto",
],
)

rust_library(
name = "decryptor",
srcs = [
"decryptor.rs",
],
deps = [
":aggregation_config",
"//shell_wrapper:status",
"//willow/proto/willow:aggregation_config_rust_proto",
],
)

rust_library(
name = "server",
srcs = [
"server.rs",
],
deps = [
":aggregation_config",
"//shell_wrapper:status",
"//willow/proto/willow:aggregation_config_rust_proto",
],
)

rust_library(
name = "verifier",
srcs = [
"verifier.rs",
],
deps = [
":aggregation_config",
"//shell_wrapper:status",
"//willow/proto/willow:aggregation_config_rust_proto",
],
)
41 changes: 0 additions & 41 deletions willow/src/api/client.rs

This file was deleted.

73 changes: 0 additions & 73 deletions willow/src/api/decryptor.rs

This file was deleted.

76 changes: 0 additions & 76 deletions willow/src/api/server.rs

This file was deleted.

69 changes: 0 additions & 69 deletions willow/src/api/verifier.rs

This file was deleted.