]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - aes128_dec.h
big bug fixed, still some problems with flow control
[avr-crypto-lib.git] / aes128_dec.h
index 79bb5f1dcb1e36725b9dd374fcbabef0ad0b91e3..f6015d8cc05e7a5062900cc26877a3892677f9d3 100644 (file)
@@ -1,6 +1,6 @@
 /* aes128_dec.h */
 /*
-    This file is part of the This file is part of the AVR-Crypto-Lib.
+    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
@@ -22,7 +22,7 @@
  * \author   Daniel Otte 
  * \date     2008-12-30
  * \license  GPLv3 or later
- * 
+ * \ingroup  AES
  */
 
 #ifndef AES128_DEC_H_
 #include "aes.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 
+ */
 void aes128_dec(void* buffer, aes128_ctx_t* ctx);