X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=cast6%2Fcast6.h;fp=cast6%2Fcast6.h;h=b647252625e165f8168a20518e0e845ec0936392;hp=970bb3b83242747624a294baafe166a7c38a675d;hb=8d1970350aa1d7cdcb59cf79f7f60e385e2816e5;hpb=a30df60ac814350db243b270034ef188c8d02d5e diff --git a/cast6/cast6.h b/cast6/cast6.h index 970bb3b..b647252 100644 --- a/cast6/cast6.h +++ b/cast6/cast6.h @@ -6,17 +6,14 @@ #define CAST6_ROUNDS 12 /* size of this is 222 byte (HUGE) */ -typedef struct cast6_ctx_st{ - uint32_t km[12][4]; - uint8_t krx[4*12*5/8]; /* these are packed */ +typedef struct cast6_ctx_st { + uint32_t km[12][4]; + uint8_t krx[4 * 12 * 5 / 8]; /* these are packed */ } cast6_ctx_t; - - void cast6_enc(void *buffer, const cast6_ctx_t *ctx); void cast6_dec(void *buffer, const cast6_ctx_t *ctx); void cast6_init(const void *key, uint16_t keysize_b, cast6_ctx_t *ctx); - #endif /*CAST6_H_*/