]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - sha2/sha2_small_common.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / sha2 / sha2_small_common.c
index 1edd8f214791a0443f349f5d8865de6431d2ff18..4072c6b7ac9ed35b1fba78fb1dae27c2bdee9d6b 100644 (file)
@@ -75,7 +75,7 @@ uint32_t k[] PROGMEM = {
 /**
  * block must be, 512, Bit = 64, Byte, long !!!
  */
-void sha2_small_common_nextBlock (sha2_small_common_ctx_t *state, const voidblock){
+void sha2_small_common_nextBlock (sha2_small_common_ctx_t *state, const void *block){
        uint32_t w[16], wx;
        uint8_t  i;
        uint32_t a[8],t1,t2;
@@ -120,7 +120,7 @@ void sha2_small_common_nextBlock (sha2_small_common_ctx_t *state, const void* bl
 }
 
 
-void sha2_small_common_lastBlock(sha2_small_common_ctx_t *state, const voidblock, uint16_t length_b){
+void sha2_small_common_lastBlock(sha2_small_common_ctx_t *state, const void *block, uint16_t length_b){
        uint8_t lb[512/8]; /* local block */
        uint64_t len;
        while(length_b>=512){