/filesystems/procfs/procfs_tpm.h

http://macfuse.googlecode.com/ · C Header · 28 lines · 13 code · 8 blank · 7 comment · 0 complexity · b2fb9ee66120cd1466b6d02ae90d47a3 MD5 · raw file

  1. /*
  2. * Copyright 2003 IBM
  3. * Source License: GNU GENERAL PUBLIC LICENSE (GPL)
  4. */
  5. /*
  6. * MacFUSE-Based procfs
  7. */
  8. #ifndef _PROCFS_TPM_H_
  9. #define _PROCFS_TPM_H_
  10. #include <sys/types.h>
  11. #include <tpmfunc.h>
  12. uint32_t
  13. TPM_GetCapability_Version(int *major, int *minor, int *version, int *rev);
  14. uint32_t
  15. TPM_GetCapability_Slots(uint32_t *slots);
  16. uint32_t
  17. TPM_GetCapability_Pcrs(uint32_t *pcrs);
  18. uint32_t
  19. TPM_GetCapability_Key_Handle(uint16_t *num, uint32_t keys[]);
  20. #endif /* _PROCFS_TPM_H_ */