diff --git a/avx2/align.h b/avx2/align.h index 3463866f..20e473c0 100644 --- a/avx2/align.h +++ b/avx2/align.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef ALIGN_H #define ALIGN_H diff --git a/avx2/api.h b/avx2/api.h index a154e80f..2d3ef16c 100644 --- a/avx2/api.h +++ b/avx2/api.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef API_H #define API_H diff --git a/avx2/basemul.S b/avx2/basemul.S index 36990639..eaead314 100644 --- a/avx2/basemul.S +++ b/avx2/basemul.S @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "consts.h" .macro schoolbook off diff --git a/avx2/cbd.c b/avx2/cbd.c index dad473c7..82939e07 100644 --- a/avx2/cbd.c +++ b/avx2/cbd.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include "params.h" diff --git a/avx2/cbd.h b/avx2/cbd.h index 05788e06..6db31817 100644 --- a/avx2/cbd.h +++ b/avx2/cbd.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef CBD_H #define CBD_H diff --git a/avx2/consts.c b/avx2/consts.c index 84e59689..3b32ba49 100644 --- a/avx2/consts.c +++ b/avx2/consts.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "align.h" #include "params.h" #include "consts.h" diff --git a/avx2/consts.h b/avx2/consts.h index f95899cd..96aac108 100644 --- a/avx2/consts.h +++ b/avx2/consts.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef CONSTS_H #define CONSTS_H diff --git a/avx2/fips202.h b/avx2/fips202.h index 36689e3d..f41b6163 100644 --- a/avx2/fips202.h +++ b/avx2/fips202.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef FIPS202_H #define FIPS202_H diff --git a/avx2/fips202x4.c b/avx2/fips202x4.c index 6bc6d1a5..2ee31fb0 100644 --- a/avx2/fips202x4.c +++ b/avx2/fips202x4.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/avx2/fips202x4.h b/avx2/fips202x4.h index f2121f3b..7f97c07f 100644 --- a/avx2/fips202x4.h +++ b/avx2/fips202x4.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef FIPS202X4_H #define FIPS202X4_H diff --git a/avx2/fq.S b/avx2/fq.S index 3bb1ebd3..3656819a 100644 --- a/avx2/fq.S +++ b/avx2/fq.S @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "consts.h" .include "fq.inc" diff --git a/avx2/fq.inc b/avx2/fq.inc index 4b7afc31..8fa34e7f 100644 --- a/avx2/fq.inc +++ b/avx2/fq.inc @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + .macro red16 r,rs=0,x=12 vpmulhw %ymm1,%ymm\r,%ymm\x .if \rs diff --git a/avx2/indcpa.c b/avx2/indcpa.c index 18b9d08f..4a5bc8a8 100644 --- a/avx2/indcpa.c +++ b/avx2/indcpa.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/avx2/invntt.S b/avx2/invntt.S index 76d41899..ec3e449c 100644 --- a/avx2/invntt.S +++ b/avx2/invntt.S @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "consts.h" .include "shuffle.inc" .include "fq.inc" diff --git a/avx2/keccak4x/KeccakP-1600-times4-SIMD256.c b/avx2/keccak4x/KeccakP-1600-times4-SIMD256.c index 54c4a1ee..2f2cd0a6 100644 --- a/avx2/keccak4x/KeccakP-1600-times4-SIMD256.c +++ b/avx2/keccak4x/KeccakP-1600-times4-SIMD256.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC0-1.0 + * Copyright: Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer + * */ + /* Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby diff --git a/avx2/keccak4x/KeccakP-1600-times4-SnP.h b/avx2/keccak4x/KeccakP-1600-times4-SnP.h index 4cc5d6a2..6544473e 100644 --- a/avx2/keccak4x/KeccakP-1600-times4-SnP.h +++ b/avx2/keccak4x/KeccakP-1600-times4-SnP.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC0-1.0 + * Copyright: Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer + * */ + /* Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby diff --git a/avx2/keccak4x/KeccakP-1600-unrolling.macros b/avx2/keccak4x/KeccakP-1600-unrolling.macros index 3180bb06..275dfef7 100644 --- a/avx2/keccak4x/KeccakP-1600-unrolling.macros +++ b/avx2/keccak4x/KeccakP-1600-unrolling.macros @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC0-1.0 + * Copyright: Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer + * */ + /* Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby diff --git a/avx2/keccak4x/KeccakP-SIMD256-config.h b/avx2/keccak4x/KeccakP-SIMD256-config.h index 1c65fe29..41262aa7 100644 --- a/avx2/keccak4x/KeccakP-SIMD256-config.h +++ b/avx2/keccak4x/KeccakP-SIMD256-config.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC0-1.0 + * Copyright: Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer + * */ + #define KeccakP1600times4_implementation_config "AVX2, all rounds unrolled" #define KeccakP1600times4_fullUnrolling #define KeccakP1600times4_useAVX2 diff --git a/avx2/keccak4x/KeccakP-align.h b/avx2/keccak4x/KeccakP-align.h index 9ee95cee..fd15e440 100644 --- a/avx2/keccak4x/KeccakP-align.h +++ b/avx2/keccak4x/KeccakP-align.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC0-1.0 + * Copyright: Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer + * */ + /* Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby diff --git a/avx2/ntt.S b/avx2/ntt.S index 0ce7b412..9fb36ed0 100644 --- a/avx2/ntt.S +++ b/avx2/ntt.S @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "consts.h" .include "shuffle.inc" diff --git a/avx2/ntt.h b/avx2/ntt.h index a4f48e34..9f7512bd 100644 --- a/avx2/ntt.h +++ b/avx2/ntt.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef NTT_H #define NTT_H diff --git a/avx2/params.h b/avx2/params.h index bc70ebf4..30aac2ee 100644 --- a/avx2/params.h +++ b/avx2/params.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef PARAMS_H #define PARAMS_H diff --git a/avx2/poly.c b/avx2/poly.c index 56a5e1e8..e28b3b2d 100644 --- a/avx2/poly.c +++ b/avx2/poly.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/avx2/poly.h b/avx2/poly.h index 6a9cf71c..ff28bb1c 100644 --- a/avx2/poly.h +++ b/avx2/poly.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef POLY_H #define POLY_H diff --git a/avx2/polyvec.c b/avx2/polyvec.c index a0174b7b..264221fa 100644 --- a/avx2/polyvec.c +++ b/avx2/polyvec.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/avx2/polyvec.h b/avx2/polyvec.h index 2ce23c31..a6fbc91b 100644 --- a/avx2/polyvec.h +++ b/avx2/polyvec.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef POLYVEC_H #define POLYVEC_H diff --git a/avx2/reduce.h b/avx2/reduce.h index 5368185b..0560e1e9 100644 --- a/avx2/reduce.h +++ b/avx2/reduce.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef REDUCE_H #define REDUCE_H diff --git a/avx2/rejsample.c b/avx2/rejsample.c index 9060a44c..31a10f40 100644 --- a/avx2/rejsample.c +++ b/avx2/rejsample.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/avx2/rejsample.h b/avx2/rejsample.h index 3be5e219..495576e2 100644 --- a/avx2/rejsample.h +++ b/avx2/rejsample.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef REJSAMPLE_H #define REJSAMPLE_H diff --git a/avx2/shuffle.S b/avx2/shuffle.S index 18325ebe..d95f0f7d 100644 --- a/avx2/shuffle.S +++ b/avx2/shuffle.S @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include "consts.h" .include "fq.inc" .include "shuffle.inc" diff --git a/avx2/shuffle.inc b/avx2/shuffle.inc index 73e9ffe0..936c3d23 100644 --- a/avx2/shuffle.inc +++ b/avx2/shuffle.inc @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + .macro shuffle8 r0,r1,r2,r3 vperm2i128 $0x20,%ymm\r1,%ymm\r0,%ymm\r2 vperm2i128 $0x31,%ymm\r1,%ymm\r0,%ymm\r3 diff --git a/avx2/symmetric.h b/avx2/symmetric.h index 627b8916..655fc57d 100644 --- a/avx2/symmetric.h +++ b/avx2/symmetric.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef SYMMETRIC_H #define SYMMETRIC_H diff --git a/avx2/verify.c b/avx2/verify.c index 06243b83..c5ed59b9 100644 --- a/avx2/verify.c +++ b/avx2/verify.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/api.h b/ref/api.h index 70d40f3f..4b397c14 100644 --- a/ref/api.h +++ b/ref/api.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef API_H #define API_H diff --git a/ref/cbd.c b/ref/cbd.c index 1500ffea..4214fd28 100644 --- a/ref/cbd.c +++ b/ref/cbd.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "params.h" #include "cbd.h" diff --git a/ref/cbd.h b/ref/cbd.h index 7b677d74..ceb938ad 100644 --- a/ref/cbd.h +++ b/ref/cbd.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef CBD_H #define CBD_H diff --git a/ref/fips202.c b/ref/fips202.c index ab3d2a12..b33fac5a 100644 --- a/ref/fips202.c +++ b/ref/fips202.c @@ -1,3 +1,9 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, Gregor Seiler, Peter Schwabe, Damien Stehlé, + * Ronny Van Keer (crypto_hash/keccakc512/simple/ from http://bench.cr.yp.to/supercop.html), + * Gilles Van Assche, Daniel J. Bernstein, Peter Schwabe (TweetFips202) + * */ + /* Based on the public domain implementation in crypto_hash/keccakc512/simple/ from * http://bench.cr.yp.to/supercop.html by Ronny Van Keer and the public domain "TweetFips202" * implementation from https://twitter.com/tweetfips202 by Gilles Van Assche, Daniel J. Bernstein, diff --git a/ref/fips202.h b/ref/fips202.h index df2dde57..9a18fd98 100644 --- a/ref/fips202.h +++ b/ref/fips202.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef FIPS202_H #define FIPS202_H diff --git a/ref/indcpa.c b/ref/indcpa.c index 9a78c09f..6a69c917 100644 --- a/ref/indcpa.c +++ b/ref/indcpa.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/indcpa.h b/ref/indcpa.h index 6dd5088c..2975d65a 100644 --- a/ref/indcpa.h +++ b/ref/indcpa.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef INDCPA_H #define INDCPA_H diff --git a/ref/kem.c b/ref/kem.c index 63abc102..fec473a8 100644 --- a/ref/kem.c +++ b/ref/kem.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/kem.h b/ref/kem.h index 234f1196..6721a17b 100644 --- a/ref/kem.h +++ b/ref/kem.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef KEM_H #define KEM_H diff --git a/ref/ntt.c b/ref/ntt.c index 2f2eb10b..a1e534aa 100644 --- a/ref/ntt.c +++ b/ref/ntt.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "params.h" #include "ntt.h" diff --git a/ref/ntt.h b/ref/ntt.h index 227ea74f..12bda763 100644 --- a/ref/ntt.h +++ b/ref/ntt.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef NTT_H #define NTT_H diff --git a/ref/params.h b/ref/params.h index 0802c748..3b9d7821 100644 --- a/ref/params.h +++ b/ref/params.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef PARAMS_H #define PARAMS_H diff --git a/ref/poly.c b/ref/poly.c index cbd3abfb..f7b74297 100644 --- a/ref/poly.c +++ b/ref/poly.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "params.h" #include "poly.h" diff --git a/ref/poly.h b/ref/poly.h index 9a99c7cd..aed58886 100644 --- a/ref/poly.h +++ b/ref/poly.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef POLY_H #define POLY_H diff --git a/ref/polyvec.c b/ref/polyvec.c index 669f6a5f..8e375135 100644 --- a/ref/polyvec.c +++ b/ref/polyvec.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "params.h" #include "poly.h" diff --git a/ref/polyvec.h b/ref/polyvec.h index 57b60549..6d4bee97 100644 --- a/ref/polyvec.h +++ b/ref/polyvec.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef POLYVEC_H #define POLYVEC_H diff --git a/ref/randombytes.c b/ref/randombytes.c index 8a12a425..70fdde11 100644 --- a/ref/randombytes.c +++ b/ref/randombytes.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/randombytes.h b/ref/randombytes.h index 619b7f9a..b78e9dc3 100644 --- a/ref/randombytes.h +++ b/ref/randombytes.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef RANDOMBYTES_H #define RANDOMBYTES_H diff --git a/ref/reduce.c b/ref/reduce.c index 9d8e7edf..507e00c9 100644 --- a/ref/reduce.c +++ b/ref/reduce.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "params.h" #include "reduce.h" diff --git a/ref/reduce.h b/ref/reduce.h index c1bc1e4c..1ea425dd 100644 --- a/ref/reduce.h +++ b/ref/reduce.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef REDUCE_H #define REDUCE_H diff --git a/ref/symmetric-shake.c b/ref/symmetric-shake.c index 6a990719..033fc1c8 100644 --- a/ref/symmetric-shake.c +++ b/ref/symmetric-shake.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/symmetric.h b/ref/symmetric.h index 58e6ece8..d6ca2b0f 100644 --- a/ref/symmetric.h +++ b/ref/symmetric.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef SYMMETRIC_H #define SYMMETRIC_H diff --git a/ref/test/cpucycles.c b/ref/test/cpucycles.c index d95ba3af..787ed282 100644 --- a/ref/test/cpucycles.c +++ b/ref/test/cpucycles.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include "cpucycles.h" diff --git a/ref/test/cpucycles.h b/ref/test/cpucycles.h index 7b7b9f79..e90a9e35 100644 --- a/ref/test/cpucycles.h +++ b/ref/test/cpucycles.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef CPUCYCLES_H #define CPUCYCLES_H diff --git a/ref/test/speed_print.c b/ref/test/speed_print.c index 59f147de..99d499cd 100644 --- a/ref/test/speed_print.c +++ b/ref/test/speed_print.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/test/speed_print.h b/ref/test/speed_print.h index 00b24447..ea8b1590 100644 --- a/ref/test/speed_print.h +++ b/ref/test/speed_print.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef PRINT_SPEED_H #define PRINT_SPEED_H diff --git a/ref/test/test_kyber.c b/ref/test/test_kyber.c index f56d6bb5..dc9c1bfd 100644 --- a/ref/test/test_kyber.c +++ b/ref/test/test_kyber.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/test/test_speed.c b/ref/test/test_speed.c index 16051167..577d1809 100644 --- a/ref/test/test_speed.c +++ b/ref/test/test_speed.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include diff --git a/ref/verify.c b/ref/verify.c index 914ccd44..6f19a39d 100644 --- a/ref/verify.c +++ b/ref/verify.c @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #include #include #include "verify.h" diff --git a/ref/verify.h b/ref/verify.h index 09f0ad50..b56e32a3 100644 --- a/ref/verify.h +++ b/ref/verify.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 + * Copyright: Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé + * */ + #ifndef VERIFY_H #define VERIFY_H