]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-threefish-test.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / test_src / main-threefish-test.c
index a1e0a63596d92b326bb2f476f58e4de7d2e30390..5dea4b773438bab7a21fbc1e0b5e4fde3c9f1f5a 100644 (file)
@@ -32,9 +32,9 @@
 #include "bcal_threefish512.h"
 #include "bcal_threefish1024.h"
 
-charalgo_name = "Threefish";
+char *algo_name = "Threefish";
 
-const bcdesc_tconst algolist[] PROGMEM = {
+const bcdesc_t *const algolist[] PROGMEM = {
        (bcdesc_t*)&threefish256_desc,
        (bcdesc_t*)&threefish512_desc,
        (bcdesc_t*)&threefish1024_desc,
@@ -44,7 +44,7 @@ const bcdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void threefish256_dump(threefish256_ctx_tctx){
+void threefish256_dump(threefish256_ctx_t *ctx){
        uint8_t i;
        cli_putstr_P(PSTR("\r\n=== ctx dump (256) === \r\n k: "));
        for(i=0; i<5; ++i){