X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2Faes.h;h=f573638b2c003a57d01a0e1922e5ed4b3b70c6db;hp=6efd6582de3b6b87a82f2254d809e45ac851bfde;hb=9f20f0382b6229eca740925a73f96294f6dcedc6;hpb=2dc218143c7859f7529396dc121ae08e2fd78da0 diff --git a/lib/silccrypt/aes.h b/lib/silccrypt/aes.h index 6efd6582..f573638b 100644 --- a/lib/silccrypt/aes.h +++ b/lib/silccrypt/aes.h @@ -1,16 +1,15 @@ /* - rijndael.h + aes.h - Author: Pekka Riikonen + Author: Pekka Riikonen - Copyright (C) 1997 - 2000 Pekka Riikonen + Copyright (C) 1997 - 2008 Pekka Riikonen 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - + the Free Software Foundation; version 2 of the License. + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -18,17 +17,18 @@ */ -#ifndef RIJNDAEL_H -#define RIJNDAEL_H +#ifndef AES_H +#define AES_H -/* - * SILC Crypto API for Rijndael +/* + * SILC Crypto API for AES */ SILC_CIPHER_API_SET_KEY(aes); -SILC_CIPHER_API_SET_KEY_WITH_STRING(aes); -SILC_CIPHER_API_CONTEXT_LEN(aes); -SILC_CIPHER_API_ENCRYPT_CBC(aes); -SILC_CIPHER_API_DECRYPT_CBC(aes); +SILC_CIPHER_API_SET_IV(aes); +SILC_CIPHER_API_ENCRYPT(aes); +SILC_CIPHER_API_DECRYPT(aes); +SILC_CIPHER_API_INIT(aes); +SILC_CIPHER_API_UNINIT(aes); #endif