iPXE
|
ASN.1 self-tests. More...
#include <stdlib.h>
#include <assert.h>
#include <ipxe/image.h>
#include <ipxe/asn1.h>
#include <ipxe/test.h>
#include "asn1_test.h"
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | asn1_okx (struct asn1_test *test, const char *file, unsigned int line) |
Report ASN.1 test result. More... | |
ASN.1 self-tests.
Definition in file asn1_test.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void asn1_okx | ( | struct asn1_test * | test, |
const char * | file, | ||
unsigned int | line | ||
) |
Report ASN.1 test result.
test | ASN.1 test |
file | Test code file |
line | Test code line |
Definition at line 49 of file asn1_test.c.
References asn1_test_digest_algorithm, ASN1_TEST_DIGEST_SIZE, assert(), ctx, digest_algorithm::ctxsize, asn1_cursor::data, digest_final(), digest_init(), digest_update(), digest_algorithm::digestsize, free, image_asn1(), asn1_cursor::len, memcmp(), next, offset, okx, out, register_image(), test, unregister_image(), and virt_to_user().