]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hfal/hfal-performance.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / hfal / hfal-performance.c
index a0fd1fd30bc8607120900b8d8c51c7b30fac8a42..192d6023a43a87c8b8108133fba9535959794ee1 100644 (file)
@@ -49,7 +49,7 @@ void printvalue(unsigned long v){
        cli_putstr(str);
 }
 
-void hfal_performance(const hfdesc_thd){
+void hfal_performance(const hfdesc_t *hd){
        hfdesc_t hf;
        memcpy_P(&hf, hd, sizeof(hfdesc_t));
        uint8_t ctx[hf.ctxsize_B];
@@ -131,7 +131,7 @@ void hfal_performance(const hfdesc_t* hd){
        }
 }
 
-void hfal_stacksize(const hfdesc_thd){
+void hfal_stacksize(const hfdesc_t *hd){
        hfdesc_t hf;
        stack_measuring_ctx_t smctx;
        memcpy_P(&hf, hd, sizeof(hfdesc_t));
@@ -203,8 +203,8 @@ void hfal_stacksize(const hfdesc_t* hd){
        }
 }
 
-void hfal_performance_multiple(const hfdesc_t* const* hd_list){
-       const hfdesc_thd;
+void hfal_performance_multiple(const hfdesc_t *const *hd_list){
+       const hfdesc_t *hd;
        for(;;){
                hd = (void*)pgm_read_word(hd_list);
                if(!hd){