]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-des-test.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / test_src / main-des-test.c
index d85a8303d656b77295d851ec711a66ac3680bdf9..a8029f7fff4946bc54fe9d05e6d28816cca49f18 100644 (file)
@@ -31,9 +31,9 @@
 #include "bcal_tdes.h"
 #include "bcal_tdes2.h"
 
-charalgo_name = "DES";
+char *algo_name = "DES";
 
-const bcdesc_tconst algolist[] PROGMEM = {
+const bcdesc_t *const algolist[] PROGMEM = {
        (bcdesc_t*)&des_desc,
        (bcdesc_t*)&tdes2_desc,
        (bcdesc_t*)&tdes_desc,
@@ -43,12 +43,12 @@ const bcdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void testrun_nessie_des(const charparam){
+void testrun_nessie_des(const char *param){
        if(!param){
                bcal_nessie_multiple(algolist);
        }else{
                uint8_t i=0;
-               bcdesc_tptr;
+               bcdesc_t *ptr;
                for(;;){
                        ptr = (bcdesc_t*)pgm_read_word(&algolist[i++]);
                        if(ptr == NULL){