mirror of
https://github.com/umutcamliyurt/Amnezichat.git
synced 2025-05-05 13:20:47 +01:00
894 B
894 B
Contributing
Conventional commits
Please use the Conventional Commits style when creating PRs.
Adding new algorithms
KEMs
- Update the Git submodule
oqs-sys
will now update when you build again- Add it to the
implement_kems!
macro call inoqs/src/kem.rs
:
- The structure is a name for the algorithm in CamelCase, and the name of the constant of the algorithm (
OQS_KEM_alg_...
)
- Add the necessary features to
Cargo.toml
andoqs-sys/build.rs
.
Signature schemes:
- Update the Git submodule
oqs-sys
is now up-to-date when you build again- Add it to
implement_sigs!
macro call inoqs/src/sig.rs
.
- The structure is a name for the algorithm in CamelCase, and the name of the constant of the algorithm (
OQS_SIG_alg_...
)
- Add the necessary features to
Cargo.toml
andoqs-sys/build.rs
.