X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=noekeon.h;h=c6cc9e88004b4d0904cf02d6a1082c16e98cff57;hb=17332291e15183d71d88ed868275e3cb53917180;hp=f0eaf528a7c4da9e05e27a49a89da681204a5193;hpb=6bd58d7909b89a3e05003a63cdc642638fa653e6;p=avr-crypto-lib.git diff --git a/noekeon.h b/noekeon.h index f0eaf52..c6cc9e8 100644 --- a/noekeon.h +++ b/noekeon.h @@ -1,6 +1,6 @@ /* noekeon.h */ /* - This file is part of the Crypto-avr-lib/microcrypt-lib. + This file is part of the 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 @@ -44,7 +44,7 @@ typedef uint8_t noekeon_ctx_t[16]; * \param key pointer to either the key (128 bit = 16 byte; direct mode) or * to the context (indirect mode) */ -void noekeon_enc(void* buffer, void* key); +void noekeon_enc(void* buffer, const void* key); /** \fn void noekeon_enc(void* buffer, void* key) * \brief noekeon encrytion funtion @@ -58,7 +58,7 @@ void noekeon_enc(void* buffer, void* key); * \param key pointer to either the key (128 bit = 16 byte; direct mode) or * to the context (indirect mode) */ -void noekeon_dec(void* buffer, void* key); +void noekeon_dec(void* buffer, const void* key); /** \fn void noekeon_init(void* key, noekeon_ctx_t* ctx) @@ -71,6 +71,6 @@ void noekeon_dec(void* buffer, void* key); * \param ctx pointer to the context to fill with key material * to the context (indirect mode) */ -void noekeon_init(void* key, noekeon_ctx_t* ctx); +void noekeon_init(const void* key, noekeon_ctx_t* ctx); #endif /*NOEKEON_H_*/