]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hfal/hfal_blake_large.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / hfal / hfal_blake_large.c
index f9f8180f463ea11bbaddb73a698d8602665723c1..6c2706ee6784f5655b56830571417fc19924cb61 100644 (file)
@@ -1,7 +1,7 @@
 /* hfal_blake_large.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
@@ -18,7 +18,7 @@
 */
 /**
  * \file     hfal_blake_large.c
- * \email    daniel.otte@rub.de
+ * \email    bg@nerilex.org
  * \author   Daniel Otte 
  * \date     2009-05-08
  * \license  GPLv3 or later
 #include "blake_large.h"
 
 
-static const char blake48_str[]   PROGMEM = "Blake-48";
-static const char blake64_str[]   PROGMEM = "Blake-64";
+static const char blake384_str[]   PROGMEM = "Blake-384";
+static const char blake512_str[]   PROGMEM = "Blake-512";
 
-const hfdesc_t blake48_desc PROGMEM = {
+const hfdesc_t blake384_desc PROGMEM = {
        HFDESC_TYPE_HASHFUNCTION,
        0,
-       blake48_str,
-       sizeof(blake48_ctx_t),
-       BLAKE48_BLOCKSIZE,
+       blake384_str,
+       sizeof(blake384_ctx_t),
+       BLAKE384_BLOCKSIZE,
        384,
-       (hf_init_fpt)blake48_init,
+       (hf_init_fpt)blake384_init,
        (hf_nextBlock_fpt)blake_large_nextBlock,
        (hf_lastBlock_fpt)blake_large_lastBlock,
-       (hf_ctx2hash_fpt)blake48_ctx2hash,
+       (hf_ctx2hash_fpt)blake384_ctx2hash,
        (hf_free_fpt)NULL,
-       (hf_mem_fpt)blake48
+       (hf_mem_fpt)blake384
 };
 
-const hfdesc_t blake64_desc PROGMEM = {
+const hfdesc_t blake512_desc PROGMEM = {
        HFDESC_TYPE_HASHFUNCTION,
        0,
-       blake64_str,
-       sizeof(blake64_ctx_t),
-       BLAKE64_BLOCKSIZE,
+       blake512_str,
+       sizeof(blake512_ctx_t),
+       BLAKE512_BLOCKSIZE,
        512,
-       (hf_init_fpt)blake64_init,
+       (hf_init_fpt)blake512_init,
        (hf_nextBlock_fpt)blake_large_nextBlock,
        (hf_lastBlock_fpt)blake_large_lastBlock,
-       (hf_ctx2hash_fpt)blake64_ctx2hash,
+       (hf_ctx2hash_fpt)blake512_ctx2hash,
        (hf_free_fpt)NULL,
-       (hf_mem_fpt)blake64
+       (hf_mem_fpt)blake512
 };