]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - shacal2/shacal2_enc.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / shacal2 / shacal2_enc.c
index c0cadcdf7e35a3a28ab0061ddfd94ddb19a2a0f2..da92b59c1bf7b954dc7e69273fda9ab89b78a78e 100644 (file)
@@ -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
 
 #include <stdint.h>
 #include <string.h>
-#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);