Skip to content

SM2算法的GPU实现 #617

@changtong9

Description

@changtong9

任务介绍

  • 任务名称:SM2 算法的 GPU 实现
  • 技术方向:YACL
  • 任务 Reviewer:@changtong9

详细要求

调研相关开源代码,在 YACL 中新增 GPU 实现的 SM2 算法,并测试 GPU 版本的 SM2 在 PSI 等场景中的实际性能。

  • 安全性:符合论文中安全假设与安全定义
  • 功能性:符合论文对算法功能描述
  • 代码规范:
    • 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/ecc

能力要求

  • 熟悉椭圆曲线密码学
  • 熟悉 C++、CUDA 以及性能优化

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions