Home
last modified time | relevance | path

Searched refs:ut_assertf (Results 1 – 3 of 3) sorted by relevance

/third_party/uboot/u-boot-2020.01/test/lib/
Dasn1.c123 ut_assertf(cert != NULL, "decoding failed\n"); in lib_asn1_x509()
124 ut_assertf(!strcmp(cert->subject, "Linaro: Tester"), in lib_asn1_x509()
126 ut_assertf(!strcmp(cert->issuer, "Linaro: Tester"), in lib_asn1_x509()
128 ut_assertf(cert->pub, "public key doesn't exist\n"); in lib_asn1_x509()
129 ut_assertf(cert->pub->keylen == 0x10e, "key length doesn't match\n"); in lib_asn1_x509()
130 ut_assertf(!strcmp(cert->pub->pkey_algo, "rsa"), "algo isn't rsa\n"); in lib_asn1_x509()
131 ut_assertf(cert->valid_from == 0x5da92ddb, in lib_asn1_x509()
133 ut_assertf(cert->valid_to == 0x5f8a615b, "valid_to doesn't match\n"); in lib_asn1_x509()
316 ut_assertf(pkcs7 != NULL, "decoding failed\n"); in lib_asn1_pkcs7()
317 ut_assertf(pkcs7->data_len == 104, "signature size doesn't match\n"); in lib_asn1_pkcs7()
[all …]
/third_party/uboot/u-boot-2020.01/include/test/
Dut.h50 #define ut_assertf(cond, fmt, args...) \ macro
/third_party/uboot/u-boot-2020.01/test/dm/
Dcore.c223 ut_assertf(!(dev->flags & DM_FLAG_ACTIVATED), in dm_test_autoprobe()
461 ut_assertf(dev->flags & DM_FLAG_ACTIVATED, in dm_test_remove()
464 ut_assertf(!(dev->flags & DM_FLAG_ACTIVATED), in dm_test_remove()