1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Merge pull request #218 from PQClean/fix_sphincs_lints

Fix SPHINCS+ clang-tidy warnings.
This commit is contained in:
Thom Wiggers 2019-08-05 14:44:34 +02:00 committed by GitHub
commit 68a7c01797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
289 changed files with 289 additions and 294 deletions

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA128FROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA128FROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA128SROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA128SROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA128SSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA128SSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA192FSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA192FSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA192SROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA192SROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA192SSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA192SSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA256FSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA256FSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA256SROBUST_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA256SROBUST_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -2,8 +2,8 @@
#include <string.h> #include <string.h>
#include "address.h" #include "address.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "haraka.h" #include "haraka.h"

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"
#include "wots.h" #include "wots.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_WOTS_H #ifndef SPX_WOTS_H
#define SPX_WOTS_H #define SPX_WOTS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stdint.h> #include <stdint.h>
/** /**

View File

@ -3,8 +3,8 @@
#include <stdint.h> #include <stdint.h>
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
/** /**
* Signs a message m, deriving the secret key from sk_seed and the FTS address. * Signs a message m, deriving the secret key from sk_seed and the FTS address.

View File

@ -1,8 +1,8 @@
#ifndef SPX_HARAKA_H #ifndef SPX_HARAKA_H
#define SPX_HARAKA_H #define SPX_HARAKA_H
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
typedef struct { typedef struct {
uint64_t tweaked512_rc64[10][8]; uint64_t tweaked512_rc64[10][8];

View File

@ -6,8 +6,8 @@
#include "api.h" #include "api.h"
#include "fors.h" #include "fors.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "randombytes.h" #include "randombytes.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_THASH_H #ifndef SPX_THASH_H
#define SPX_THASH_H #define SPX_THASH_H
#include <stdint.h>
#include "hash_state.h" #include "hash_state.h"
#include <stdint.h>
void PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_thash_1( void PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_thash_1(
unsigned char *out, const unsigned char *in, unsigned char *out, const unsigned char *in,

View File

@ -3,8 +3,8 @@
#include "address.h" #include "address.h"
#include "hash.h" #include "hash.h"
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include "thash.h" #include "thash.h"
#include "utils.h" #include "utils.h"

View File

@ -1,8 +1,8 @@
#ifndef SPX_UTILS_H #ifndef SPX_UTILS_H
#define SPX_UTILS_H #define SPX_UTILS_H
#include "params.h"
#include "hash_state.h" #include "hash_state.h"
#include "params.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

Some files were not shown because too many files have changed in this diff Show More