2019-05-21 01:08:01 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-09-25 00:11:16 +08:00
|
|
|
/* ASN.1 decoder
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
|
|
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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 */
|