summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/asn1_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/asn1_decoder.h')
-rw-r--r--kernel/include/linux/asn1_decoder.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/include/linux/asn1_decoder.h b/kernel/include/linux/asn1_decoder.h
new file mode 100644
index 000000000..fa2ff5bc0
--- /dev/null
+++ b/kernel/include/linux/asn1_decoder.h
@@ -0,0 +1,24 @@
+/* ASN.1 decoder
+ *
+ * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public Licence
+ * as published by the Free Software Foundation; either version
+ * 2 of the Licence, or (at your option) any later version.
+ */
+
+#ifndef _LINUX_ASN1_DECODER_H
+#define _LINUX_ASN1_DECODER_H
+
+#include <linux/asn1.h>
+
+struct asn1_decoder;
+
+extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
+ void *context,
+ const unsigned char *data,
+ size_t datalen);
+
+#endif /* _LINUX_ASN1_DECODER_H */