| # |
| # 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. |
| |
| 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 |
| |
| if LIBTOMCRYPT_LTCRYPT |
| |
| config LIBTOMCRYPT_LTCRYPT_PROGNAME |
| string "ltcrypt program name" |
| default "ltcrypt" |
| ---help--- |
| LibTomMath ltcrypt application name |
| |
| config LIBTOMCRYPT_LTCRYPT_PRIORITY |
| int "ltcrypt application priority" |
| default 100 |
| |
| config LIBTOMCRYPT_LTCRYPT_STACKSIZE |
| int "ltcrypt application stack size" |
| default DEFAULT_TASK_STACKSIZE |
| |
| endif # LIBTOMCRYPT_LTCRYPT |
| |
| config LIBTOMCRYPT_HASHSUM |
| tristate "LibTomCrypt hashsum" |
| 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 |
| |
| 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 |
| |
| endif # CRYPTO_LIBTOMCRYPT |