X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=aes256_enc.h;h=b42b0f3e23af3564661dc562a770a4847d0f591a;hb=7701e318e4e2bac7f84dbf6e368f1501814948fc;hp=e854e63827e44884e218af9d3b3891b780228912;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/aes256_enc.h b/aes256_enc.h index e854e63..b42b0f3 100644 --- a/aes256_enc.h +++ b/aes256_enc.h @@ -1,6 +1,6 @@ /* aes256_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-31 * \license GPLv3 or later - * + * \ingroup AES */ #ifndef AES256_ENC_H_ @@ -31,6 +31,15 @@ #include "aes.h" #include "aes_enc.h" + +/** \fn void aes256_enc(void* buffer, aes256_ctx_t* ctx) + * \brief encrypt with 256 bit key. + * + * This function encrypts one block with the AES algorithm under control of + * a keyschedule produced from a 256 bit key. + * \param buffer pointer to the block to encrypt + * \param ctx pointer to the key schedule + */ void aes256_enc(void* buffer, aes256_ctx_t* ctx);