Browse Source

iwyu: aes.c

pull/1119/head
Hamish Coleman 1 year ago
parent
commit
14780a72d3
  1. 3
      include/aes.h
  2. 7
      src/aes.c
  3. 1
      src/transform_aes.c

3
include/aes.h

@ -17,9 +17,6 @@
*/ */
#include "n2n.h" // HAVE_OPENSSL_1_1, traceEvent ...
#ifndef AES_H #ifndef AES_H
#define AES_H #define AES_H

7
src/aes.c

@ -17,7 +17,12 @@
*/ */
#include "n2n.h" #include <endian.h> // for be32toh, htobe32
#include <stdint.h> // for uint32_t, uint8_t
#include <stdlib.h> // for calloc, free
#include <string.h> // for memcpy, size_t
#include "aes.h" // for AES_BLOCK_SIZE, aes_context_t, AES128_KEY_BYTES
#include "n2n.h" // for TRACE_ERROR, traceEvent
#if defined (HAVE_OPENSSL_1_1) // openSSL 1.1 --------------------------------------------------------------------- #if defined (HAVE_OPENSSL_1_1) // openSSL 1.1 ---------------------------------------------------------------------

1
src/transform_aes.c

@ -17,6 +17,7 @@
*/ */
#include "aes.h" // for AES_BLOCK_SIZE, aes_cbc_decrypt, aes_cbc...
#include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_ERROR #include "n2n.h" // for n2n_trans_op_t, traceEvent, TRACE_ERROR
#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

Loading…
Cancel
Save