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
14 config HAVE_PRIVATE_LIBGCC
17 config USE_PRIVATE_LIBGCC
18 bool "Use private libgcc"
19 depends on HAVE_PRIVATE_LIBGCC
21 This option allows you to use the built-in libgcc implementation
22 of U-boot instead of the one privided by the compiler.
29 The frequency of the timer returned by get_timer().
30 get_timer() must operate in milliseconds and this option must be
34 bool "Enable safe version of sprintf()"
36 Since sprintf() can overflow its buffer, it is common to use
37 snprintf() instead, which knows the buffer size and can avoid
38 overflow. However, this does increase code size slightly (for
39 Thumb-2, about 420 bytes). Enable this option for safety when
40 using sprintf() with data you do not control.
43 bool "Enable regular expression support"
46 If this variable is defined, U-Boot is linked against the
47 SLRE (Super Light Regular Expression) library, which adds
48 regex support to some commands, for example "env grep" and
52 bool "Pseudo-random library support "
54 This library provides pseudo-random number generator functions.
56 source lib/dhry/Kconfig
58 source lib/rsa/Kconfig
60 menu "Hashing Support"
63 bool "Enable SHA1 support"
65 This option enables support of hashing using SHA1 algorithm.
66 The hash is calculated in software.
67 The SHA1 algorithm produces a 160-bit (20-byte) hash value
71 bool "Enable SHA256 support"
73 This option enables support of hashing using SHA256 algorithm.
74 The hash is calculated in software.
75 The SHA256 algorithm produces a 256-bit (32-byte) hash value
79 bool "Enable hashing using hardware"
81 This option enables hardware acceleration
82 for SHA1/SHA256 hashing.
83 This affects the 'hash' command and also the
84 hash_lookup_algo() function.
86 config SHA_PROG_HW_ACCEL
87 bool "Enable Progressive hashing support using hardware"
88 depends on SHA_HW_ACCEL
90 This option enables hardware-acceleration for
91 SHA1/SHA256 progressive hashing.
92 Data can be streamed in a block at a time and the hashing
93 is performed in hardware.
97 bool "Enable function for getting errno-related string message"
99 The function errno_str(int errno), returns a pointer to the errno
100 corresponding text message:
101 - if errno is null or positive number - a pointer to "Success" message
102 - if errno is negative - a pointer to errno related message
104 source lib/efi/Kconfig