mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
iwyu: speck.h
This commit is contained in:
parent
3ad14dc6a7
commit
4e0bec79b7
|
@ -141,7 +141,6 @@
|
||||||
#include "n2n_wire.h"
|
#include "n2n_wire.h"
|
||||||
#include "portable_endian.h"
|
#include "portable_endian.h"
|
||||||
#include "aes.h"
|
#include "aes.h"
|
||||||
#include "speck.h"
|
|
||||||
#include "curve25519.h"
|
#include "curve25519.h"
|
||||||
#include "n2n_regex.h"
|
#include "n2n_regex.h"
|
||||||
#include "sn_selection.h"
|
#include "sn_selection.h"
|
||||||
|
|
|
@ -26,10 +26,7 @@
|
||||||
#define SPECK_H
|
#define SPECK_H
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h> // for uint64_t, uint32_t
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "portable_endian.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define u32 uint32_t
|
#define u32 uint32_t
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include "n2n.h"
|
#include "n2n.h"
|
||||||
#include "pearson.h" // for pearson_hash_64
|
#include "pearson.h" // for pearson_hash_64
|
||||||
#include "random_numbers.h" // for n2n_seed, n2n_srand
|
#include "random_numbers.h" // for n2n_seed, n2n_srand
|
||||||
|
#include "speck.h" // for speck_init, speck_context_t
|
||||||
|
|
||||||
|
|
||||||
/* *************************************************** */
|
/* *************************************************** */
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "network_traffic_filter.h" // for create_network_traffic_filter
|
#include "network_traffic_filter.h" // for create_network_traffic_filter
|
||||||
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
|
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
|
||||||
#include "random_numbers.h" // for n2n_rand, n2n_rand_sqr
|
#include "random_numbers.h" // for n2n_rand, n2n_rand_sqr
|
||||||
|
#include "speck.h" // for speck_128_decrypt, speck_128_enc...
|
||||||
|
|
||||||
|
|
||||||
/* ************************************** */
|
/* ************************************** */
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "n2n.h" // for he_context_t, N2N_COMMUNITY_SIZE, TRA...
|
#include "n2n.h" // for he_context_t, N2N_COMMUNITY_SIZE, TRA...
|
||||||
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
|
#include "pearson.h" // for pearson_hash_128, pearson_hash_64
|
||||||
#include "random_numbers.h" // for n2n_rand
|
#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)
|
#define HASH_FIND_COMMUNITY(head, name, out) HASH_FIND_STR(head, name, out)
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include "n2n.h" // for sn_community, n2n_sn_t, peer_info
|
#include "n2n.h" // for sn_community, n2n_sn_t, peer_info
|
||||||
#include "pearson.h" // for pearson_hash_128, pearson_hash_32
|
#include "pearson.h" // for pearson_hash_128, pearson_hash_32
|
||||||
#include "random_numbers.h" // for n2n_rand, n2n_rand_sqr, n2n_seed, n2n...
|
#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)
|
#define HASH_FIND_COMMUNITY(head, name, out) HASH_FIND_STR(head, name, out)
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
|
|
||||||
|
|
||||||
#include "speck.h"
|
#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 ----------------------------------------------------------------------
|
#if defined (__AVX512F__) // AVX512 support ----------------------------------------------------------------------
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
#include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_DEBUG
|
#include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_DEBUG
|
||||||
#include "pearson.h" // for pearson_hash_256
|
#include "pearson.h" // for pearson_hash_256
|
||||||
#include "random_numbers.h" // for n2n_rand
|
#include "random_numbers.h" // for n2n_rand
|
||||||
|
#include "speck.h" // for N2N_SPECK_IVEC_SIZE, speck_ctr, speck_de...
|
||||||
|
|
||||||
|
|
||||||
// Speck plaintext preamble
|
// Speck plaintext preamble
|
||||||
#define TRANSOP_SPECK_PREAMBLE_SIZE (N2N_SPECK_IVEC_SIZE)
|
#define TRANSOP_SPECK_PREAMBLE_SIZE (N2N_SPECK_IVEC_SIZE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user