X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=aes128_enc.h;h=5cb49539ea6121998832111001c21569d9a71329;hb=5ef100e38af8134b518c1307f17ad21dfd46f5dd;hp=169e5c986f846e974561b70f38550ea20f378ee0;hpb=e5a49deb52521f019e37779d6e9d81ec4f02aba4;p=avr-crypto-lib.git diff --git a/aes128_enc.h b/aes128_enc.h index 169e5c9..5cb4953 100644 --- a/aes128_enc.h +++ b/aes128_enc.h @@ -22,7 +22,7 @@ * \author Daniel Otte * \date 2008-12-30 * \license GPLv3 or later - * + * \ingroup AES */ #ifndef AES128_ENC_H_ @@ -31,6 +31,15 @@ #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);