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
|
2022-01-06 22:44:26 +01:00
|
|
|
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
|
2022-01-06 22:44:26 +01:00
|
|
|
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
|
2022-01-06 22:44:26 +01:00
|
|
|
string "ltcrypt program name"
|
|
|
|
default "ltcrypt"
|
|
|
|
---help---
|
|
|
|
LibTomMath ltcrypt application name
|
2021-06-07 07:47:03 +02:00
|
|
|
|
|
|
|
config LIBTOMCRYPT_LTCRYPT_PRIORITY
|
2022-01-06 22:44:26 +01:00
|
|
|
int "ltcrypt application priority"
|
|
|
|
default 100
|
2021-06-07 07:47:03 +02:00
|
|
|
|
|
|
|
config LIBTOMCRYPT_LTCRYPT_STACKSIZE
|
2022-01-06 22:44:26 +01:00
|
|
|
int "ltcrypt application stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2021-06-07 07:47:03 +02:00
|
|
|
|
|
|
|
endif # LIBTOMCRYPT_LTCRYPT
|
|
|
|
|
2022-01-06 22:44:26 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
endif # CRYPTO_LIBTOMCRYPT
|