X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=seed.h;h=78d7d59dcb56237d3ac8656bffec232af8cc4577;hb=8f855d283a31a468ea014774c4723a8b77b81644;hp=512863247b29ff5d1a34f2747b84903da6b85e35;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/seed.h b/seed.h index 5128632..78d7d59 100644 --- a/seed.h +++ b/seed.h @@ -1,6 +1,6 @@ /* seed.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 @@ -42,7 +42,7 @@ typedef struct{ /******************************************************************************/ -/** \fn void seed_init(void * key, seed_ctx_t * ctx) +/** \fn void seed_init(const void * key, seed_ctx_t * ctx) * \brief initializes context for SEED operation * * This function copys the key material into a context variable. @@ -52,7 +52,7 @@ typedef struct{ */ void seed_init(const void * key, seed_ctx_t * ctx); -/** \fn void seed_enc(void * buffer, seed_ctx_t * ctx) +/** \fn void seed_enc(void * buffer,const seed_ctx_t * ctx) * \brief encrypt a block with SEED * * This function encrypts a block of 64 bits (8 bytes) with the SEED algorithm. @@ -65,7 +65,7 @@ void seed_init(const void * key, seed_ctx_t * ctx); void seed_enc(void * buffer, const seed_ctx_t * ctx); -/** \fn void seed_dec(void * buffer, seed_ctx_t * ctx) +/** \fn void seed_dec(void * buffer, const seed_ctx_t * ctx) * \brief decrypt a block with SEED * * This function decrypts a block of 64 bits (8 bytes) with the SEED algorithm.