Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 YACL 上支持新的 Codes: LDPC Codes #96

Closed
Candicepan opened this issue Jul 21, 2023 · 4 comments
Closed

在 YACL 上支持新的 Codes: LDPC Codes #96

Candicepan opened this issue Jul 21, 2023 · 4 comments
Labels
OSCP SecretFlow Open Source Contribution Plan

Comments

@Candicepan
Copy link
Contributor

Candicepan commented Jul 21, 2023

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)第三期任务 ISSUE,欢迎社区开发者参与共建~
若有感兴趣想要认领的任务,但还未报名,辛苦先完成报名进行哈~

任务介绍

  • 任务名称:在 YACL 上支持新的 Codes: LDPC Codes
  • 技术方向:YACL,密码学,编码理论
  • 任务难度:进阶🌟🌟

详细要求

由于目前 Silent-Extension 的 OTe 算法基于不同的 LPN 问题假设,目前 YACL 已实现基于 Primal LPN 的算法,因此需要探索、支持基于其他假设(例如 dual LPM)的算法,支持 LDPC Code 是实现该类算法的前置工作。

  • 安全性
    • 遵循论文中的协议实现
    • if possible,默认安全强度为 128 bit
  • 功能性:
    • 支持 Encode 函数
    • 支持相应参数调整
  • 代码规范:
  • C++ 代码需要遵循 Google C++ style guidelines,除了以下几条 exceptions
    • Exceptions are allowed and encouraged where appropriate.
    • Header guards should use #pragma once.
    • Adopt camelBack for function names.
    • Use fixed width integer types whenever possible.
    • Avoid using size_t on interface APIs.
  • 可使用 clangd 进行代码格式化
  • 可使用 cpplint 检查格式
  • 提交说明:关联该 issue 并提交代码至 https://github.com/secretflow/yacl/tree/main/yacl/crypto/tools

能力要求

  • 熟悉密码学或者编码理论
  • 熟悉 C++ 以及性能优化

操作说明

@Candicepan Candicepan added enhancement OSCP SecretFlow Open Source Contribution Plan labels Jul 21, 2023
@github-actions
Copy link

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

@github-actions
Copy link

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

@Candicepan
Copy link
Contributor Author

该功能已由隐语团队实现,将在下一个版本发布~该任务将直接关闭~具体实现在下个版本发布后将在该 issue 中同步给大家哈~(另外,新版本发布后也将发布新的 YACL 任务哟~敬请期待

@Jamie-Cui
Copy link
Member

该实现已经发布~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OSCP SecretFlow Open Source Contribution Plan
Projects
Status: Done
Development

No branches or pull requests

2 participants