Coder Social home page Coder Social logo

etpss's Introduction

The eTPSS implemented using OPenssl and C

一共实现五种操作:Share Recovery Add ScalP Mul

一.文件定义

头文件定义在./include内,./test使用cuTest准备写单元测试类,未完成

eTPSS.c是头文件的实现

eTPSS_test.c是测试类

二.使用说明

确保计算机安装了openssl以及CMake构建工具

# 安装openssl
apt update
apt install libssl-dev -y
# 安装CMake
apt install cmake

CMake需要版本设置了最低需求 3.25

使用流程:

# 进入程序主目录
cd xx
mkdir build
cd build
cmake ..
make

image-20240117172413252

运行结果图如下所示:

image-20240117171606338

版本修改历史

版本 修改内容 修改人
v0.1 创建项目ETPSS,实现初版对于正数的支持,完成算法文件规定的五种算法 何琪
v0.2 实现对于负值的支持,-5 mod 3 = 1-2这种修改 何琪
v0.3 实现ETPSS判断符号,已经et_Sub的算法 何琪
v0.4 修改算法,尝试完成对于负值的支持,-99 mod 100 = 1 何琪
v0.5-final 完全修改,不对负值和正值进行区分 何琪

etpss's People

Contributors

oldoldcoder avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.