Skip to content

Add SPDX headers and copyright notices at the beginning of files.#93

Open
adrien-n wants to merge 1 commit intopq-crystals:mainfrom
adrien-n:add-copyright-and-license-headers
Open

Add SPDX headers and copyright notices at the beginning of files.#93
adrien-n wants to merge 1 commit intopq-crystals:mainfrom
adrien-n:add-copyright-and-license-headers

Conversation

@adrien-n
Copy link
Copy Markdown

In downstream projects, files may be copied and moved around. This makes it difficult to track the copyrights and licenses without having them stored in each file.

License and copyright holders for files without specific header is assumed to be the one in LICENSE and AUTHORS.md files respectively.

This is similar to pq-crystals/dilithium#99 and shares roughly the same limitation. This time I didn't copy the header for ref/fips202.h from ref/fips202.c however; this reflects how parted I am with this file: because the current statements and what I can guess (i.e. same as the .c file) differ. I guess this will need some back-and-forth before these MRs can be merged; I hope I can make that as seamless as possible.

In downstream projects, files may be copied and moved around. This makes it
difficult to track the copyrights and licenses without having them stored
in each file.

License and copyright holders for files without specific header is assumed
to be the one in LICENSE and AUTHORS.md files respectively.
@hanno-becker
Copy link
Copy Markdown

hanno-becker commented May 26, 2025

@adrien-n Maybe you do want to consider switching to a more actively maintained implementation https://github.com/pq-code-package/mlkem-native. This is a continuation of the reference implementation in this repository. It in particular applies the diligence regarding SPDX license identifiers that you ask for.

danalec added a commit to danalec/kyber that referenced this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants