Skip to content

Commit 2669cda

Browse files
committed
add encodingEntrySize to pir config
1 parent 8188f33 commit 2669cda

File tree

1 file changed

+3
-1
lines changed
  • apple/swift_homomorphic_encryption/api/pir/v1

1 file changed

+3
-1
lines changed

apple/swift_homomorphic_encryption/api/pir/v1/pir.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024-2025 Apple Inc. and the Swift Homomorphic Encryption project authors
1+
// Copyright 2024-2026 Apple Inc. and the Swift Homomorphic Encryption project authors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -34,6 +34,8 @@ message PIRShardConfig {
3434
optional bool compress_vectorized_pir_response = 5;
3535
// The additional "batching" introduced in vectorized pir to accommodate large entry size.
3636
optional uint64 vectorized_pir_internal_batching_size = 6;
37+
// Whether to encode the entry size as part of the Index PIR response.
38+
optional bool encoding_entry_size = 7;
3739
}
3840

3941
// Configuration for one PIR usecase.

0 commit comments

Comments
 (0)