asn1_decoder.h 468 B

1234567891011121314151617181920
  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. #ifndef _LINUX_ASN1_DECODER_H
  8. #define _LINUX_ASN1_DECODER_H
  9. #include <linux/asn1.h>
  10. struct asn1_decoder;
  11. extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
  12. void *context,
  13. const unsigned char *data,
  14. size_t datalen);
  15. #endif /* _LINUX_ASN1_DECODER_H */