Kconfig 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. menu "Library routines"
  2. config CC_OPTIMIZE_LIBS_FOR_SPEED
  3. bool "Optimize libraries for speed"
  4. help
  5. Enabling this option will pass "-O2" to gcc when compiling
  6. under "lib" directory.
  7. If unsure, say N.
  8. config HAVE_PRIVATE_LIBGCC
  9. bool
  10. config USE_PRIVATE_LIBGCC
  11. bool "Use private libgcc"
  12. depends on HAVE_PRIVATE_LIBGCC
  13. help
  14. This option allows you to use the built-in libgcc implementation
  15. of U-boot instead of the one privided by the compiler.
  16. If unsure, say N.
  17. config SYS_HZ
  18. int
  19. default 1000
  20. help
  21. The frequency of the timer returned by get_timer().
  22. get_timer() must operate in milliseconds and this option must be
  23. set to 1000.
  24. source lib/rsa/Kconfig
  25. menu "Hashing Support"
  26. config SHA1
  27. bool "Enable SHA1 support"
  28. help
  29. This option enables support of hashing using SHA1 algorithm.
  30. The hash is calculated in software.
  31. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  32. (digest).
  33. config SHA256
  34. bool "Enable SHA256 support"
  35. help
  36. This option enables support of hashing using SHA256 algorithm.
  37. The hash is calculated in software.
  38. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  39. (digest).
  40. config SHA_HW_ACCEL
  41. bool "Enable hashing using hardware"
  42. help
  43. This option enables hardware acceleration
  44. for SHA1/SHA256 hashing.
  45. This affects the 'hash' command and also the
  46. hash_lookup_algo() function.
  47. config SHA_PROG_HW_ACCEL
  48. bool "Enable Progressive hashing support using hardware"
  49. depends on SHA_HW_ACCEL
  50. help
  51. This option enables hardware-acceleration for
  52. SHA1/SHA256 progressive hashing.
  53. Data can be streamed in a block at a time and the hashing
  54. is performed in hardware.
  55. endmenu
  56. endmenu