X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=cast5.c;h=8488a2badfa535c169a559609bf312618dca7f98;hb=e5a49deb52521f019e37779d6e9d81ec4f02aba4;hp=59f6dbdd370195d5994b1756cee0432f3fd0c0ab;hpb=4469def3e210fc904cfefc5b158fc6d4dc5f6e47;p=avr-crypto-lib.git diff --git a/cast5.c b/cast5.c index 59f6dbd..8488a2b 100644 --- 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]))