]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - cast5.c
some changings to make API more consistent
[avr-crypto-lib.git] / cast5.c
diff --git a/cast5.c b/cast5.c
index b4736c8ecbc9660282b9bfd33d15330035d31cd5..8a71e6dda5f731757cd98a8037b4331438fb5466 100644 (file)
--- a/cast5.c
+++ b/cast5.c
@@ -272,8 +272,8 @@ uint32_t cast5_f3(uint32_t d, uint32_t m, uint8_t r){
 
 /**
  * \brief encrypts a datablock with cast5
- * @param s Pointer to cast5 roundkeys (context)
  * @param block Pointer to datablock
+ * @param s Pointer to cast5 roundkeys (context)
  */
 void cast5_enc(void* block, cast5_ctx_t *s){
        uint32_t l,r, x, y;
@@ -301,8 +301,8 @@ void cast5_enc(void* block, cast5_ctx_t *s){
 
 /**
  * \brief decrypts a datablock with cast5
- * @param s Pointer to cast5 roundkeys (context)
  * @param block Pointer to datablock
+ * @param s Pointer to cast5 roundkeys (context)
  */
 void cast5_dec(void* block, cast5_ctx_t *s){
        uint32_t l,r, x, y;