X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=aes%2Faes128_dec.h;h=1f4e7f804d4db409467a2fbe1a0fd9c1e8947049;hp=f6015d8cc05e7a5062900cc26877a3892677f9d3;hb=HEAD;hpb=4f50c75ee5a6cc88bf7ea71957ed509e298e6c25 diff --git a/aes/aes128_dec.h b/aes/aes128_dec.h index f6015d8..4a5f895 100644 --- a/aes/aes128_dec.h +++ b/aes/aes128_dec.h @@ -1,7 +1,7 @@ /* aes128_dec.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,8 +18,8 @@ */ /** * \file aes128_dec.h - * \email daniel.otte@rub.de - * \author Daniel Otte + * \email bg@nerilex.org + * \author Daniel Otte * \date 2008-12-30 * \license GPLv3 or later * \ingroup AES @@ -28,18 +28,18 @@ #ifndef AES128_DEC_H_ #define AES128_DEC_H_ -#include "aes.h" +#include "aes_types.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 + * \param ctx pointer to the key schedule */ -void aes128_dec(void* buffer, aes128_ctx_t* ctx); +void aes128_dec(void *buffer, aes128_ctx_t *ctx);