You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pem.h 568B

12345678910111213141516171819202122232425262728
  1. #ifndef _IPXE_PEM_H
  2. #define _IPXE_PEM_H
  3. /** @file
  4. *
  5. * PEM-encoded ASN.1 data
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #include <stdint.h>
  10. #include <ipxe/uaccess.h>
  11. #include <ipxe/asn1.h>
  12. #include <ipxe/image.h>
  13. /** Pre-encapsulation boundary marker */
  14. #define PEM_BEGIN "-----BEGIN"
  15. /** Post-encapsulation boundary marker */
  16. #define PEM_END "-----END"
  17. extern int pem_asn1 ( userptr_t data, size_t len, size_t offset,
  18. struct asn1_cursor **cursor );
  19. extern struct image_type pem_image_type __image_type ( PROBE_NORMAL );
  20. #endif /* _IPXE_PEM_H */