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

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

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FILE_SECBOOT ( PERMITTED );

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

extern int der_asn1 ( const void *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 */