Masahiro Yamada | f3e12b7 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | menu "Library routines" |
| 2 | |
Masahiro Yamada | 3f053fe | 2014-09-16 16:32:59 +0900 | [diff] [blame] | 3 | config CC_OPTIMIZE_LIBS_FOR_SPEED |
| 4 | bool "Optimize libraries for speed" |
| 5 | help |
| 6 | Enabling this option will pass "-O2" to gcc when compiling |
| 7 | under "lib" directory. |
| 8 | |
| 9 | If unsure, say N. |
| 10 | |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 11 | config HAVE_PRIVATE_LIBGCC |
| 12 | bool |
| 13 | |
| 14 | config USE_PRIVATE_LIBGCC |
| 15 | bool "Use private libgcc" |
| 16 | depends on HAVE_PRIVATE_LIBGCC |
| 17 | help |
| 18 | This option allows you to use the built-in libgcc implementation |
| 19 | of U-boot instead of the one privided by the compiler. |
| 20 | If unsure, say N. |
| 21 | |
Masahiro Yamada | e301fa0 | 2014-10-24 01:30:40 +0900 | [diff] [blame] | 22 | config SYS_HZ |
| 23 | int |
| 24 | default 1000 |
| 25 | help |
| 26 | The frequency of the timer returned by get_timer(). |
| 27 | get_timer() must operate in milliseconds and this option must be |
| 28 | set to 1000. |
| 29 | |
Simon Glass | 4f3b9d1 | 2015-03-06 13:19:02 -0700 | [diff] [blame] | 30 | config SYS_VSNPRINTF |
| 31 | bool "Enable safe version of sprintf()" |
| 32 | help |
| 33 | Since sprintf() can overflow its buffer, it is common to use |
| 34 | snprintf() instead, which knows the buffer size and can avoid |
| 35 | overflow. However, this does increase code size slightly (for |
| 36 | Thumb-2, about 420 bytes). Enable this option for safety when |
| 37 | using sprintf() with data you do not control. |
| 38 | |
Joe Hershberger | 937d3e8 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 39 | config REGEX |
| 40 | bool "Enable regular expression support" |
| 41 | help |
| 42 | If this variable is defined, U-Boot is linked against the |
| 43 | SLRE (Super Light Regular Expression) library, which adds |
| 44 | regex support to some commands, for example "env grep" and |
| 45 | "setexpr". |
| 46 | |
Michal Simek | 2c1b1db | 2015-05-25 11:37:22 +0200 | [diff] [blame^] | 47 | config LIB_RAND |
| 48 | bool |
| 49 | |
Ruchika Gupta | 4acd8c4 | 2015-01-23 16:01:56 +0530 | [diff] [blame] | 50 | source lib/rsa/Kconfig |
Ruchika Gupta | 2c3822e | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 51 | |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 52 | menu "Hashing Support" |
| 53 | |
| 54 | config SHA1 |
| 55 | bool "Enable SHA1 support" |
| 56 | help |
| 57 | This option enables support of hashing using SHA1 algorithm. |
| 58 | The hash is calculated in software. |
| 59 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 60 | (digest). |
| 61 | |
| 62 | config SHA256 |
| 63 | bool "Enable SHA256 support" |
| 64 | help |
| 65 | This option enables support of hashing using SHA256 algorithm. |
| 66 | The hash is calculated in software. |
| 67 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 68 | (digest). |
| 69 | |
| 70 | config SHA_HW_ACCEL |
| 71 | bool "Enable hashing using hardware" |
| 72 | help |
| 73 | This option enables hardware acceleration |
| 74 | for SHA1/SHA256 hashing. |
| 75 | This affects the 'hash' command and also the |
| 76 | hash_lookup_algo() function. |
| 77 | |
| 78 | config SHA_PROG_HW_ACCEL |
| 79 | bool "Enable Progressive hashing support using hardware" |
| 80 | depends on SHA_HW_ACCEL |
| 81 | help |
| 82 | This option enables hardware-acceleration for |
| 83 | SHA1/SHA256 progressive hashing. |
| 84 | Data can be streamed in a block at a time and the hashing |
| 85 | is performed in hardware. |
| 86 | endmenu |
| 87 | |
Przemyslaw Marczak | 3755013 | 2015-04-20 20:07:40 +0200 | [diff] [blame] | 88 | config ERRNO_STR |
| 89 | bool "Enable function for getting errno-related string message" |
| 90 | help |
| 91 | The function errno_str(int errno), returns a pointer to the errno |
| 92 | corresponding text message: |
| 93 | - if errno is null or positive number - a pointer to "Success" message |
| 94 | - if errno is negative - a pointer to errno related message |
| 95 | |
Masahiro Yamada | f3e12b7 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 96 | endmenu |