]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-md5-test.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / test_src / main-md5-test.c
index a4054c9add65453b55657fc11dce873d082b2156..afb0ab0689a519f89f1b722f76456c8f585a8ad6 100644 (file)
@@ -29,9 +29,9 @@
 #include "hfal_md5.h"
 #include "hfal-performance.h"
 
-charalgo_name = "MD5";
+char *algo_name = "MD5";
 
-const hfdesc_tconst algolist[] PROGMEM = {
+const hfdesc_t *const algolist[] PROGMEM = {
        (hfdesc_t*)&md5_desc,
        NULL
 };
@@ -40,7 +40,7 @@ const hfdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void md5_ctx2hash_dummy(void* buffer, void* ctx){
+void md5_ctx2hash_dummy(void *buffer, void *ctx){
        memcpy(buffer, ctx, 16);
 }
 
@@ -77,7 +77,7 @@ void testrun_nessie_md5(void){
 
 void testrun_md5(void){
        md5_hash_t hash;
-       chartestv[]={
+       char *testv[]={
                "", 
                "a", 
                "abc",