diff options
author | Inga Stotland <inga.stotland@intel.com> | 2019-08-11 23:25:58 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-08-12 12:49:34 -0400 |
commit | fb5c57bccb302ebaf17a0fbf5944b358968082ef (patch) | |
tree | f9fe8d6d73813758f1df0576f1c7d4fe6d62abd0 /mesh/crypto.c | |
parent | b94453eb2d57f8bf0f99734743720208d0be3015 (diff) | |
download | bluez-fb5c57bccb302ebaf17a0fbf5944b358968082ef.tar.gz |
mesh: Move commonly used constants into mesh-defs.h
This consolidates definitions of commonly used constant values
into a single header file. The constant values are based on mesh
specification, plus a few internal utility constants (masks, etc.)
Also, removes redundant redefinition maximum message length.
Diffstat (limited to 'mesh/crypto.c')
-rw-r--r-- | mesh/crypto.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mesh/crypto.c b/mesh/crypto.c index b1b1fa9a8..a6dc7ffe2 100644 --- a/mesh/crypto.c +++ b/mesh/crypto.c @@ -28,6 +28,10 @@ #include <linux/if_alg.h> +#include "mesh/mesh-defs.h" +#include "mesh/net.h" +#include "mesh/crypto.h" + #ifndef SOL_ALG #define SOL_ALG 279 #endif @@ -36,11 +40,6 @@ #define ALG_SET_AEAD_AUTHSIZE 5 #endif -#include "mesh/mesh.h" -#include "mesh/node.h" -#include "mesh/net.h" -#include "mesh/crypto.h" - /* Multiply used Zero array */ static const uint8_t zero[16] = { 0, }; |