/* camellia-asm.S */
/*
This file is part of the AVR-Crypto-Lib.
- Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
+ Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#define KEY_ROL17 0x08
#define KEY_ROL15 0x00
/*
-void camellia_6rounds(camellia128_ctx_t* s, uint64_t* bl, uint64_t* br, uint8_t roundop, uint8_t keychoice){
+void camellia_6rounds(camellia128_ctx_t *s, uint64_t *bl, uint64_t *br, uint8_t roundop, uint8_t keychoice){
uint8_t i;
- uint64_t* k[4];
+ uint64_t *k[4];
k[0] = &(s->kll);
k[1] = &(s->klr);
k[2] = &(s->kal);
;##############################################################################
/*
-void camellia128_init(camellia128_ctx_t* s, uint8_t* key){
+void camellia128_init(camellia128_ctx_t *s, uint8_t *key){
uint8_t i;
s->kll = 0; //((uint64_t*)key)[0];