asn1_decoder.h 675 B

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