Skip to content

Commit

Permalink
feat: version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PETAce committed Jan 23, 2025
1 parent 77936a3 commit 94c2f6c
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@
### Feature

- Migrated Python API to PETAce repository.

## Version 0.4.0

- No update.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
message(STATUS "Build type (CMAKE_BUILD_TYPE): ${CMAKE_BUILD_TYPE}")

project(SETOPS VERSION 0.3.0 LANGUAGES CXX C)
project(SETOPS VERSION 0.4.0 LANGUAGES CXX C)

########################
# Global configuration #
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Currently, PETAce-SetOps implements the ECDH-PSI protocol based on Elliptic-Curv

| Required dependency | Tested version | Use |
|--------------------------------------------------------------------------------|----------------|--------------------------------------|
| [PETAce-Solo](https://github.com/tiktok-privacy-innovation/PETAce-Solo) | 0.3.0 | Cryptography primitives |
| [PETAce-Verse](https://github.com/tiktok-privacy-innovation/PETAce-Verse) | 0.3.0 | Primitive cryptographic protocols |
| [PETAce-Duet](https://github.com/tiktok-privacy-innovation/PETAce-Duet) | 0.3.0 | Two-party secure computing protocols |
| [PETAce-Network](https://github.com/tiktok-privacy-innovation/PETAce-Network) | 0.3.0 | Network communication protocols |
| [PETAce-Solo](https://github.com/tiktok-privacy-innovation/PETAce-Solo) | 0.4.0 | Cryptography primitives |
| [PETAce-Verse](https://github.com/tiktok-privacy-innovation/PETAce-Verse) | 0.4.0 | Primitive cryptographic protocols |
| [PETAce-Duet](https://github.com/tiktok-privacy-innovation/PETAce-Duet) | 0.4.0 | Two-party secure computing protocols |
| [PETAce-Network](https://github.com/tiktok-privacy-innovation/PETAce-Network) | 0.4.0 | Network communication protocols |
| [Google Logging](https://github.com/google/glog) | 0.4.0 | Logging |
| [JSON for Modern C++(JSON)](https://github.com/nlohmann/json) | 3.10.1 | PSI parameter configuration |

Expand Down Expand Up @@ -95,14 +95,14 @@ This project is licensed under the [Apache-2.0 License](LICENSE).

To cite PETAce in academic papers, please use the following BibTeX entries.

### Version 0.3.0
### Version 0.4.0

```tex
@misc{petace,
title = {PETAce (release 0.3.0)},
title = {PETAce (release 0.4.0)},
howpublished = {\url{https://github.com/tiktok-privacy-innovation/PETAce}},
month = Jun,
year = 2024,
month = Jan,
year = 2025,
note = {TikTok Pte. Ltd.},
key = {PETAce}
}
Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Duet.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
duet
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Duet.git
GIT_TAG 35a121196c6702632d1659402d01290be813220c # 0.3.0
GIT_TAG 018c1b876e61c9b28a107b35f3ee0271cab43486 # 0.4.0
)
FetchContent_GetProperties(duet)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Network.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
network
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Network.git
GIT_TAG 1952a0e0b061c5b43a7fbe5b8d71365abc5382a4 # 0.3.0
GIT_TAG 2842a3814e384140de58efc211cb0cdb02d8b2b9 # 0.4.0
)
FetchContent_GetProperties(network)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Solo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
solo
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Solo.git
GIT_TAG 60c6301802040f622d30c148ab49ad42f5b0e3d2 # 0.3.0
GIT_TAG 069ae987a1fafe77be3d5d7b5bcdd20697ced378 # 0.4.0
)
FetchContent_GetProperties(solo)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Verse.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
verse
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Verse.git
GIT_TAG 34ffb78e122805f5358cb77ae0ce2bb6f6241060 # 0.3.0
GIT_TAG 1514f98f6bee3cfaaadd919e2f4f1e45c80f6e62 # 0.4.0
)
FetchContent_GetProperties(verse)

Expand Down
4 changes: 2 additions & 2 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

cmake_minimum_required(VERSION 3.14)

project(SETOPSExamples VERSION 0.3.0 LANGUAGES CXX)
project(SETOPSExamples VERSION 0.4.0 LANGUAGES CXX)

# If not called from root CMakeLists.txt
if(NOT DEFINED SETOPS_BUILD_EXAMPLE)
set(SETOPS_BUILD_EXAMPLE ON)

# Import PETAce SETOPS
find_package(PETAce-SetOps 0.3.0 EXACT REQUIRED)
find_package(PETAce-SetOps 0.4.0 EXACT REQUIRED)

add_compile_options(-msse4.2 -Wno-ignored-attributes -mavx)

Expand Down
4 changes: 2 additions & 2 deletions example/circuit_psi_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ void circuit_psi_example(const std::string& config_path, const std::string& log_
FLAGS_log_dir = log_path;
std::string log_file_name;
if (use_random_data) {
log_file_name = std::string("ecdh_psi_") + (is_sender ? "sender_" : "receiver_") + "intersection_size_" +
log_file_name = std::string("circuit_psi_") + (is_sender ? "sender_" : "receiver_") + "intersection_size_" +
std::to_string(intersection_size);
} else {
log_file_name = std::string("ecdh_psi_") + (is_sender ? "sender_" : "receiver_") + "from_file";
log_file_name = std::string("circuit_psi_") + (is_sender ? "sender_" : "receiver_") + "from_file";
}
google::InitGoogleLogging(log_file_name.c_str());

Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

cmake_minimum_required(VERSION 3.14)

project(SETOPSTest VERSION 0.3.0 LANGUAGES CXX C)
project(SETOPSTest VERSION 0.4.0 LANGUAGES CXX C)

# If not called from root CMakeLists.txt
if(NOT DEFINED SETOPS_BUILD_TEST)
set(SETOPS_BUILD_TEST ON)

find_package(PETAce-SetOps 0.3.0 EXACT REQUIRED)
find_package(PETAce-SetOps 0.4.0 EXACT REQUIRED)

add_compile_options(-msse4.2 -Wno-ignored-attributes -mavx)

Expand Down

0 comments on commit 94c2f6c

Please sign in to comment.