xref: /openbmc/linux/include/linux/asn1_decoder.h (revision 2be9e847)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ASN.1 decoder
3  *
4  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
5  * Written by David Howells (dhowells@redhat.com)
6  */
7 
8 #ifndef _LINUX_ASN1_DECODER_H
9 #define _LINUX_ASN1_DECODER_H
10 
11 #include <linux/asn1.h>
12 
13 struct asn1_decoder;
14 
15 extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
16 			    void *context,
17 			    const unsigned char *data,
18 			    size_t datalen);
19 
20 #endif /* _LINUX_ASN1_DECODER_H */
21