2
0

pem_int.h 827 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright 2018-2020 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. #ifndef HEADER_PEM_INT_H
  10. # define HEADER_PEM_INT_H
  11. # include <openssl/pem.h>
  12. /* Found in crypto/pem/pvkfmt.c */
  13. int ossl_do_blob_header(const unsigned char **in, unsigned int length,
  14. unsigned int *pmagic, unsigned int *pbitlen,
  15. int *pisdss, int *pispub);
  16. int ossl_do_PVK_header(const unsigned char **in, unsigned int length,
  17. int skip_magic,
  18. unsigned int *psaltlen, unsigned int *pkeylen);
  19. #endif