summaryrefslogtreecommitdiff
path: root/libavutil/des.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/des.c')
-rw-r--r--libavutil/des.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/des.c b/libavutil/des.c
index 857ca91319..5de816387f 100644
--- a/libavutil/des.c
+++ b/libavutil/des.c
@@ -39,6 +39,7 @@ static const uint8_t IP_shuffle[] = {
};
#undef T
+#if defined(CONFIG_SMALL) || defined(GENTABLES)
#define T(a, b, c, d) 32-a,32-b,32-c,32-d
static const uint8_t P_shuffle[] = {
T(16, 7, 20, 21),
@@ -51,6 +52,7 @@ static const uint8_t P_shuffle[] = {
T(22, 11, 4, 25)
};
#undef T
+#endif
#define T(a, b, c, d, e, f, g) 64-a,64-b,64-c,64-d,64-e,64-f,64-g
static const uint8_t PC1_shuffle[] = {