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