]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - seed.h
forgotten files
[avr-crypto-lib.git] / seed.h
diff --git a/seed.h b/seed.h
index 512863247b29ff5d1a34f2747b84903da6b85e35..78d7d59dcb56237d3ac8656bffec232af8cc4577 100644 (file)
--- 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.