IFAPI_Data_EncryptDecrypt.3 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .TH "IFAPI_Data_EncryptDecrypt" 3 "Fri Oct 7 2022" "Version 3.2.0" "tpm2-tss" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. IFAPI_Data_EncryptDecrypt
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <fapi_int\&.h>\fP
  11. .SS "Data Fields"
  12. .in +1c
  13. .ti -1c
  14. .RI "char const * \fBkeyPath\fP"
  15. .br
  16. .ti -1c
  17. .RI "uint8_t const * \fBin_data\fP"
  18. .br
  19. .ti -1c
  20. .RI "size_t \fBin_dataSize\fP"
  21. .br
  22. .ti -1c
  23. .RI "\fBIFAPI_OBJECT\fP * \fBkey_object\fP"
  24. .br
  25. .ti -1c
  26. .RI "\fBESYS_TR\fP \fBkey_handle\fP"
  27. .br
  28. .ti -1c
  29. .RI "size_t \fBnumBytes\fP"
  30. .br
  31. .ti -1c
  32. .RI "size_t \fBdecrypt\fP"
  33. .br
  34. .ti -1c
  35. .RI "UINT16 \fBbytesRequested\fP"
  36. .br
  37. .ti -1c
  38. .RI "TPMT_RSA_DECRYPT \fBrsa_scheme\fP"
  39. .br
  40. .ti -1c
  41. .RI "\fBESYS_TR\fP \fBobject_handle\fP"
  42. .br
  43. .ti -1c
  44. .RI "char * \fBpolicy_path\fP"
  45. .br
  46. .ti -1c
  47. .RI "\fBESYS_TR\fP \fBauth_session\fP"
  48. .br
  49. .ti -1c
  50. .RI "const \fBIFAPI_PROFILE\fP * \fBprofile\fP"
  51. .br
  52. .ti -1c
  53. .RI "uint8_t * \fBplainText\fP"
  54. .br
  55. .ti -1c
  56. .RI "size_t \fBplainTextSize\fP"
  57. .br
  58. .ti -1c
  59. .RI "uint8_t * \fBcipherText\fP"
  60. .br
  61. .ti -1c
  62. .RI "size_t \fBcipherTextSize\fP"
  63. .br
  64. .in -1c
  65. .SH "Detailed Description"
  66. .PP
  67. The data structure holding internal state of Fapi_EncryptDecrypt\&.
  68. .SH "Field Documentation"
  69. .PP
  70. .SS "UINT16 bytesRequested"
  71. Bytes currently requested from TPM
  72. .SS "size_t decrypt"
  73. Switch whether to encrypt or decrypt
  74. .SS "\fBESYS_TR\fP key_handle"
  75. The ESYS handle of the encryption key
  76. .SS "\fBIFAPI_OBJECT\fP* key_object"
  77. The IPAPI object for the encryption key
  78. .SS "char const* keyPath"
  79. The implicit key path
  80. .SS "size_t numBytes"
  81. The number of bytes of a ESYS request
  82. .SH "Author"
  83. .PP
  84. Generated automatically by Doxygen for tpm2-tss from the source code\&.