summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/der.h
blob: 983aeb23ca97d1f6bb4865a73590389a86205076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _IPXE_DER_H
#define _IPXE_DER_H

/** @file
 *
 * DER image format
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

#include <stdint.h>
#include <ipxe/asn1.h>
#include <ipxe/image.h>

extern int der_asn1 ( userptr_t data, size_t len, size_t offset,
		      struct asn1_cursor **cursor );

extern struct image_type der_image_type __image_type ( PROBE_NORMAL );

#endif /* _IPXE_DER_H */