diff --git a/fips202/fips202.c b/fips202/fips202.c index d7960e7c1..90e5d287b 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 6b11cfe9a..923c9234c 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 142b9df01..cf10b9e1f 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 d933f51d6..0b3f5bb43 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 70d40f3f3..0e306f57f 100644 --- a/mlkem/api.h +++ b/mlkem/api.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef API_H #define API_H diff --git a/mlkem/bound_test.c b/mlkem/bound_test.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/mlkem/cbd.c b/mlkem/cbd.c index 57f001de0..3ddd14e61 100644 --- a/mlkem/cbd.c +++ b/mlkem/cbd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include "params.h" #include "cbd.h" diff --git a/mlkem/cbd.h b/mlkem/cbd.h index 4aeb281df..7fb178683 100644 --- a/mlkem/cbd.h +++ b/mlkem/cbd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef CBD_H #define CBD_H diff --git a/mlkem/indcpa.c b/mlkem/indcpa.c index 843db771d..648bc26cc 100644 --- a/mlkem/indcpa.c +++ b/mlkem/indcpa.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include diff --git a/mlkem/indcpa.h b/mlkem/indcpa.h index 6dd5088c8..2758e2513 100644 --- a/mlkem/indcpa.h +++ b/mlkem/indcpa.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef INDCPA_H #define INDCPA_H diff --git a/mlkem/kem.c b/mlkem/kem.c index 9b08bd076..6a8b33794 100644 --- a/mlkem/kem.c +++ b/mlkem/kem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include diff --git a/mlkem/kem.h b/mlkem/kem.h index 234f11966..336242cd6 100644 --- a/mlkem/kem.h +++ b/mlkem/kem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef KEM_H #define KEM_H diff --git a/mlkem/ntt.c b/mlkem/ntt.c index d16239f7a..03b578c33 100644 --- a/mlkem/ntt.c +++ b/mlkem/ntt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include "params.h" #include "ntt.h" diff --git a/mlkem/ntt.h b/mlkem/ntt.h index 227ea74f0..4b3b4706a 100644 --- a/mlkem/ntt.h +++ b/mlkem/ntt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef NTT_H #define NTT_H diff --git a/mlkem/params.h b/mlkem/params.h index 315e4c064..36c2a538c 100644 --- a/mlkem/params.h +++ b/mlkem/params.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef PARAMS_H #define PARAMS_H diff --git a/mlkem/poly.c b/mlkem/poly.c index 35946c90b..a481397d0 100644 --- a/mlkem/poly.c +++ b/mlkem/poly.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include "params.h" #include "poly.h" diff --git a/mlkem/poly.h b/mlkem/poly.h index 6d4da785c..43ec475b8 100644 --- a/mlkem/poly.h +++ b/mlkem/poly.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef POLY_H #define POLY_H diff --git a/mlkem/polyvec.c b/mlkem/polyvec.c index 2e3a0aafc..fbdb0d973 100644 --- a/mlkem/polyvec.c +++ b/mlkem/polyvec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include "params.h" #include "poly.h" diff --git a/mlkem/polyvec.h b/mlkem/polyvec.h index c769f2f51..cbcd98f9b 100644 --- a/mlkem/polyvec.h +++ b/mlkem/polyvec.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef POLYVEC_H #define POLYVEC_H diff --git a/mlkem/reduce.c b/mlkem/reduce.c index 09b0b7eb0..b813e3fe4 100644 --- a/mlkem/reduce.c +++ b/mlkem/reduce.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include "params.h" #include "reduce.h" diff --git a/mlkem/reduce.h b/mlkem/reduce.h index c1bc1e4c7..0bebc27b6 100644 --- a/mlkem/reduce.h +++ b/mlkem/reduce.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef REDUCE_H #define REDUCE_H diff --git a/mlkem/symmetric-shake.c b/mlkem/symmetric-shake.c index d4b3e5e74..f4f2c340f 100644 --- a/mlkem/symmetric-shake.c +++ b/mlkem/symmetric-shake.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include diff --git a/mlkem/symmetric.h b/mlkem/symmetric.h index c5fdf337c..20ae3d999 100644 --- a/mlkem/symmetric.h +++ b/mlkem/symmetric.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef SYMMETRIC_H #define SYMMETRIC_H diff --git a/mlkem/verify.c b/mlkem/verify.c index 98b2b2fd8..955dd5e3b 100644 --- a/mlkem/verify.c +++ b/mlkem/verify.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include "verify.h" diff --git a/mlkem/verify.h b/mlkem/verify.h index f95ac1b84..e28d02447 100644 --- a/mlkem/verify.h +++ b/mlkem/verify.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef VERIFY_H #define VERIFY_H diff --git a/randombytes/randombytes.c b/randombytes/randombytes.c index 5a588ccca..8ac027ed6 100644 --- a/randombytes/randombytes.c +++ b/randombytes/randombytes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include diff --git a/randombytes/randombytes.h b/randombytes/randombytes.h index 619b7f9a9..c96851442 100644 --- a/randombytes/randombytes.h +++ b/randombytes/randombytes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #ifndef RANDOMBYTES_H #define RANDOMBYTES_H diff --git a/test/test_kyber.c b/test/test_kyber.c index cd66fa925..e0c30e3a5 100644 --- a/test/test_kyber.c +++ b/test/test_kyber.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 #include #include #include