Browse Source

iwyu: tf.h

pull/1119/head
Hamish Coleman 1 year ago
parent
commit
8e1d63fa51
  1. 2
      include/n2n.h
  2. 7
      include/tf.h
  3. 2
      src/tf.c
  4. 1
      src/transform_tf.c

2
include/n2n.h

@ -150,8 +150,6 @@
/* ************************************** */
#include "tf.h"
#ifndef TRACE_ERROR
#define TRACE_ERROR 0
#define TRACE_WARNING 1

7
include/tf.h

@ -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

@ -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, },

1
src/transform_tf.c

@ -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…
Cancel
Save