1 menu "Library routines"
3 config CC_OPTIMIZE_LIBS_FOR_SPEED
4 bool "Optimize libraries for speed"
6 Enabling this option will pass "-O2" to gcc when compiling
11 config HAVE_PRIVATE_LIBGCC
14 config USE_PRIVATE_LIBGCC
15 bool "Use private libgcc"
16 depends on HAVE_PRIVATE_LIBGCC
18 This option allows you to use the built-in libgcc implementation
19 of U-boot instead of the one privided by the compiler.
26 The frequency of the timer returned by get_timer().
27 get_timer() must operate in milliseconds and this option must be
31 bool "Enable safe version of sprintf()"
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.
40 bool "Enable regular expression support"
43 If this variable is defined, U-Boot is linked against the
44 SLRE (Super Light Regular Expression) library, which adds
45 regex support to some commands, for example "env grep" and
49 bool "Pseudo-random library support "
51 This library provides pseudo-random number generator functions.
53 source lib/dhry/Kconfig
55 source lib/rsa/Kconfig
57 menu "Hashing Support"
60 bool "Enable SHA1 support"
62 This option enables support of hashing using SHA1 algorithm.
63 The hash is calculated in software.
64 The SHA1 algorithm produces a 160-bit (20-byte) hash value
68 bool "Enable SHA256 support"
70 This option enables support of hashing using SHA256 algorithm.
71 The hash is calculated in software.
72 The SHA256 algorithm produces a 256-bit (32-byte) hash value
76 bool "Enable hashing using hardware"
78 This option enables hardware acceleration
79 for SHA1/SHA256 hashing.
80 This affects the 'hash' command and also the
81 hash_lookup_algo() function.
83 config SHA_PROG_HW_ACCEL
84 bool "Enable Progressive hashing support using hardware"
85 depends on SHA_HW_ACCEL
87 This option enables hardware-acceleration for
88 SHA1/SHA256 progressive hashing.
89 Data can be streamed in a block at a time and the hashing
90 is performed in hardware.
94 bool "Enable function for getting errno-related string message"
96 The function errno_str(int errno), returns a pointer to the errno
97 corresponding text message:
98 - if errno is null or positive number - a pointer to "Success" message
99 - if errno is negative - a pointer to errno related message
101 source lib/efi/Kconfig