cleaning
authorLaurent Mazet <mazet@softndesign.org>
Mon, 7 Apr 2025 07:12:20 +0000 (09:12 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Mon, 7 Apr 2025 07:12:20 +0000 (09:12 +0200)
header.h [deleted file]
message.h [deleted file]
morep.c

diff --git a/header.h b/header.h
deleted file mode 100644 (file)
index bd0fc2a..0000000
--- a/header.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
-  File name        : verbose.h
-  Projet           : MERLIN
-  Date of creation : 2025/03/19
-  Version          : 1.0
-  Copyright        : Thales SIX
-  Author           : Laurent Mazet <laurent.mazet@thalesgroup.com>
-
-  Description      : This file contains verbose macros
-
-  History          :
-  - initial version
-*/
diff --git a/message.h b/message.h
deleted file mode 100644 (file)
index 2604d44..0000000
--- a/message.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
-  File name        : message.h
-  Projet           : MERLIN
-  Date of creation : 2025/04/03
-  Version          : 1.0
-  Copyright        : Thales SIX
-  Author           : Laurent Mazet <laurent.mazet@thalesgroup.com>
-
-  Description      : This file contains message definition
-
-  History          :
-  - initial version
-*/
-
-#ifndef __MESSAGE_H__
-#define __MESSAGE_H__
-
-#include <stdint.h>
-#include <sys/cdefs.h>
-
-__BEGIN_DECLS
-
-/**
-   @ingroup MESSAGE
-
-   Clear data type
-*/
-typedef struct {
-    uint8_t channel_id; /**< channel index */
-    uint8_t bypass_len; /**< attached bypass message length */
-    uint8_t bypass_msg[255]; /**< attached bypass message */
-    uint8_t data_len; /**< data length (must be aligned to 16 bytes) */
-    uint8_t data[1472]; /**< data message */
-} CLEAR_DATA_t;
-
-/**
-   @ingroup MESSAGE
-
-   Encrypted data type
-*/
-typedef struct {
-    uint8_t channel_id; /**< channel index */
-    uint8_t bypass_len; /**< attached bypass message length */
-    uint8_t bypass_msg[255]; /**< attached bypass message */
-    uint8_t data_len; /**< data length (must be aligned to 16 bytes) */
-    uint8_t data[1472]; /**< data message */
-    uint8_t iv[12]; /**< initial vector */
-} ENCRYPTED_DATA_t;
-
-/**
-   @ingroup MESSAGE
-
-   PRNG parameter type
-*/
-typedef struct {
-    uint8_t prng_id; /**< algorithm index */
-    uint16_t seq_len; /**< requested PRNG sequence length */
-    uint8_t seed_len; /**< data length (must be aligned to 16 bytes) */
-} PRNG_PARAM_t;
-
-/**
-   @ingroup MESSAGE
-
-   Key type
-*/
-typedef struct {
-    uint16_t key_len; /**< key length */
-    uint8_t key[1495]; /**< raw key */
-} KEY_t;
-
-/**
-   @ingroup MESSAGE
-
-   Channel type
-*/
-typedef struct {
-    uint8_t channel_id; /**< channel index */
-    uint8_t key_id; /**< key index */
-} CHANNEL_t;
-
-/**
-   @ingroup MESSAGE
-
-   Status type
-*/
-typedef struct {
-    uint8_t status; /**< status */
-} STATUS_t;
-
-/**
-   @ingroup MESSAGE
-
-   Raw data type
-*/
-typedef struct {
-    uint16_t data_len; /**< payload length */
-    uint8_t data[1495]; /**< raw payload */
-} RAW_DATA_t;
-
-__END_DECLS
-
-#endif /* __MESSAGE_H__ */
-
-/* vim: set ts=4 sw=4 si et: */
diff --git a/morep.c b/morep.c
index 1566289d78afb2949ad405580171ba3999901125..b154deb42cbde26b7f79f27ccae2e59a3ba04e7a 100644 (file)
--- a/morep.c
+++ b/morep.c
@@ -1,7 +1,7 @@
 /*
   Messaging Over Raw Ethernet Packets communication library
 
-  Copyrigth Thales 20250319
+  Copyright Thales 20250319
 */
 
 #include <assert.h>