X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=shacal2%2Fshacal2_enc.c;h=da92b59c1bf7b954dc7e69273fda9ab89b78a78e;hp=c0cadcdf7e35a3a28ab0061ddfd94ddb19a2a0f2;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=7b5401ab9ce23a5da1de8b6c7de3a1aa20ac4cf8 diff --git a/shacal2/shacal2_enc.c b/shacal2/shacal2_enc.c index c0cadcd..da92b59 100644 --- a/shacal2/shacal2_enc.c +++ b/shacal2/shacal2_enc.c @@ -1,7 +1,7 @@ /* shacal2_enc.c */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,11 +28,11 @@ #include #include -#include "sha256/sha256.h" +#include "sha256.h" #include "shacal2_enc.h" -void shacal2_enc(void* buffer, void* key, uint16_t keysize_b){ +void shacal2_enc(void *buffer, void *key, uint16_t keysize_b){ uint8_t i; sha256_ctx_t ctx, t_ctx; memcpy(ctx.h, buffer, SHACAL2_BLOCKSIZE_B);