nuttx-apps/crypto/libtomcrypt/Kconfig

107 lines
2.3 KiB
Plaintext
Raw Normal View History

2021-06-07 07:47:03 +02:00
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig CRYPTO_LIBTOMCRYPT
bool "LibTomCrypt CrypographyLibrary"
default n
select MATH_LIBTOMMATH
---help---
LibTomCrypt is a fairly comprehensive, modular and portable
cryptographic toolkit that provides developers with a vast array
of well known published block ciphers, one-way hash functions,
chaining modes, pseudo-random number generators, public key
cryptography and a plethora of other routines.
2021-06-07 07:47:03 +02:00
if CRYPTO_LIBTOMCRYPT
config LIBTOMCRYPT_VERSION
string "LibTomCrypt Version"
default "1.18.2"
menuconfig LIBTOMCRYPT_DEMOS
bool "LibTomCrypt Library Demos"
default n
---help---
LibTomCrypt demo and test applications.
if LIBTOMCRYPT_DEMOS
config LIBTOMCRYPT_LTCRYPT
tristate "LibTomCrypt ltcrypt"
default n
---help---
Demo encrypt/decrypt application
2021-06-07 07:47:03 +02:00
if LIBTOMCRYPT_LTCRYPT
config LIBTOMCRYPT_LTCRYPT_PROGNAME
string "ltcrypt program name"
default "ltcrypt"
---help---
LibTomMath ltcrypt application name
2021-06-07 07:47:03 +02:00
config LIBTOMCRYPT_LTCRYPT_PRIORITY
int "ltcrypt application priority"
default 100
2021-06-07 07:47:03 +02:00
config LIBTOMCRYPT_LTCRYPT_STACKSIZE
int "ltcrypt application stack size"
default DEFAULT_TASK_STACKSIZE
2021-06-07 07:47:03 +02:00
endif # LIBTOMCRYPT_LTCRYPT
config LIBTOMCRYPT_HASHSUM
tristate "LibTomCrypt hashsum"
depends on SCHED_ATEXIT
default n
---help---
Demo hashsum application
if LIBTOMCRYPT_HASHSUM
config LIBTOMCRYPT_HASHSUM_PROGNAME
string "hashsum program name"
default "hashsum"
---help---
LibTomMath hashsum application name
config LIBTOMCRYPT_HASHSUM_PRIORITY
int "hashsum application priority"
default 100
config LIBTOMCRYPT_HASHSUM_STACKSIZE
int "hashsum application stack size"
default DEFAULT_TASK_STACKSIZE
endif # LIBTOMCRYPT_HASHSUM
2021-06-07 07:47:03 +02:00
endif # LIBTOMCRYPT_DEMOS
menuconfig LIBTOMCRYPT_TEST
tristate "Enable LibTomCrypt tests"
default n
---help---
Enable LibTomCrypt tests.
if LIBTOMCRYPT_TEST
config LIBTOMCRYPT_TEST_PROGNAME
string "Program name"
default "libtomcrypt_test"
---help---
LibTomCrypt test priority program name
config LIBTOMCRYPT_TEST_PRIORITY
int "LibTomCrypt test priority"
default 100
config LIBTOMCRYPT_TEST_STACKSIZE
int "LibTomCrypt test stack size"
default DEFAULT_TASK_STACKSIZE
endif # LIBTOMCRYPT_TEST
2021-06-07 07:47:03 +02:00
endif # CRYPTO_LIBTOMCRYPT