]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - salsa20/salsa20.h
fixing bugs reported by Christian Dernehl
[arm-crypto-lib.git] / salsa20 / salsa20.h
index 29e7e81671c0c7c9d1d62dce400c1aeb64a1b780..b618bd8d70b9f27405ff850487017f7cfb0ee2bd 100644 (file)
@@ -1,6 +1,6 @@
 /* salsa20.h */
 /*
-    This file is part of the AVR-Crypto-Lib.
+    This file is part of the ARM-Crypto-Lib.
     Copyright (C) 2011 Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
 #include <stdint.h>
 
 typedef struct{
-       uint8_t a[64];
+       union {
+               uint8_t   v8[64];
+               uint64_t v64[ 8];
+       } a;
        uint8_t buffer[64];
        uint8_t buffer_idx;
 } salsa20_ctx_t;