/* 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;