From f74c1e6ad29de34caba1088c42705cdcd6b02a77 Mon Sep 17 00:00:00 2001 From: "John M. Schanck" Date: Wed, 9 Sep 2020 10:03:19 -0400 Subject: [PATCH] Satisfy linter --- crypto_kem/hqc-rmrs-128/clean/reed_muller.c | 2 +- crypto_kem/hqc-rmrs-192/clean/reed_muller.c | 2 +- crypto_kem/hqc-rmrs-256/clean/reed_muller.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto_kem/hqc-rmrs-128/clean/reed_muller.c b/crypto_kem/hqc-rmrs-128/clean/reed_muller.c index 36e80ff6..c958fb48 100644 --- a/crypto_kem/hqc-rmrs-128/clean/reed_muller.c +++ b/crypto_kem/hqc-rmrs-128/clean/reed_muller.c @@ -16,7 +16,7 @@ #define BIT0MASK(x) (-((x) & 1)) -static void encode(uint32_t *word, const uint8_t message); +static void encode(uint32_t *word, uint8_t message); static void hadamard(uint16_t src[128], uint16_t dst[128]); static void expand_and_sum(uint16_t dest[128], const uint32_t src[4 * MULTIPLICITY]); static uint8_t find_peaks(const uint16_t transform[128]); diff --git a/crypto_kem/hqc-rmrs-192/clean/reed_muller.c b/crypto_kem/hqc-rmrs-192/clean/reed_muller.c index 5beb05e3..b2398315 100644 --- a/crypto_kem/hqc-rmrs-192/clean/reed_muller.c +++ b/crypto_kem/hqc-rmrs-192/clean/reed_muller.c @@ -16,7 +16,7 @@ #define BIT0MASK(x) (-((x) & 1)) -static void encode(uint32_t *word, const uint8_t message); +static void encode(uint32_t *word, uint8_t message); static void hadamard(uint16_t src[128], uint16_t dst[128]); static void expand_and_sum(uint16_t dest[128], const uint32_t src[4 * MULTIPLICITY]); static uint8_t find_peaks(const uint16_t transform[128]); diff --git a/crypto_kem/hqc-rmrs-256/clean/reed_muller.c b/crypto_kem/hqc-rmrs-256/clean/reed_muller.c index ab3b66fa..b7715ae2 100644 --- a/crypto_kem/hqc-rmrs-256/clean/reed_muller.c +++ b/crypto_kem/hqc-rmrs-256/clean/reed_muller.c @@ -16,7 +16,7 @@ #define BIT0MASK(x) (-((x) & 1)) -static void encode(uint32_t *word, const uint8_t message); +static void encode(uint32_t *word, uint8_t message); static void hadamard(uint16_t src[128], uint16_t dst[128]); static void expand_and_sum(uint16_t dest[128], const uint32_t src[4 * MULTIPLICITY]); static uint8_t find_peaks(const uint16_t transform[128]);