]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - norx/norx32.h
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / norx / norx32.h
index 288435eda48ec72109b858b272b87f9f76260176..d09c5d30ddf503ad54cc7e50ac1ef577798dad93 100644 (file)
@@ -1,7 +1,7 @@
 /* norx32.h */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2014 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
@@ -37,11 +37,14 @@ int8_t norx32_init (
     norx32_ctx_t *ctx,
     const void* nonce,
     const void* key,
-    uint16_t tag_size_b,
     uint8_t rounds,
-    uint8_t parallel );
+    uint8_t parallel,
+    uint16_t tag_size_b );
+
 void norx32_finalize(norx32_ctx_t *ctx, void *tag);
+
 void norx32_add_header_block(norx32_ctx_t *ctx, const void *block);
+
 void norx32_add_header_last_block(
     norx32_ctx_t *ctx,
     const void *block,
@@ -54,6 +57,7 @@ void norx32_encrypt_last_block(
     void *dest,
     const void *src,
     uint16_t length_b );
+
 void norx32_add_trailer_block(norx32_ctx_t *ctx, const void *block);
 
 void norx32_add_trailer_last_block(