summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 03:45:02 +0300
committerTom Rini <trini@konsulko.com>2019-12-07 00:44:20 +0300
commitf523400f607881db19bdab901b6fa2b976eebc98 (patch)
treede7d538e799944d59a0e5785ffce3a34270c4dbd /test/Kconfig
parente85a787c7d63592b6fd9214f0e202fcabca75cf4 (diff)
downloadu-boot-f523400f607881db19bdab901b6fa2b976eebc98.tar.xz
test: add asn1 unit test
This test will exercise asn1 compiler as well as asn1 decoder functions via various parsers. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
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"