diff options
Diffstat (limited to 'include/cast.h')
-rw-r--r-- | include/cast.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/cast.h b/include/cast.h index 65ce86cd..b0483ff3 100644 --- a/include/cast.h +++ b/include/cast.h @@ -21,16 +21,16 @@ #include "crypto_types.h" struct cast_key { - unsigned INT32 xkey[32]; /* Key, after expansion */ + UINT32 xkey[32]; /* Key, after expansion */ unsigned rounds; /* Number of rounds to use, 12 or 16 */ }; -void cast_setkey(struct cast_key *key, unsigned INT8 *rawkey, +void cast_setkey(struct cast_key *key, UINT8 *rawkey, unsigned keybytes); -void cast_encrypt(struct cast_key *key, unsigned INT8 *inblock, - unsigned INT8 *outblock); -void cast_decrypt(struct cast_key *key, unsigned INT8 *inblock, - unsigned INT8* outblock); +void cast_encrypt(struct cast_key *key, UINT8 *inblock, + UINT8 *outblock); +void cast_decrypt(struct cast_key *key, UINT8 *inblock, + UINT8* outblock); #endif /* ifndef _CAST_H_INCLUDED */ |