]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - test/Kconfig
usb: dwc3: add dis_u2_freeclk_exists_quirk
[thirdparty/u-boot.git] / test / Kconfig
index 48a0e501f88f63aff0a53a5eb67de09219f8d886..28704a25b613368264b1ee4e45b61bb0b22e1b19 100644 (file)
@@ -12,7 +12,42 @@ config UT_LIB
        default y
        help
          Enables the 'ut lib' command which tests library functions like
-         memcat(), memcyp(), memmove().
+         memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
+
+if UT_LIB
+
+config UT_LIB_ASN1
+       bool "Unit test for asn1 compiler and decoder function"
+       default y
+       imply ASYMMETRIC_KEY_TYPE
+       imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
+       imply X509_CERTIFICATE_PARSER
+       imply PKCS7_MESSAGE_PARSER
+       imply RSA_PUBLIC_KEY_PARSER
+       help
+         Enables a test which exercises asn1 compiler and decoder function
+         via various parsers.
+
+config UT_LIB_RSA
+       bool "Unit test for rsa_verify() function"
+       depends on RSA
+       depends on RSA_VERIFY_WITH_PKEY
+       select IMAGE_SIGN_INFO
+       default y
+       help
+         Enables rsa_verify() test, currently rsa_verify_with_pkey only()
+         only, at the 'ut lib' command.
+
+endif
+
+config UT_LOG
+       bool "Unit tests for logging functions"
+       depends on UNIT_TEST
+       default y
+       help
+         Enables the 'ut log' command which tests logging functions like
+         log_err().
+         See also CONFIG_LOG_TEST which provides the 'log test' command.
 
 config UT_TIME
        bool "Unit tests for time functions"
@@ -33,4 +68,5 @@ config UT_UNICODE
 
 source "test/dm/Kconfig"
 source "test/env/Kconfig"
+source "test/optee/Kconfig"
 source "test/overlay/Kconfig"