X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=cast5.h;h=717c5d7b7a9e1ac7059e115d1b8016581f7bbff0;hp=6fe8488f81ad24829f3af111d80f1aaa35717c49;hb=2e7bb1f5e50ed450e1b3ab16283783ff64b66218;hpb=f6e331f76599dbb9b3bb82fb9600bbc4410b77bb diff --git a/cast5.h b/cast5.h index 6fe8488..717c5d7 100644 --- a/cast5.h +++ b/cast5.h @@ -19,7 +19,7 @@ /* * File: cast5.h * Author: Daniel Otte - * Date: 26.07.2006 + * Date: 2006-07-26 * License: GPL * Description: Implementation of the CAST5 (aka CAST-128) cipher algorithm as described in RFC 2144 * @@ -48,9 +48,9 @@ typedef struct cast5_ctx_st{ bool shortkey; } cast5_ctx_t; -void cast5_init(cast5_ctx_t* s, uint8_t* key, uint8_t keylength); -void cast5_enc(cast5_ctx_t *s, void* block); -void cast5_dec(cast5_ctx_t *s, void* block); +void cast5_init(uint8_t* key, uint8_t keylength_b, cast5_ctx_t* s); +void cast5_enc(void* block, cast5_ctx_t *s); +void cast5_dec(void* block, cast5_ctx_t *s);