Skip to content

Commit 0ec76a3

Browse files
authored
Add IndexPirDatabase{Row} (#24)
1 parent 6715864 commit 0ec76a3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

apple/swift_homomorphic_encryption/pir/v1/pir_database.proto

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 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.
@@ -28,3 +28,15 @@ message KeywordDatabase {
2828
// List of keyword-value pairs.
2929
repeated KeywordDatabaseRow rows = 1;
3030
}
31+
32+
// Row in an index PIR database.
33+
message IndexPirDatabaseRow {
34+
// Value.
35+
bytes value = 1;
36+
}
37+
38+
// Input database for index PIR.
39+
message IndexPirDatabase {
40+
// List of rows.
41+
repeated IndexPirDatabaseRow rows = 1;
42+
}

0 commit comments

Comments
 (0)