]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - cast6/cast6.h
adjusting test system debug uart reference
[avr-crypto-lib.git] / cast6 / cast6.h
index dc3c7bb3993e30928e56108ec741425c6fa95225..b647252625e165f8168a20518e0e845ec0936392 100644 (file)
@@ -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);
-
+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_*/