]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - aes128_enc.h
big bug fixed, still some problems with flow control
[avr-crypto-lib.git] / aes128_enc.h
index cbdc871d6bcd9904b5f9dba8f7bf5d99471da770..5cb49539ea6121998832111001c21569d9a71329 100644 (file)
@@ -1,6 +1,6 @@
 /* aes128_enc.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_ENC_H_
 #include "aes.h"
 #include "aes_enc.h"
 
+
+/** \fn void aes128_enc(void* buffer, aes128_ctx_t* ctx)
+ * \brief encrypt with 128 bit key.
+ * 
+ * This function encrypts one block with the AES algorithm under control of
+ * a keyschedule produced from a 128 bit key.
+ * \param buffer pointer to the block to encrypt
+ * \param ctx    pointer to the key schedule 
+ */
 void aes128_enc(void* buffer, aes128_ctx_t* ctx);