iwyu: speck.h

This commit is contained in:
Hamish Coleman 2023-06-14 20:30:43 +01:00
parent 3ad14dc6a7
commit 4e0bec79b7
8 changed files with 10 additions and 5 deletions

View File

@ -141,7 +141,6 @@
#include "n2n_wire.h"
#include "portable_endian.h"
#include "aes.h"
#include "speck.h"
#include "curve25519.h"
#include "n2n_regex.h"
#include "sn_selection.h"

View File

@ -26,10 +26,7 @@
#define SPECK_H
#include <stdint.h>
#include <stdlib.h>
#include "portable_endian.h"
#include <stdint.h> // for uint64_t, uint32_t
#define u32 uint32_t

View File

@ -20,6 +20,7 @@
#include "n2n.h"
#include "pearson.h" // for pearson_hash_64
#include "random_numbers.h" // for n2n_seed, n2n_srand
#include "speck.h" // for speck_init, speck_context_t
/* *************************************************** */

View File

@ -23,6 +23,7 @@
#include "network_traffic_filter.h" // for create_network_traffic_filter
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
#include "random_numbers.h" // for n2n_rand, n2n_rand_sqr
#include "speck.h" // for speck_128_decrypt, speck_128_enc...
/* ************************************** */

View File

@ -21,6 +21,7 @@
#include "n2n.h" // for he_context_t, N2N_COMMUNITY_SIZE, TRA...
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
#include "random_numbers.h" // for n2n_rand
#include "speck.h" // for speck_init, speck_context_t, speck_ctr
#define HASH_FIND_COMMUNITY(head, name, out) HASH_FIND_STR(head, name, out)

View File

@ -22,6 +22,7 @@
#include "n2n.h" // for sn_community, n2n_sn_t, peer_info
#include "pearson.h" // for pearson_hash_128, pearson_hash_32
#include "random_numbers.h" // for n2n_rand, n2n_rand_sqr, n2n_seed, n2n...
#include "speck.h" // for speck_128_encrypt, speck_context_t
#define HASH_FIND_COMMUNITY(head, name, out) HASH_FIND_STR(head, name, out)

View File

@ -23,6 +23,9 @@
#include "speck.h"
#include <endian.h> // for htole64, le64toh
#include <mm_malloc.h> // for _mm_free, _mm_malloc
#include <stdlib.h> // for size_t
#if defined (__AVX512F__) // AVX512 support ----------------------------------------------------------------------

View File

@ -20,6 +20,8 @@
#include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_DEBUG
#include "pearson.h" // for pearson_hash_256
#include "random_numbers.h" // for n2n_rand
#include "speck.h" // for N2N_SPECK_IVEC_SIZE, speck_ctr, speck_de...
// Speck plaintext preamble
#define TRANSOP_SPECK_PREAMBLE_SIZE (N2N_SPECK_IVEC_SIZE)