diff --git a/CHANGELOG.md b/CHANGELOG.md index ab7b698..43acd2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,3 +19,7 @@ ### Feature - Migrated Python API to PETAce repository. + +## Version 0.4.0 + +- No update. diff --git a/CMakeLists.txt b/CMakeLists.txt index 84e2a66..f561bd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # diff --git a/README.md b/README.md index e70e188..301910d 100644 --- a/README.md +++ b/README.md @@ -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 | @@ -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} } diff --git a/cmake/PETAce-Duet.cmake b/cmake/PETAce-Duet.cmake index ce4b565..11239e2 100644 --- a/cmake/PETAce-Duet.cmake +++ b/cmake/PETAce-Duet.cmake @@ -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) diff --git a/cmake/PETAce-Network.cmake b/cmake/PETAce-Network.cmake index 51ce3b7..f157ea3 100644 --- a/cmake/PETAce-Network.cmake +++ b/cmake/PETAce-Network.cmake @@ -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) diff --git a/cmake/PETAce-Solo.cmake b/cmake/PETAce-Solo.cmake index 907fa75..1399ad3 100644 --- a/cmake/PETAce-Solo.cmake +++ b/cmake/PETAce-Solo.cmake @@ -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) diff --git a/cmake/PETAce-Verse.cmake b/cmake/PETAce-Verse.cmake index 258455d..47b0f37 100644 --- a/cmake/PETAce-Verse.cmake +++ b/cmake/PETAce-Verse.cmake @@ -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) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 77b247b..9f470b5 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -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) diff --git a/example/circuit_psi_example.cpp b/example/circuit_psi_example.cpp index ada32d1..dff8d4b 100644 --- a/example/circuit_psi_example.cpp +++ b/example/circuit_psi_example.cpp @@ -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()); diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 86e6f33..8274763 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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)