X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=seed.h;h=78d7d59dcb56237d3ac8656bffec232af8cc4577;hp=fed393f7c4f9f6dff7df78f2eeba4dafd905a272;hb=2dc047a070be7f0d64f4d4e7f4296a9650af07dc;hpb=e08695bd5905f1306c16d617d044d97649b5e2ae diff --git a/seed.h b/seed.h index fed393f..78d7d59 100644 --- a/seed.h +++ b/seed.h @@ -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.