X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=salsa20%2Fsalsa20.h;h=b618bd8d70b9f27405ff850487017f7cfb0ee2bd;hb=257ce629ccb9d28193912b855322c91408fd19a7;hp=29e7e81671c0c7c9d1d62dce400c1aeb64a1b780;hpb=f075eca3b7d5444c048436bbc937ff0831ee5f7c;p=arm-crypto-lib.git diff --git a/salsa20/salsa20.h b/salsa20/salsa20.h index 29e7e81..b618bd8 100644 --- a/salsa20/salsa20.h +++ b/salsa20/salsa20.h @@ -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 @@ -23,7 +23,10 @@ #include 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;