X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=cast5.h;h=717c5d7b7a9e1ac7059e115d1b8016581f7bbff0;hb=7ee23ee6d9bfa071d4a24b7646fc989c90144104;hp=6fe8488f81ad24829f3af111d80f1aaa35717c49;hpb=96ebafd201c9e8441c7677577b24aa402c1defc6;p=avr-crypto-lib.git 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);