mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
iwyu: tf.h
This commit is contained in:
parent
91357d3cbf
commit
8e1d63fa51
|
@ -150,8 +150,6 @@
|
|||
|
||||
/* ************************************** */
|
||||
|
||||
#include "tf.h"
|
||||
|
||||
#ifndef TRACE_ERROR
|
||||
#define TRACE_ERROR 0
|
||||
#define TRACE_WARNING 1
|
||||
|
|
|
@ -51,11 +51,8 @@
|
|||
#define TF_H
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "portable_endian.h"
|
||||
#include <stdint.h> // for uint32_t
|
||||
#include <stdlib.h> // for size_t
|
||||
|
||||
|
||||
#define TF_BLOCK_SIZE 16
|
||||
|
|
2
src/tf.c
2
src/tf.c
|
@ -48,6 +48,8 @@
|
|||
|
||||
|
||||
#include "tf.h"
|
||||
#include <endian.h> // for le32toh, htole32
|
||||
#include <string.h> // for memcpy
|
||||
|
||||
|
||||
const uint8_t RS[4][8] = { { 0x01, 0xA4, 0x55, 0x87, 0x5A, 0x58, 0xDB, 0x9E, },
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_ERROR
|
||||
#include "pearson.h" // for pearson_hash_256
|
||||
#include "random_numbers.h" // for n2n_rand
|
||||
#include "tf.h" // for TF_BLOCK_SIZE, tf_cbc_decrypt, tf_cbc_en...
|
||||
|
||||
|
||||
// size of random value prepended to plaintext defaults to TF_BLOCK_SIZE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user