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:
commit
68a7c01797
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.
|
||||||
|
@ -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];
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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
Loading…
Reference in New Issue
Block a user