X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=sha2%2Fsha2_small_common.c;fp=sha2%2Fsha2_small_common.c;h=4072c6b7ac9ed35b1fba78fb1dae27c2bdee9d6b;hp=1edd8f214791a0443f349f5d8865de6431d2ff18;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/sha2/sha2_small_common.c b/sha2/sha2_small_common.c index 1edd8f2..4072c6b 100644 --- a/sha2/sha2_small_common.c +++ b/sha2/sha2_small_common.c @@ -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 void* block){ +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 void* block, 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){