From 510a7baee84154a356cad7aa889891ef78396f1b Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Tue, 18 Jun 2019 15:40:24 +0200 Subject: [PATCH] move header guards to the top --- crypto_kem/saber/clean/cbd.h | 5 +++-- crypto_kem/saber/clean/poly.h | 5 +++-- crypto_kem/saber/clean/verify.h | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/crypto_kem/saber/clean/cbd.h b/crypto_kem/saber/clean/cbd.h index bfa975e6..b307921f 100644 --- a/crypto_kem/saber/clean/cbd.h +++ b/crypto_kem/saber/clean/cbd.h @@ -1,3 +1,6 @@ +#ifndef CBD_H +#define CBD_H + /*--------------------------------------------------------------------- This file has been adapted from the implementation (available at, Public Domain https://github.com/pq-crystals/kyber) @@ -5,8 +8,6 @@ of "CRYSTALS – Kyber: a CCA-secure module-lattice-based KEM" by : Joppe Bos, Leo Ducas, Eike Kiltz, Tancrede Lepoint, Vadim Lyubashevsky, John M. Schanck, Peter Schwabe & Damien stehle ----------------------------------------------------------------------*/ -#ifndef CBD_H -#define CBD_H #include "poly.h" #include diff --git a/crypto_kem/saber/clean/poly.h b/crypto_kem/saber/clean/poly.h index cfd7d9df..9d216804 100644 --- a/crypto_kem/saber/clean/poly.h +++ b/crypto_kem/saber/clean/poly.h @@ -1,3 +1,6 @@ +#ifndef POLY_H +#define POLY_H + /*--------------------------------------------------------------------- This file has been adapted from the implementation (available at, Public Domain https://github.com/pq-crystals/kyber) @@ -6,8 +9,6 @@ by : Joppe Bos, Leo Ducas, Eike Kiltz, Tancrede Lepoint, Vadim Lyubashevsky, John M. Schanck, Peter Schwabe & Damien stehle ----------------------------------------------------------------------*/ -#ifndef POLY_H -#define POLY_H #include "SABER_params.h" #include diff --git a/crypto_kem/saber/clean/verify.h b/crypto_kem/saber/clean/verify.h index baea8be7..cacb2ee6 100644 --- a/crypto_kem/saber/clean/verify.h +++ b/crypto_kem/saber/clean/verify.h @@ -1,3 +1,6 @@ +#ifndef VERIFY_H +#define VERIFY_H + /*------------------------------------------------- This file has been adapted from the implementation (available at https://github.com/pq-crystals/kyber) of @@ -5,8 +8,6 @@ This file has been adapted from the implementation by : Joppe Bos, Leo Ducas, Eike Kiltz, Tancrede Lepoint, Vadim Lyubashevsky, John M. Schanck, Peter Schwabe & Damien stehle ----------------------------------------------------*/ -#ifndef VERIFY_H -#define VERIFY_H #include #include