summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-06 16:45:46 -0500
committerTom Rini <trini@konsulko.com>2019-12-06 16:45:46 -0500
commitd79ae6aa3087a6434b5ecdb51d20dca20c8e1596 (patch)
treeef06de49134213591e529ece83d4cec3095e893e /test/Kconfig
parentbead4f2f2c85e1bf39d2c80ef733f1325eb336bb (diff)
parentfb013eee68d08403572ef3c579f6688bbe33fd47 (diff)
Merge branch '2019-12-06-master-imports'
- Allow for the sysboot command, which is used to parse extlinux.conf files to be used without PXE support. There is no functional change here aside from fixing distro boot in a few cases where we actually lacked the ability to parse the extlinux.conf file - Add the x509/pkcs7 parsers from Linux, a pre-requisite to EFI Secure Boot support.
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig18
1 files changed, 17 insertions, 1 deletions
diff --git a/test/Kconfig b/test/Kconfig
index f53629aac5..cb51b46721 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -12,7 +12,23 @@ 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.
+
+endif
config UT_TIME
bool "Unit tests for time functions"