| 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 | #include <linux/types.h> | 
|---|
| 13 |  | 
|---|
| 14 | struct asn1_decoder; | 
|---|
| 15 |  | 
|---|
| 16 | extern int asn1_ber_decoder(const struct asn1_decoder *decoder, | 
|---|
| 17 | void *context, | 
|---|
| 18 | const unsigned char *data, | 
|---|
| 19 | size_t datalen); | 
|---|
| 20 |  | 
|---|
| 21 | #endif /* _LINUX_ASN1_DECODER_H */ | 
|---|
| 22 |  | 
|---|