Skip to content

Commit

Permalink
lib_cxng: Add #include ledger_assert.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Jan 22, 2024
1 parent 82b94f5 commit 4841c8a
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_aead.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#if defined(HAVE_AEAD)

#include "cx_errors.h"
#include "ledger_assert.h"
#include <stddef.h>
#if defined(HAVE_AES_GCM)
#include "lcx_aes_gcm.h"
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "lcx_wrappers.h"
#include "lcx_common.h"
#include "ox_aes.h"
#include "ledger_assert.h"

/**
* @brief Initializes an AES Key.
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_aes_gcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#if defined(HAVE_AES) && defined(HAVE_AES_GCM)

#include "ox.h"
#include "ledger_assert.h"
#include <stddef.h>

/**
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_aes_siv.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define LCX_AES_SIV_H

#include "lcx_cipher.h"
#include "ledger_assert.h"

#define AES_SIV_MAX_KEY_LEN (32)
#define AES_SIV_KEY_NUMBER (2)
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_blake2.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "lcx_wrappers.h"
#include "lcx_hash.h"
#include "ledger_assert.h"
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_blake3.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

#include "lcx_hash.h"
#include "lcx_wrappers.h"
#include "ledger_assert.h"
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_chacha.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#if defined(HAVE_CHACHA)

#include "ox.h"
#include "ledger_assert.h"
#include <stddef.h>

/**
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_chacha_poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "lcx_chacha.h"
#include "lcx_poly1305.h"
#include "ox.h"
#include "ledger_assert.h"
#include <stddef.h>

typedef struct {
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_cipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "lcx_wrappers.h"
#include "lcx_common.h"
#include "lcx_aes.h"
#include "ledger_assert.h"
#include <stddef.h>

/** Maximum length of the initialization vector in bytes */
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_ecdh.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#include "lcx_wrappers.h"
#include "lcx_ecfp.h"
#include "ledger_assert.h"
#include <stddef.h>

#if defined(HAVE_ECDH)
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_ecdsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include "lcx_wrappers.h"
#include "lcx_ecfp.h"
#include "ledger_assert.h"

/** @internal Backward compatibility */
#define cx_ecdsa_init_public_key cx_ecfp_init_public_key_no_throw
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_ecfp.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "lcx_wrappers.h"
#include "lcx_hash.h"
#include "ox_ec.h"
#include "ledger_assert.h"
#include <stdbool.h>

/** Elliptic Curve public key */
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_eddsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#include "lcx_ecfp.h"
#include "lcx_wrappers.h"
#include "ledger_assert.h"

#ifdef HAVE_EDDSA

Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_groestl.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <stdint.h>

#include "lcx_wrappers.h"
#include "ledger_assert.h"

#define ROWS 8
#define COLS1024 16
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include "cx_errors.h"
#include "lcx_wrappers.h"
#include "lcx_common.h"
#include "ledger_assert.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_hmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "lcx_ripemd160.h"
#include "lcx_sha256.h"
#include "lcx_sha512.h"
#include "ledger_assert.h"
#include <stdbool.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#include "lcx_wrappers.h"
#include "ox_bn.h"
#include "ledger_assert.h"

/**
* @brief Compares two integers represented as byte arrays.
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include "lcx_wrappers.h"
#include "lcx_hash.h"
#include "ledger_assert.h"

/**
* @brief Generates a random buffer such that
Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_rsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "lcx_hash.h"
#include "lcx_sha256.h"
#include "lcx_sha512.h"
#include "ledger_assert.h"
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions lib_cxng/include/lcx_sha3.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include "lcx_common.h"
#include "lcx_hash.h"
#include "ledger_assert.h"
#include <stddef.h>

/**
Expand Down

0 comments on commit 4841c8a

Please sign in to comment.