X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=blockcipher_descriptor.h;h=a58ad8a05506eb5feb998dc7c714eec3938b9ed7;hb=92725df162cf1ce83c4bd002fdaff69707e5f310;hp=4dc3c5544f7248b7650d89ca0bfd506af97af61e;hpb=017345097a7e5e05d7751816d2c8e29af3bacadc;p=avr-crypto-lib.git
diff --git a/blockcipher_descriptor.h b/blockcipher_descriptor.h
index 4dc3c55..a58ad8a 100644
--- a/blockcipher_descriptor.h
+++ b/blockcipher_descriptor.h
@@ -1,11 +1,41 @@
/* blockcipher_descriptor.h */
+/*
+ This file is part of the AVR-Crypto-Lib.
+ Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+/**
+ * \file blockcipher_descriptor.h
+ * \author Daniel Otte
+ * \date 2009-02-04
+ *
+ * \license GPLv3 or later
+ *
+ */
#ifndef BLOCKCIPHER_DESCRIPTOR_H_
#define BLOCKCIPHER_DESCRIPTOR_H_
#include
#include
+
+#ifndef VOID_FPT
+#define VOID_FPT
typedef void(*void_fpt)(void);
+#endif
+
typedef void(*bc_init1_fpt)(void*, void*);
typedef void(*bc_init2_fpt)(void*, uint16_t,void*);
typedef void(*bc_enc1_fpt)(void*, void*);