1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

--enable-minimal should compile only what is required for the high-level API

This doesn't include aes128ctr.
This commit is contained in:
Frank Denis 2014-07-14 18:43:46 -07:00
parent 80f9d943f7
commit 1dca7edfab
2 changed files with 14 additions and 14 deletions

View File

@ -88,7 +88,7 @@ AC_ARG_ENABLE(blocking-random,
AC_ARG_ENABLE(minimal,
[AS_HELP_STRING(--enable-minimal,
[Do not compile salsa208, salsa2012, edwards25519sha512batch and aes256estream])],
[Only compile the minimum set of functions required for the high-level API])],
[
AS_IF([test "x$enableval" = "xyes"], [
enable_minimal="yes"

View File

@ -131,19 +131,6 @@ libsodium_la_SOURCES = \
crypto_sign/ed25519/ref10/sign.c \
crypto_sign/ed25519/ref10/sqrtm1.h \
crypto_stream/crypto_stream.c \
crypto_stream/aes128ctr/portable/afternm_aes128ctr.c \
crypto_stream/aes128ctr/stream_aes128ctr_api.c \
crypto_stream/aes128ctr/portable/api.h \
crypto_stream/aes128ctr/portable/beforenm_aes128ctr.c \
crypto_stream/aes128ctr/portable/common.h \
crypto_stream/aes128ctr/portable/common_aes128ctr.c \
crypto_stream/aes128ctr/portable/consts.h \
crypto_stream/aes128ctr/portable/consts_aes128ctr.c \
crypto_stream/aes128ctr/portable/int128.h \
crypto_stream/aes128ctr/portable/int128_aes128ctr.c \
crypto_stream/aes128ctr/portable/stream_aes128ctr.c \
crypto_stream/aes128ctr/portable/types.h \
crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c \
crypto_stream/chacha20/stream_chacha20_api.c \
crypto_stream/chacha20/ref/api.h \
crypto_stream/chacha20/ref/stream_chacha20_ref.c \
@ -224,6 +211,19 @@ libsodium_la_SOURCES += \
crypto_sign/edwards25519sha512batch/ref/sc25519.h \
crypto_sign/edwards25519sha512batch/ref/sc25519_edwards25519sha512batch.c \
crypto_sign/edwards25519sha512batch/ref/sign_edwards25519sha512batch.c \
crypto_stream/aes128ctr/portable/afternm_aes128ctr.c \
crypto_stream/aes128ctr/stream_aes128ctr_api.c \
crypto_stream/aes128ctr/portable/api.h \
crypto_stream/aes128ctr/portable/beforenm_aes128ctr.c \
crypto_stream/aes128ctr/portable/common.h \
crypto_stream/aes128ctr/portable/common_aes128ctr.c \
crypto_stream/aes128ctr/portable/consts.h \
crypto_stream/aes128ctr/portable/consts_aes128ctr.c \
crypto_stream/aes128ctr/portable/int128.h \
crypto_stream/aes128ctr/portable/int128_aes128ctr.c \
crypto_stream/aes128ctr/portable/stream_aes128ctr.c \
crypto_stream/aes128ctr/portable/types.h \
crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c \
crypto_stream/aes256estream/hongjun/aes-table.h \
crypto_stream/aes256estream/hongjun/aes-table-be.h \
crypto_stream/aes256estream/hongjun/aes-table-le.h \