]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - cast5.c
new hash function abstraction layer + shavs + dump util + ...
[avr-crypto-lib.git] / cast5.c
diff --git a/cast5.c b/cast5.c
index 59f6dbdd370195d5994b1756cee0432f3fd0c0ab..8488a2badfa535c169a559609bf312618dca7f98 100644 (file)
--- a/cast5.c
+++ b/cast5.c
@@ -1,6 +1,6 @@
 /* cast5.c */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-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
@@ -130,7 +130,7 @@ void cast5_init_rM(uint8_t *klo, uint8_t *khi, uint8_t offset, uint8_t *src, boo
 
 
 
-void cast5_init(const void* key, uint8_t keylength_b, cast5_ctx_t* s){
+void cast5_init(const void* key, uint16_t keylength_b, cast5_ctx_t* s){
         /* we migth return if the key is valid and if setup was sucessfull */
        uint32_t x[4], z[4];
        #define BPX ((uint8_t*)&(x[0]))