summaryrefslogtreecommitdiff
path: root/nacl/crypto_stream/aes128ctr/portable/consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'nacl/crypto_stream/aes128ctr/portable/consts.h')
-rw-r--r--nacl/crypto_stream/aes128ctr/portable/consts.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/nacl/crypto_stream/aes128ctr/portable/consts.h b/nacl/crypto_stream/aes128ctr/portable/consts.h
new file mode 100644
index 00000000..4c50360b
--- /dev/null
+++ b/nacl/crypto_stream/aes128ctr/portable/consts.h
@@ -0,0 +1,28 @@
1#ifndef CONSTS_H
2#define CONSTS_H
3
4#include "int128.h"
5
6#define ROTB crypto_stream_aes128ctr_portable_ROTB
7#define M0 crypto_stream_aes128ctr_portable_M0
8#define EXPB0 crypto_stream_aes128ctr_portable_EXPB0
9#define SWAP32 crypto_stream_aes128ctr_portable_SWAP32
10#define M0SWAP crypto_stream_aes128ctr_portable_M0SWAP
11#define SR crypto_stream_aes128ctr_portable_SR
12#define SRM0 crypto_stream_aes128ctr_portable_SRM0
13#define BS0 crypto_stream_aes128ctr_portable_BS0
14#define BS1 crypto_stream_aes128ctr_portable_BS1
15#define BS2 crypto_stream_aes128ctr_portable_BS2
16
17extern const unsigned char ROTB[16];
18extern const unsigned char M0[16];
19extern const unsigned char EXPB0[16];
20extern const unsigned char SWAP32[16];
21extern const unsigned char M0SWAP[16];
22extern const unsigned char SR[16];
23extern const unsigned char SRM0[16];
24extern const int128 BS0;
25extern const int128 BS1;
26extern const int128 BS2;
27
28#endif