summaryrefslogtreecommitdiff
path: root/nacl/crypto_stream/aes128ctr/portable/consts.h
blob: 4c50360b8cf5f0ad416d7ce90d53aa2ddecbcdd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef CONSTS_H
#define CONSTS_H

#include "int128.h"

#define ROTB crypto_stream_aes128ctr_portable_ROTB
#define M0 crypto_stream_aes128ctr_portable_M0
#define EXPB0 crypto_stream_aes128ctr_portable_EXPB0
#define SWAP32 crypto_stream_aes128ctr_portable_SWAP32
#define M0SWAP crypto_stream_aes128ctr_portable_M0SWAP
#define SR crypto_stream_aes128ctr_portable_SR
#define SRM0 crypto_stream_aes128ctr_portable_SRM0
#define BS0 crypto_stream_aes128ctr_portable_BS0
#define BS1 crypto_stream_aes128ctr_portable_BS1
#define BS2 crypto_stream_aes128ctr_portable_BS2

extern const unsigned char ROTB[16];
extern const unsigned char M0[16];
extern const unsigned char EXPB0[16];
extern const unsigned char SWAP32[16];
extern const unsigned char M0SWAP[16];
extern const unsigned char SR[16];
extern const unsigned char SRM0[16];
extern const int128 BS0;
extern const int128 BS1;
extern const int128 BS2;

#endif