static
-void permute_inv8(void* data){
+void permute_inv8(void *data){
uint64_t t;
t = X(6);
X(6) = X(4);
}
static
-void add_key_8(void* data, const threefish512_ctx_t* ctx, uint8_t s){
+void add_key_8(void *data, const threefish512_ctx_t *ctx, uint8_t s){
uint8_t i;
for(i=0; i<5; ++i){
X(i) -= ctx->k[(s+i)%9];
X(7) -= ctx->k[(s+7)%9] + s;
}
-void threefish512_dec(void* data, const threefish512_ctx_t* ctx){
+void threefish512_dec(void *data, const threefish512_ctx_t *ctx){
uint8_t i=0,s=18;
/* old round constants
uint8_t r0[8] = {33, 29, 39, 33, 26, 34, 48, 38};