xref: /openbmc/linux/include/linux/asn1_decoder.h (revision 56bbd862)
1 /* ASN.1 decoder
2  *
3  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
4  * Written by David Howells (dhowells@redhat.com)
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public Licence
8  * as published by the Free Software Foundation; either version
9  * 2 of the Licence, or (at your option) any later version.
10  */
11 
12 #ifndef _LINUX_ASN1_DECODER_H
13 #define _LINUX_ASN1_DECODER_H
14 
15 #include <linux/asn1.h>
16 
17 struct asn1_decoder;
18 
19 extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
20 			    void *context,
21 			    const unsigned char *data,
22 			    size_t datalen);
23 
24 #endif /* _LINUX_ASN1_DECODER_H */
25