X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=aes128_enc.h;h=5cb49539ea6121998832111001c21569d9a71329;hb=7701e318e4e2bac7f84dbf6e368f1501814948fc;hp=5fa39f7d8f1f2a0886d5f109a7fa31e56dea9588;hpb=d6a35f05fd2b5ee79d5ad8424434ad1a068be453;p=avr-crypto-lib.git diff --git a/aes128_enc.h b/aes128_enc.h index 5fa39f7..5cb4953 100644 --- a/aes128_enc.h +++ b/aes128_enc.h @@ -1,6 +1,6 @@ /* aes128_enc.h */ /* - This file is part of the Crypto-avr-lib/microcrypt-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_ @@ -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);