]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_stream_test.h
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / nessie_stream_test.h
index 8422f45e9ca39ce178bc3e205463cacb692dbb0e..18a461cc558a6952ba699d32ae4b4a5e5b68a1f8 100644 (file)
@@ -1,7 +1,7 @@
 /* nessie_stream_test.h */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-lib.
-    Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
+    This file is part of the AVR-Crypto-Lib.
+    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>
 
-typedef void (*nessie_stream_genctx_fpt)(uint8_t* key, uint16_t keylength_b, void* ctx);
-typedef uint8_t (*nessie_stream_genenc_fpt)(voidctx);
+typedef void (*nessie_stream_genctx_fpt)(uint8_t *key, uint16_t keylength_b, void *ctx);
+typedef uint8_t (*nessie_stream_genenc_fpt)(void *ctx);
 
 typedef struct nessie_stream_ctx_st{
        uint16_t keysize_b;
        uint16_t ivsize_b;
        uint16_t outsize_b;
        uint16_t ctx_size_B;
-       charname; 
+       char *name; 
        nessie_stream_genctx_fpt cipher_genctx;
        nessie_stream_genenc_fpt cipher_enc;
 } nessie_stream_ctx_t;