Skip to content

Commit b44d7f6

Browse files
authored
Make PIR a proper library (#8)
1 parent 27af01d commit b44d7f6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ let package = Package(
2828
// Products define the executables and libraries a package produces, making them visible to other packages.
2929
.library(
3030
name: "HomomorphicEncryption",
31-
targets: ["HomomorphicEncryption",
32-
"PrivateInformationRetrieval"]),
31+
targets: ["HomomorphicEncryption"]),
32+
.library(
33+
name: "PrivateInformationRetrieval",
34+
targets: ["PrivateInformationRetrieval"]),
3335
.library(
3436
name: "HomomorphicEncryptionProtobuf",
3537
targets: ["HomomorphicEncryptionProtobuf"]),

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Applications of Swift Homomorphic Encryption include:
99
Swift Homomorphic Encryption is a collection of libraries and executables.
1010
For more information, refer to documentation for the libraries:
1111
* [HomomorphicEncryption](Sources/HomomorphicEncryption/HomomorphicEncryption.docc/HomomorphicEncryption.md)
12+
* [PrivateInformationRetrieval](Sources/PrivateInformationRetrieval/PrivateInformationRetrieval.docc/PrivateInformationRetrieval.md)
1213
* [HomomorphicEncryptionProtobuf](Sources/HomomorphicEncryptionProtobuf/HomomorphicEncryptionProtobuf.docc/HomomorphicEncryptionProtobuf.md)
1314
* [PrivateInformationRetrievalProtobuf](Sources/PrivateInformationRetrievalProtobuf/PrivateInformationRetrievalProtobuf.docc/PrivateInformationRetrievalProtobuf.md)
1415

Sources/HomomorphicEncryption/HomomorphicEncryption.docc/HomomorphicEncryption.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Homomorphic Encryption (HE) enables computation on encrypted data.
66
Swift Homomorphic Encryption is a collection of libraries and executables implementing homomorphic encryption (HE) and applications, such as private information retrieval (PIR).
77
For more information, refer to documentation for the libraries:
88
* [HomomorphicEncryptionProtobuf](https://github.com/apple/swift-homomorphic-encryption/blob/main/Sources/HomomorphicEncryptionProtobuf/HomomorphicEncryptionProtobuf.docc/HomomorphicEncryptionProtobuf.md)
9+
* [PrivateInformationRetrieval](https://github.com/apple/swift-homomorphic-encryption/blob/main/Sources/PrivateInformationRetrieval/PrivateInformationRetrieval.docc/PrivateInformationRetrieval.md)
910
* [PrivateInformationRetrievalProtobuf](https://github.com/apple/swift-homomorphic-encryption/blob/main/Sources/PrivateInformationRetrievalProtobuf/PrivateInformationRetrievalProtobuf.docc/PrivateInformationRetrievalProtobuf.md)
1011

1112
and executables:

0 commit comments

Comments
 (0)