* tpm_set_ph_disabled
*
* Sets the flag that indicates if platform hierarchy is disabled.
- * certain commands, like NV_Read, may need to use different
+ * Certain commands, like NV_Read, may need to use different
* authorization if platform hierarchy is disabled.
*
* @flag: 1 if platform hierarchy is disabled, 0 otherwise
*/
void tpm_set_ph_disabled(int flag);
+/**
+ * tpm_is_ph_disabled
+ *
+ * Gets the flag that indicates if platform hierarchy is disabled.
+ * Certain commands, like NV_Read, may need to use different
+ * authorization if platform hierarchy is disabled.
+ *
+ * Returns 1 if platform hierarchy is disabled, 0 otherwise
+ */
+int tpm_is_ph_disabled(void);
+
#endif // __SRC_LIB_TPM2_MARSHALING_H