]>
Commit | Line | Data |
---|---|---|
ed36323f MY |
1 | menu "Library routines" |
2 | ||
b0928da6 MY |
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 | ||
45ccec8f MY |
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 | ||
8c688bc4 MY |
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 | ||
d9f23c7f | 30 | source lib/rsa/Kconfig |
c4beb22f | 31 | |
94e3c8c4 | 32 | menu "Hashing Support" |
33 | ||
34 | config SHA1 | |
35 | bool "Enable SHA1 support" | |
36 | help | |
37 | This option enables support of hashing using SHA1 algorithm. | |
38 | The hash is calculated in software. | |
39 | The SHA1 algorithm produces a 160-bit (20-byte) hash value | |
40 | (digest). | |
41 | ||
42 | config SHA256 | |
43 | bool "Enable SHA256 support" | |
44 | help | |
45 | This option enables support of hashing using SHA256 algorithm. | |
46 | The hash is calculated in software. | |
47 | The SHA256 algorithm produces a 256-bit (32-byte) hash value | |
48 | (digest). | |
49 | ||
50 | config SHA_HW_ACCEL | |
51 | bool "Enable hashing using hardware" | |
52 | help | |
53 | This option enables hardware acceleration | |
54 | for SHA1/SHA256 hashing. | |
55 | This affects the 'hash' command and also the | |
56 | hash_lookup_algo() function. | |
57 | ||
58 | config SHA_PROG_HW_ACCEL | |
59 | bool "Enable Progressive hashing support using hardware" | |
60 | depends on SHA_HW_ACCEL | |
61 | help | |
62 | This option enables hardware-acceleration for | |
63 | SHA1/SHA256 progressive hashing. | |
64 | Data can be streamed in a block at a time and the hashing | |
65 | is performed in hardware. | |
66 | endmenu | |
67 | ||
ed36323f | 68 | endmenu |