]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - aes/aes128_dec.h
new and more compact aes
[avr-crypto-lib.git] / aes / aes128_dec.h
index f6015d8cc05e7a5062900cc26877a3892677f9d3..4a5f8953ee432e367ca1d46f8abb4aa919bacdf8 100644 (file)
@@ -1,7 +1,7 @@
 /* aes128_dec.h */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
+    Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
 
     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
@@ -18,8 +18,8 @@
 */
 /**
  * \file     aes128_dec.h
- * \email    daniel.otte@rub.de
- * \author   Daniel Otte 
+ * \email    bg@nerilex.org
+ * \author   Daniel Otte
  * \date     2008-12-30
  * \license  GPLv3 or later
  * \ingroup  AES
 #ifndef AES128_DEC_H_
 #define AES128_DEC_H_
 
-#include "aes.h"
+#include "aes_types.h"
 #include "aes_dec.h"
 
-/** \fn void aes128_dec(void* buffer, aes128_ctx_t* ctx)
+/**
  * \brief decrypt with 128 bit key.
- * 
+ *
  * This function decrypts one block with the AES algorithm under control of
  * a keyschedule produced from a 128 bit key.
  * \param buffer pointer to the block to decrypt
- * \param ctx    pointer to the key schedule 
+ * \param ctx    pointer to the key schedule
  */
-void aes128_dec(void* buffer, aes128_ctx_t* ctx);
+void aes128_dec(void *buffer, aes128_ctx_t *ctx);