diff --git a/fips202/fips202.c b/fips202/fips202.c index d7960e7..90e5d28 100644 --- a/fips202/fips202.c +++ b/fips202/fips202.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CC0-1.0 /* Based on the CC0 implementation in https://github.com/mupq/mupq and * the public domain implementation in * crypto_hash/keccakc512/simple/ from http://bench.cr.yp.to/supercop.html diff --git a/fips202/fips202.h b/fips202/fips202.h index 6b11cfe..923c923 100644 --- a/fips202/fips202.h +++ b/fips202/fips202.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CC0-1.0 #ifndef FIPS202_H #define FIPS202_H diff --git a/fips202/keccakf1600.c b/fips202/keccakf1600.c index 142b9df..cf10b9e 100644 --- a/fips202/keccakf1600.c +++ b/fips202/keccakf1600.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CC0-1.0 /* Based on the CC0 implementation in https://github.com/mupq/mupq and * the public domain implementation in * crypto_hash/keccakc512/simple/ from http://bench.cr.yp.to/supercop.html diff --git a/fips202/keccakf1600.h b/fips202/keccakf1600.h index d933f51..0b3f5bb 100644 --- a/fips202/keccakf1600.h +++ b/fips202/keccakf1600.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CC0-1.0 #ifndef KECCAKF1600_H #define KECCAKF1600_H diff --git a/mlkem/api.h b/mlkem/api.h index 70d40f3..ac0ab7b 100644 --- a/mlkem/api.h +++ b/mlkem/api.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef API_H #define API_H diff --git a/mlkem/cbd.c b/mlkem/cbd.c index 57f001d..39fd860 100644 --- a/mlkem/cbd.c +++ b/mlkem/cbd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include "params.h" #include "cbd.h" diff --git a/mlkem/cbd.h b/mlkem/cbd.h index 4aeb281..1898246 100644 --- a/mlkem/cbd.h +++ b/mlkem/cbd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef CBD_H #define CBD_H diff --git a/mlkem/indcpa.c b/mlkem/indcpa.c index 843db77..065b4c4 100644 --- a/mlkem/indcpa.c +++ b/mlkem/indcpa.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include #include diff --git a/mlkem/indcpa.h b/mlkem/indcpa.h index 6dd5088..fd57d84 100644 --- a/mlkem/indcpa.h +++ b/mlkem/indcpa.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef INDCPA_H #define INDCPA_H diff --git a/mlkem/kem.c b/mlkem/kem.c index 9b08bd0..32fe671 100644 --- a/mlkem/kem.c +++ b/mlkem/kem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include #include diff --git a/mlkem/kem.h b/mlkem/kem.h index 234f119..5171151 100644 --- a/mlkem/kem.h +++ b/mlkem/kem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef KEM_H #define KEM_H diff --git a/mlkem/ntt.c b/mlkem/ntt.c index d16239f..589c05c 100644 --- a/mlkem/ntt.c +++ b/mlkem/ntt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include "params.h" #include "ntt.h" diff --git a/mlkem/ntt.h b/mlkem/ntt.h index 227ea74..cb5bb5c 100644 --- a/mlkem/ntt.h +++ b/mlkem/ntt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef NTT_H #define NTT_H diff --git a/mlkem/params.h b/mlkem/params.h index 315e4c0..7326387 100644 --- a/mlkem/params.h +++ b/mlkem/params.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef PARAMS_H #define PARAMS_H diff --git a/mlkem/poly.c b/mlkem/poly.c index 35946c9..af92c29 100644 --- a/mlkem/poly.c +++ b/mlkem/poly.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include "params.h" #include "poly.h" diff --git a/mlkem/poly.h b/mlkem/poly.h index 6d4da78..4f77061 100644 --- a/mlkem/poly.h +++ b/mlkem/poly.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef POLY_H #define POLY_H diff --git a/mlkem/polyvec.c b/mlkem/polyvec.c index 2e3a0aa..cf9939c 100644 --- a/mlkem/polyvec.c +++ b/mlkem/polyvec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include "params.h" #include "poly.h" diff --git a/mlkem/polyvec.h b/mlkem/polyvec.h index c769f2f..fbf7292 100644 --- a/mlkem/polyvec.h +++ b/mlkem/polyvec.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef POLYVEC_H #define POLYVEC_H diff --git a/mlkem/reduce.c b/mlkem/reduce.c index 09b0b7e..fb5cfb6 100644 --- a/mlkem/reduce.c +++ b/mlkem/reduce.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include "params.h" #include "reduce.h" diff --git a/mlkem/reduce.h b/mlkem/reduce.h index c1bc1e4..901823b 100644 --- a/mlkem/reduce.h +++ b/mlkem/reduce.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef REDUCE_H #define REDUCE_H diff --git a/mlkem/symmetric-shake.c b/mlkem/symmetric-shake.c index d4b3e5e..6a560d3 100644 --- a/mlkem/symmetric-shake.c +++ b/mlkem/symmetric-shake.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include #include diff --git a/mlkem/symmetric.h b/mlkem/symmetric.h index c5fdf33..1aab0c5 100644 --- a/mlkem/symmetric.h +++ b/mlkem/symmetric.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #ifndef SYMMETRIC_H #define SYMMETRIC_H diff --git a/mlkem/verify.c b/mlkem/verify.c index 98b2b2f..8bc5723 100644 --- a/mlkem/verify.c +++ b/mlkem/verify.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0 #include #include #include "verify.h" diff --git a/mlkem/verify.h b/mlkem/verify.h index f95ac1b..f3b13d7 100644 --- a/mlkem/verify.h +++ b/mlkem/verify.h @@ -1,3 +1,5 @@ + +// SPDX-License-Identifier: Apache-2.0 or CC0-1.0#ifndef VERIFY_H #ifndef VERIFY_H #define VERIFY_H