Lines Matching refs:TRUNKS_EXPORT
1655 TRUNKS_EXPORT size_t GetNumberOfRequestHandles(TPM_CC command_code);
1656 TRUNKS_EXPORT size_t GetNumberOfResponseHandles(TPM_CC command_code);
1658 TRUNKS_EXPORT TPM_RC Serialize_uint8_t(const uint8_t& value,
1661 TRUNKS_EXPORT TPM_RC Parse_uint8_t(std::string* buffer,
1665 TRUNKS_EXPORT TPM_RC Serialize_int8_t(const int8_t& value, std::string* buffer);
1667 TRUNKS_EXPORT TPM_RC Parse_int8_t(std::string* buffer,
1671 TRUNKS_EXPORT TPM_RC Serialize_int(const int& value, std::string* buffer);
1673 TRUNKS_EXPORT TPM_RC Parse_int(std::string* buffer,
1677 TRUNKS_EXPORT TPM_RC Serialize_uint16_t(const uint16_t& value,
1680 TRUNKS_EXPORT TPM_RC Parse_uint16_t(std::string* buffer,
1684 TRUNKS_EXPORT TPM_RC Serialize_int16_t(const int16_t& value,
1687 TRUNKS_EXPORT TPM_RC Parse_int16_t(std::string* buffer,
1691 TRUNKS_EXPORT TPM_RC Serialize_uint32_t(const uint32_t& value,
1694 TRUNKS_EXPORT TPM_RC Parse_uint32_t(std::string* buffer,
1698 TRUNKS_EXPORT TPM_RC Serialize_int32_t(const int32_t& value,
1701 TRUNKS_EXPORT TPM_RC Parse_int32_t(std::string* buffer,
1705 TRUNKS_EXPORT TPM_RC Serialize_uint64_t(const uint64_t& value,
1708 TRUNKS_EXPORT TPM_RC Parse_uint64_t(std::string* buffer,
1712 TRUNKS_EXPORT TPM_RC Serialize_int64_t(const int64_t& value,
1715 TRUNKS_EXPORT TPM_RC Parse_int64_t(std::string* buffer,
1719 TRUNKS_EXPORT TPM_RC Serialize_UINT8(const UINT8& value, std::string* buffer);
1721 TRUNKS_EXPORT TPM_RC Parse_UINT8(std::string* buffer,
1725 TRUNKS_EXPORT TPM_RC Serialize_BYTE(const BYTE& value, std::string* buffer);
1727 TRUNKS_EXPORT TPM_RC Parse_BYTE(std::string* buffer,
1731 TRUNKS_EXPORT TPM_RC Serialize_INT8(const INT8& value, std::string* buffer);
1733 TRUNKS_EXPORT TPM_RC Parse_INT8(std::string* buffer,
1737 TRUNKS_EXPORT TPM_RC Serialize_BOOL(const BOOL& value, std::string* buffer);
1739 TRUNKS_EXPORT TPM_RC Parse_BOOL(std::string* buffer,
1743 TRUNKS_EXPORT TPM_RC Serialize_UINT16(const UINT16& value, std::string* buffer);
1745 TRUNKS_EXPORT TPM_RC Parse_UINT16(std::string* buffer,
1749 TRUNKS_EXPORT TPM_RC Serialize_INT16(const INT16& value, std::string* buffer);
1751 TRUNKS_EXPORT TPM_RC Parse_INT16(std::string* buffer,
1755 TRUNKS_EXPORT TPM_RC Serialize_UINT32(const UINT32& value, std::string* buffer);
1757 TRUNKS_EXPORT TPM_RC Parse_UINT32(std::string* buffer,
1761 TRUNKS_EXPORT TPM_RC Serialize_INT32(const INT32& value, std::string* buffer);
1763 TRUNKS_EXPORT TPM_RC Parse_INT32(std::string* buffer,
1767 TRUNKS_EXPORT TPM_RC Serialize_UINT64(const UINT64& value, std::string* buffer);
1769 TRUNKS_EXPORT TPM_RC Parse_UINT64(std::string* buffer,
1773 TRUNKS_EXPORT TPM_RC Serialize_INT64(const INT64& value, std::string* buffer);
1775 TRUNKS_EXPORT TPM_RC Parse_INT64(std::string* buffer,
1779 TRUNKS_EXPORT TPM_RC Serialize_TPM_ALGORITHM_ID(const TPM_ALGORITHM_ID& value,
1782 TRUNKS_EXPORT TPM_RC Parse_TPM_ALGORITHM_ID(std::string* buffer,
1786 TRUNKS_EXPORT TPM_RC
1790 TRUNKS_EXPORT TPM_RC Parse_TPM_MODIFIER_INDICATOR(std::string* buffer,
1794 TRUNKS_EXPORT TPM_RC
1798 TRUNKS_EXPORT TPM_RC Parse_TPM_AUTHORIZATION_SIZE(std::string* buffer,
1802 TRUNKS_EXPORT TPM_RC
1806 TRUNKS_EXPORT TPM_RC Parse_TPM_PARAMETER_SIZE(std::string* buffer,
1810 TRUNKS_EXPORT TPM_RC Serialize_TPM_KEY_SIZE(const TPM_KEY_SIZE& value,
1813 TRUNKS_EXPORT TPM_RC Parse_TPM_KEY_SIZE(std::string* buffer,
1817 TRUNKS_EXPORT TPM_RC Serialize_TPM_KEY_BITS(const TPM_KEY_BITS& value,
1820 TRUNKS_EXPORT TPM_RC Parse_TPM_KEY_BITS(std::string* buffer,
1824 TRUNKS_EXPORT TPM_RC Serialize_TPM_HANDLE(const TPM_HANDLE& value,
1827 TRUNKS_EXPORT TPM_RC Parse_TPM_HANDLE(std::string* buffer,
1831 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_NONCE(const TPM2B_NONCE& value,
1834 TRUNKS_EXPORT TPM_RC Parse_TPM2B_NONCE(std::string* buffer,
1838 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_AUTH(const TPM2B_AUTH& value,
1841 TRUNKS_EXPORT TPM_RC Parse_TPM2B_AUTH(std::string* buffer,
1845 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_OPERAND(const TPM2B_OPERAND& value,
1848 TRUNKS_EXPORT TPM_RC Parse_TPM2B_OPERAND(std::string* buffer,
1852 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_HMAC(const TPMS_SCHEME_HMAC& value,
1855 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_HMAC(std::string* buffer,
1859 TRUNKS_EXPORT TPM_RC
1863 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_RSASSA(std::string* buffer,
1867 TRUNKS_EXPORT TPM_RC
1871 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_RSAPSS(std::string* buffer,
1875 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_ECDSA(const TPMS_SCHEME_ECDSA& value,
1878 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_ECDSA(std::string* buffer,
1882 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_SM2(const TPMS_SCHEME_SM2& value,
1885 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_SM2(std::string* buffer,
1889 TRUNKS_EXPORT TPM_RC
1893 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_ECSCHNORR(std::string* buffer,
1897 TRUNKS_EXPORT TPM_RC Serialize_TPMI_YES_NO(const TPMI_YES_NO& value,
1900 TRUNKS_EXPORT TPM_RC Parse_TPMI_YES_NO(std::string* buffer,
1904 TRUNKS_EXPORT TPM_RC Serialize_TPMI_DH_OBJECT(const TPMI_DH_OBJECT& value,
1907 TRUNKS_EXPORT TPM_RC Parse_TPMI_DH_OBJECT(std::string* buffer,
1911 TRUNKS_EXPORT TPM_RC
1915 TRUNKS_EXPORT TPM_RC Parse_TPMI_DH_PERSISTENT(std::string* buffer,
1919 TRUNKS_EXPORT TPM_RC Serialize_TPMI_DH_ENTITY(const TPMI_DH_ENTITY& value,
1922 TRUNKS_EXPORT TPM_RC Parse_TPMI_DH_ENTITY(std::string* buffer,
1926 TRUNKS_EXPORT TPM_RC Serialize_TPMI_DH_PCR(const TPMI_DH_PCR& value,
1929 TRUNKS_EXPORT TPM_RC Parse_TPMI_DH_PCR(std::string* buffer,
1933 TRUNKS_EXPORT TPM_RC
1937 TRUNKS_EXPORT TPM_RC Parse_TPMI_SH_AUTH_SESSION(std::string* buffer,
1941 TRUNKS_EXPORT TPM_RC Serialize_TPMI_SH_HMAC(const TPMI_SH_HMAC& value,
1944 TRUNKS_EXPORT TPM_RC Parse_TPMI_SH_HMAC(std::string* buffer,
1948 TRUNKS_EXPORT TPM_RC Serialize_TPMI_SH_POLICY(const TPMI_SH_POLICY& value,
1951 TRUNKS_EXPORT TPM_RC Parse_TPMI_SH_POLICY(std::string* buffer,
1955 TRUNKS_EXPORT TPM_RC Serialize_TPMI_DH_CONTEXT(const TPMI_DH_CONTEXT& value,
1958 TRUNKS_EXPORT TPM_RC Parse_TPMI_DH_CONTEXT(std::string* buffer,
1962 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_HIERARCHY(const TPMI_RH_HIERARCHY& value,
1965 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_HIERARCHY(std::string* buffer,
1969 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_ENABLES(const TPMI_RH_ENABLES& value,
1972 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_ENABLES(std::string* buffer,
1976 TRUNKS_EXPORT TPM_RC
1980 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_HIERARCHY_AUTH(std::string* buffer,
1984 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_PLATFORM(const TPMI_RH_PLATFORM& value,
1987 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_PLATFORM(std::string* buffer,
1991 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_OWNER(const TPMI_RH_OWNER& value,
1994 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_OWNER(std::string* buffer,
1998 TRUNKS_EXPORT TPM_RC
2002 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_ENDORSEMENT(std::string* buffer,
2006 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_PROVISION(const TPMI_RH_PROVISION& value,
2009 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_PROVISION(std::string* buffer,
2013 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_CLEAR(const TPMI_RH_CLEAR& value,
2016 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_CLEAR(std::string* buffer,
2020 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_NV_AUTH(const TPMI_RH_NV_AUTH& value,
2023 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_NV_AUTH(std::string* buffer,
2027 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_LOCKOUT(const TPMI_RH_LOCKOUT& value,
2030 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_LOCKOUT(std::string* buffer,
2034 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RH_NV_INDEX(const TPMI_RH_NV_INDEX& value,
2037 TRUNKS_EXPORT TPM_RC Parse_TPMI_RH_NV_INDEX(std::string* buffer,
2041 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_HASH(const TPMI_ALG_HASH& value,
2044 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_HASH(std::string* buffer,
2048 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_ASYM(const TPMI_ALG_ASYM& value,
2051 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_ASYM(std::string* buffer,
2055 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_SYM(const TPMI_ALG_SYM& value,
2058 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_SYM(std::string* buffer,
2062 TRUNKS_EXPORT TPM_RC
2066 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_SYM_OBJECT(std::string* buffer,
2070 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_SYM_MODE(const TPMI_ALG_SYM_MODE& value,
2073 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_SYM_MODE(std::string* buffer,
2077 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_KDF(const TPMI_ALG_KDF& value,
2080 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_KDF(std::string* buffer,
2084 TRUNKS_EXPORT TPM_RC
2088 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_SIG_SCHEME(std::string* buffer,
2092 TRUNKS_EXPORT TPM_RC
2096 TRUNKS_EXPORT TPM_RC Parse_TPMI_ECC_KEY_EXCHANGE(std::string* buffer,
2100 TRUNKS_EXPORT TPM_RC
2104 TRUNKS_EXPORT TPM_RC Parse_TPMI_ST_COMMAND_TAG(std::string* buffer,
2108 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ST_ATTEST(const TPMI_ST_ATTEST& value,
2111 TRUNKS_EXPORT TPM_RC Parse_TPMI_ST_ATTEST(std::string* buffer,
2115 TRUNKS_EXPORT TPM_RC Serialize_TPMI_AES_KEY_BITS(const TPMI_AES_KEY_BITS& value,
2118 TRUNKS_EXPORT TPM_RC Parse_TPMI_AES_KEY_BITS(std::string* buffer,
2122 TRUNKS_EXPORT TPM_RC Serialize_TPMI_SM4_KEY_BITS(const TPMI_SM4_KEY_BITS& value,
2125 TRUNKS_EXPORT TPM_RC Parse_TPMI_SM4_KEY_BITS(std::string* buffer,
2129 TRUNKS_EXPORT TPM_RC
2133 TRUNKS_EXPORT TPM_RC
2138 TRUNKS_EXPORT TPM_RC
2142 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_ASYM_SCHEME(std::string* buffer,
2146 TRUNKS_EXPORT TPM_RC
2150 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_RSA_SCHEME(std::string* buffer,
2154 TRUNKS_EXPORT TPM_RC
2158 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_RSA_DECRYPT(std::string* buffer,
2162 TRUNKS_EXPORT TPM_RC Serialize_TPMI_RSA_KEY_BITS(const TPMI_RSA_KEY_BITS& value,
2165 TRUNKS_EXPORT TPM_RC Parse_TPMI_RSA_KEY_BITS(std::string* buffer,
2169 TRUNKS_EXPORT TPM_RC
2173 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_ECC_SCHEME(std::string* buffer,
2177 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ECC_CURVE(const TPMI_ECC_CURVE& value,
2180 TRUNKS_EXPORT TPM_RC Parse_TPMI_ECC_CURVE(std::string* buffer,
2184 TRUNKS_EXPORT TPM_RC Serialize_TPMI_ALG_PUBLIC(const TPMI_ALG_PUBLIC& value,
2187 TRUNKS_EXPORT TPM_RC Parse_TPMI_ALG_PUBLIC(std::string* buffer,
2191 TRUNKS_EXPORT TPM_RC Serialize_TPMA_ALGORITHM(const TPMA_ALGORITHM& value,
2194 TRUNKS_EXPORT TPM_RC Parse_TPMA_ALGORITHM(std::string* buffer,
2198 TRUNKS_EXPORT TPM_RC Serialize_TPMA_OBJECT(const TPMA_OBJECT& value,
2201 TRUNKS_EXPORT TPM_RC Parse_TPMA_OBJECT(std::string* buffer,
2205 TRUNKS_EXPORT TPM_RC Serialize_TPMA_SESSION(const TPMA_SESSION& value,
2208 TRUNKS_EXPORT TPM_RC Parse_TPMA_SESSION(std::string* buffer,
2212 TRUNKS_EXPORT TPM_RC Serialize_TPMA_LOCALITY(const TPMA_LOCALITY& value,
2215 TRUNKS_EXPORT TPM_RC Parse_TPMA_LOCALITY(std::string* buffer,
2219 TRUNKS_EXPORT TPM_RC Serialize_TPMA_PERMANENT(const TPMA_PERMANENT& value,
2222 TRUNKS_EXPORT TPM_RC Parse_TPMA_PERMANENT(std::string* buffer,
2226 TRUNKS_EXPORT TPM_RC
2230 TRUNKS_EXPORT TPM_RC Parse_TPMA_STARTUP_CLEAR(std::string* buffer,
2234 TRUNKS_EXPORT TPM_RC Serialize_TPMA_MEMORY(const TPMA_MEMORY& value,
2237 TRUNKS_EXPORT TPM_RC Parse_TPMA_MEMORY(std::string* buffer,
2241 TRUNKS_EXPORT TPM_RC Serialize_TPMA_CC(const TPMA_CC& value,
2244 TRUNKS_EXPORT TPM_RC Parse_TPMA_CC(std::string* buffer,
2248 TRUNKS_EXPORT TPM_RC Serialize_TPM_NV_INDEX(const TPM_NV_INDEX& value,
2251 TRUNKS_EXPORT TPM_RC Parse_TPM_NV_INDEX(std::string* buffer,
2255 TRUNKS_EXPORT TPM_RC Serialize_TPMA_NV(const TPMA_NV& value,
2258 TRUNKS_EXPORT TPM_RC Parse_TPMA_NV(std::string* buffer,
2262 TRUNKS_EXPORT TPM_RC Serialize_TPM_SPEC(const TPM_SPEC& value,
2265 TRUNKS_EXPORT TPM_RC Parse_TPM_SPEC(std::string* buffer,
2269 TRUNKS_EXPORT TPM_RC Serialize_TPM_GENERATED(const TPM_GENERATED& value,
2272 TRUNKS_EXPORT TPM_RC Parse_TPM_GENERATED(std::string* buffer,
2276 TRUNKS_EXPORT TPM_RC Serialize_TPM_ALG_ID(const TPM_ALG_ID& value,
2279 TRUNKS_EXPORT TPM_RC Parse_TPM_ALG_ID(std::string* buffer,
2283 TRUNKS_EXPORT TPM_RC Serialize_TPM_ECC_CURVE(const TPM_ECC_CURVE& value,
2286 TRUNKS_EXPORT TPM_RC Parse_TPM_ECC_CURVE(std::string* buffer,
2290 TRUNKS_EXPORT TPM_RC Serialize_TPM_CC(const TPM_CC& value, std::string* buffer);
2292 TRUNKS_EXPORT TPM_RC Parse_TPM_CC(std::string* buffer,
2296 TRUNKS_EXPORT TPM_RC Serialize_TPM_RC(const TPM_RC& value, std::string* buffer);
2298 TRUNKS_EXPORT TPM_RC Parse_TPM_RC(std::string* buffer,
2302 TRUNKS_EXPORT TPM_RC Serialize_TPM_CLOCK_ADJUST(const TPM_CLOCK_ADJUST& value,
2305 TRUNKS_EXPORT TPM_RC Parse_TPM_CLOCK_ADJUST(std::string* buffer,
2309 TRUNKS_EXPORT TPM_RC Serialize_TPM_EO(const TPM_EO& value, std::string* buffer);
2311 TRUNKS_EXPORT TPM_RC Parse_TPM_EO(std::string* buffer,
2315 TRUNKS_EXPORT TPM_RC Serialize_TPM_ST(const TPM_ST& value, std::string* buffer);
2317 TRUNKS_EXPORT TPM_RC Parse_TPM_ST(std::string* buffer,
2321 TRUNKS_EXPORT TPM_RC Serialize_TPM_SU(const TPM_SU& value, std::string* buffer);
2323 TRUNKS_EXPORT TPM_RC Parse_TPM_SU(std::string* buffer,
2327 TRUNKS_EXPORT TPM_RC Serialize_TPM_SE(const TPM_SE& value, std::string* buffer);
2329 TRUNKS_EXPORT TPM_RC Parse_TPM_SE(std::string* buffer,
2333 TRUNKS_EXPORT TPM_RC Serialize_TPM_CAP(const TPM_CAP& value,
2336 TRUNKS_EXPORT TPM_RC Parse_TPM_CAP(std::string* buffer,
2340 TRUNKS_EXPORT TPM_RC Serialize_TPM_PT(const TPM_PT& value, std::string* buffer);
2342 TRUNKS_EXPORT TPM_RC Parse_TPM_PT(std::string* buffer,
2346 TRUNKS_EXPORT TPM_RC Serialize_TPM_PT_PCR(const TPM_PT_PCR& value,
2349 TRUNKS_EXPORT TPM_RC Parse_TPM_PT_PCR(std::string* buffer,
2353 TRUNKS_EXPORT TPM_RC Serialize_TPM_PS(const TPM_PS& value, std::string* buffer);
2355 TRUNKS_EXPORT TPM_RC Parse_TPM_PS(std::string* buffer,
2359 TRUNKS_EXPORT TPM_RC Serialize_TPM_HT(const TPM_HT& value, std::string* buffer);
2361 TRUNKS_EXPORT TPM_RC Parse_TPM_HT(std::string* buffer,
2365 TRUNKS_EXPORT TPM_RC Serialize_TPM_RH(const TPM_RH& value, std::string* buffer);
2367 TRUNKS_EXPORT TPM_RC Parse_TPM_RH(std::string* buffer,
2371 TRUNKS_EXPORT TPM_RC Serialize_TPM_HC(const TPM_HC& value, std::string* buffer);
2373 TRUNKS_EXPORT TPM_RC Parse_TPM_HC(std::string* buffer,
2377 TRUNKS_EXPORT TPM_RC
2381 TRUNKS_EXPORT TPM_RC
2386 TRUNKS_EXPORT TPM_RC Serialize_TPMT_HA(const TPMT_HA& value,
2389 TRUNKS_EXPORT TPM_RC Parse_TPMT_HA(std::string* buffer,
2393 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_DIGEST(const TPM2B_DIGEST& value,
2396 TRUNKS_EXPORT TPM_RC Parse_TPM2B_DIGEST(std::string* buffer,
2400 TRUNKS_EXPORT TPM2B_DIGEST Make_TPM2B_DIGEST(const std::string& bytes);
2401 TRUNKS_EXPORT std::string StringFrom_TPM2B_DIGEST(const TPM2B_DIGEST& tpm2b);
2403 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_DATA(const TPM2B_DATA& value,
2406 TRUNKS_EXPORT TPM_RC Parse_TPM2B_DATA(std::string* buffer,
2410 TRUNKS_EXPORT TPM2B_DATA Make_TPM2B_DATA(const std::string& bytes);
2411 TRUNKS_EXPORT std::string StringFrom_TPM2B_DATA(const TPM2B_DATA& tpm2b);
2413 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_EVENT(const TPM2B_EVENT& value,
2416 TRUNKS_EXPORT TPM_RC Parse_TPM2B_EVENT(std::string* buffer,
2420 TRUNKS_EXPORT TPM2B_EVENT Make_TPM2B_EVENT(const std::string& bytes);
2421 TRUNKS_EXPORT std::string StringFrom_TPM2B_EVENT(const TPM2B_EVENT& tpm2b);
2423 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_MAX_BUFFER(const TPM2B_MAX_BUFFER& value,
2426 TRUNKS_EXPORT TPM_RC Parse_TPM2B_MAX_BUFFER(std::string* buffer,
2430 TRUNKS_EXPORT TPM2B_MAX_BUFFER Make_TPM2B_MAX_BUFFER(const std::string& bytes);
2431 TRUNKS_EXPORT std::string StringFrom_TPM2B_MAX_BUFFER(
2434 TRUNKS_EXPORT TPM_RC
2438 TRUNKS_EXPORT TPM_RC Parse_TPM2B_MAX_NV_BUFFER(std::string* buffer,
2442 TRUNKS_EXPORT TPM2B_MAX_NV_BUFFER
2444 TRUNKS_EXPORT std::string StringFrom_TPM2B_MAX_NV_BUFFER(
2447 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_TIMEOUT(const TPM2B_TIMEOUT& value,
2450 TRUNKS_EXPORT TPM_RC Parse_TPM2B_TIMEOUT(std::string* buffer,
2454 TRUNKS_EXPORT TPM2B_TIMEOUT Make_TPM2B_TIMEOUT(const std::string& bytes);
2455 TRUNKS_EXPORT std::string StringFrom_TPM2B_TIMEOUT(const TPM2B_TIMEOUT& tpm2b);
2457 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_IV(const TPM2B_IV& value,
2460 TRUNKS_EXPORT TPM_RC Parse_TPM2B_IV(std::string* buffer,
2464 TRUNKS_EXPORT TPM2B_IV Make_TPM2B_IV(const std::string& bytes);
2465 TRUNKS_EXPORT std::string StringFrom_TPM2B_IV(const TPM2B_IV& tpm2b);
2467 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_NAME(const TPM2B_NAME& value,
2470 TRUNKS_EXPORT TPM_RC Parse_TPM2B_NAME(std::string* buffer,
2474 TRUNKS_EXPORT TPM2B_NAME Make_TPM2B_NAME(const std::string& bytes);
2475 TRUNKS_EXPORT std::string StringFrom_TPM2B_NAME(const TPM2B_NAME& tpm2b);
2477 TRUNKS_EXPORT TPM_RC Serialize_TPMS_PCR_SELECT(const TPMS_PCR_SELECT& value,
2480 TRUNKS_EXPORT TPM_RC Parse_TPMS_PCR_SELECT(std::string* buffer,
2484 TRUNKS_EXPORT TPM_RC
2488 TRUNKS_EXPORT TPM_RC Parse_TPMS_PCR_SELECTION(std::string* buffer,
2492 TRUNKS_EXPORT TPM_RC Serialize_TPMT_TK_CREATION(const TPMT_TK_CREATION& value,
2495 TRUNKS_EXPORT TPM_RC Parse_TPMT_TK_CREATION(std::string* buffer,
2499 TRUNKS_EXPORT TPM_RC Serialize_TPMT_TK_VERIFIED(const TPMT_TK_VERIFIED& value,
2502 TRUNKS_EXPORT TPM_RC Parse_TPMT_TK_VERIFIED(std::string* buffer,
2506 TRUNKS_EXPORT TPM_RC Serialize_TPMT_TK_AUTH(const TPMT_TK_AUTH& value,
2509 TRUNKS_EXPORT TPM_RC Parse_TPMT_TK_AUTH(std::string* buffer,
2513 TRUNKS_EXPORT TPM_RC Serialize_TPMT_TK_HASHCHECK(const TPMT_TK_HASHCHECK& value,
2516 TRUNKS_EXPORT TPM_RC Parse_TPMT_TK_HASHCHECK(std::string* buffer,
2520 TRUNKS_EXPORT TPM_RC Serialize_TPMS_ALG_PROPERTY(const TPMS_ALG_PROPERTY& value,
2523 TRUNKS_EXPORT TPM_RC Parse_TPMS_ALG_PROPERTY(std::string* buffer,
2527 TRUNKS_EXPORT TPM_RC
2531 TRUNKS_EXPORT TPM_RC Parse_TPMS_TAGGED_PROPERTY(std::string* buffer,
2535 TRUNKS_EXPORT TPM_RC
2539 TRUNKS_EXPORT TPM_RC Parse_TPMS_TAGGED_PCR_SELECT(std::string* buffer,
2543 TRUNKS_EXPORT TPM_RC Serialize_TPML_CC(const TPML_CC& value,
2546 TRUNKS_EXPORT TPM_RC Parse_TPML_CC(std::string* buffer,
2550 TRUNKS_EXPORT TPM_RC Serialize_TPML_CCA(const TPML_CCA& value,
2553 TRUNKS_EXPORT TPM_RC Parse_TPML_CCA(std::string* buffer,
2557 TRUNKS_EXPORT TPM_RC Serialize_TPML_ALG(const TPML_ALG& value,
2560 TRUNKS_EXPORT TPM_RC Parse_TPML_ALG(std::string* buffer,
2564 TRUNKS_EXPORT TPM_RC Serialize_TPML_HANDLE(const TPML_HANDLE& value,
2567 TRUNKS_EXPORT TPM_RC Parse_TPML_HANDLE(std::string* buffer,
2571 TRUNKS_EXPORT TPM_RC Serialize_TPML_DIGEST(const TPML_DIGEST& value,
2574 TRUNKS_EXPORT TPM_RC Parse_TPML_DIGEST(std::string* buffer,
2578 TRUNKS_EXPORT TPM_RC
2582 TRUNKS_EXPORT TPM_RC Parse_TPML_DIGEST_VALUES(std::string* buffer,
2586 TRUNKS_EXPORT TPM_RC
2590 TRUNKS_EXPORT TPM_RC Parse_TPM2B_DIGEST_VALUES(std::string* buffer,
2594 TRUNKS_EXPORT TPM2B_DIGEST_VALUES
2596 TRUNKS_EXPORT std::string StringFrom_TPM2B_DIGEST_VALUES(
2599 TRUNKS_EXPORT TPM_RC
2603 TRUNKS_EXPORT TPM_RC Parse_TPML_PCR_SELECTION(std::string* buffer,
2607 TRUNKS_EXPORT TPM_RC Serialize_TPML_ALG_PROPERTY(const TPML_ALG_PROPERTY& value,
2610 TRUNKS_EXPORT TPM_RC Parse_TPML_ALG_PROPERTY(std::string* buffer,
2614 TRUNKS_EXPORT TPM_RC
2618 TRUNKS_EXPORT TPM_RC
2623 TRUNKS_EXPORT TPM_RC
2627 TRUNKS_EXPORT TPM_RC
2632 TRUNKS_EXPORT TPM_RC Serialize_TPML_ECC_CURVE(const TPML_ECC_CURVE& value,
2635 TRUNKS_EXPORT TPM_RC Parse_TPML_ECC_CURVE(std::string* buffer,
2639 TRUNKS_EXPORT TPM_RC
2643 TRUNKS_EXPORT TPM_RC Parse_TPMS_CAPABILITY_DATA(std::string* buffer,
2647 TRUNKS_EXPORT TPM_RC Serialize_TPMS_CLOCK_INFO(const TPMS_CLOCK_INFO& value,
2650 TRUNKS_EXPORT TPM_RC Parse_TPMS_CLOCK_INFO(std::string* buffer,
2654 TRUNKS_EXPORT TPM_RC Serialize_TPMS_TIME_INFO(const TPMS_TIME_INFO& value,
2657 TRUNKS_EXPORT TPM_RC Parse_TPMS_TIME_INFO(std::string* buffer,
2661 TRUNKS_EXPORT TPM_RC
2665 TRUNKS_EXPORT TPM_RC Parse_TPMS_TIME_ATTEST_INFO(std::string* buffer,
2669 TRUNKS_EXPORT TPM_RC Serialize_TPMS_CERTIFY_INFO(const TPMS_CERTIFY_INFO& value,
2672 TRUNKS_EXPORT TPM_RC Parse_TPMS_CERTIFY_INFO(std::string* buffer,
2676 TRUNKS_EXPORT TPM_RC Serialize_TPMS_QUOTE_INFO(const TPMS_QUOTE_INFO& value,
2679 TRUNKS_EXPORT TPM_RC Parse_TPMS_QUOTE_INFO(std::string* buffer,
2683 TRUNKS_EXPORT TPM_RC
2687 TRUNKS_EXPORT TPM_RC
2692 TRUNKS_EXPORT TPM_RC
2696 TRUNKS_EXPORT TPM_RC
2701 TRUNKS_EXPORT TPM_RC
2705 TRUNKS_EXPORT TPM_RC Parse_TPMS_CREATION_INFO(std::string* buffer,
2709 TRUNKS_EXPORT TPM_RC
2713 TRUNKS_EXPORT TPM_RC Parse_TPMS_NV_CERTIFY_INFO(std::string* buffer,
2717 TRUNKS_EXPORT TPM_RC Serialize_TPMS_ATTEST(const TPMS_ATTEST& value,
2720 TRUNKS_EXPORT TPM_RC Parse_TPMS_ATTEST(std::string* buffer,
2724 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_ATTEST(const TPM2B_ATTEST& value,
2727 TRUNKS_EXPORT TPM_RC Parse_TPM2B_ATTEST(std::string* buffer,
2731 TRUNKS_EXPORT TPM2B_ATTEST Make_TPM2B_ATTEST(const std::string& bytes);
2732 TRUNKS_EXPORT std::string StringFrom_TPM2B_ATTEST(const TPM2B_ATTEST& tpm2b);
2734 TRUNKS_EXPORT TPM_RC Serialize_TPMS_AUTH_COMMAND(const TPMS_AUTH_COMMAND& value,
2737 TRUNKS_EXPORT TPM_RC Parse_TPMS_AUTH_COMMAND(std::string* buffer,
2741 TRUNKS_EXPORT TPM_RC
2745 TRUNKS_EXPORT TPM_RC Parse_TPMS_AUTH_RESPONSE(std::string* buffer,
2749 TRUNKS_EXPORT TPM_RC Serialize_TPMT_SYM_DEF(const TPMT_SYM_DEF& value,
2752 TRUNKS_EXPORT TPM_RC Parse_TPMT_SYM_DEF(std::string* buffer,
2756 TRUNKS_EXPORT TPM_RC
2760 TRUNKS_EXPORT TPM_RC Parse_TPMT_SYM_DEF_OBJECT(std::string* buffer,
2764 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_SYM_KEY(const TPM2B_SYM_KEY& value,
2767 TRUNKS_EXPORT TPM_RC Parse_TPM2B_SYM_KEY(std::string* buffer,
2771 TRUNKS_EXPORT TPM2B_SYM_KEY Make_TPM2B_SYM_KEY(const std::string& bytes);
2772 TRUNKS_EXPORT std::string StringFrom_TPM2B_SYM_KEY(const TPM2B_SYM_KEY& tpm2b);
2774 TRUNKS_EXPORT TPM_RC
2778 TRUNKS_EXPORT TPM_RC Parse_TPMS_SYMCIPHER_PARMS(std::string* buffer,
2782 TRUNKS_EXPORT TPM_RC
2786 TRUNKS_EXPORT TPM_RC Parse_TPM2B_SENSITIVE_DATA(std::string* buffer,
2790 TRUNKS_EXPORT TPM2B_SENSITIVE_DATA
2792 TRUNKS_EXPORT std::string StringFrom_TPM2B_SENSITIVE_DATA(
2795 TRUNKS_EXPORT TPM_RC
2799 TRUNKS_EXPORT TPM_RC Parse_TPMS_SENSITIVE_CREATE(std::string* buffer,
2803 TRUNKS_EXPORT TPM_RC
2807 TRUNKS_EXPORT TPM_RC Parse_TPM2B_SENSITIVE_CREATE(std::string* buffer,
2811 TRUNKS_EXPORT TPM2B_SENSITIVE_CREATE
2814 TRUNKS_EXPORT TPM_RC
2818 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_SIGHASH(std::string* buffer,
2822 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_XOR(const TPMS_SCHEME_XOR& value,
2825 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_XOR(std::string* buffer,
2829 TRUNKS_EXPORT TPM_RC
2833 TRUNKS_EXPORT TPM_RC Parse_TPMT_KEYEDHASH_SCHEME(std::string* buffer,
2837 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_ECDAA(const TPMS_SCHEME_ECDAA& value,
2840 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_ECDAA(std::string* buffer,
2844 TRUNKS_EXPORT TPM_RC Serialize_TPMT_SIG_SCHEME(const TPMT_SIG_SCHEME& value,
2847 TRUNKS_EXPORT TPM_RC Parse_TPMT_SIG_SCHEME(std::string* buffer,
2851 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_OAEP(const TPMS_SCHEME_OAEP& value,
2854 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_OAEP(std::string* buffer,
2858 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_ECDH(const TPMS_SCHEME_ECDH& value,
2861 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_ECDH(std::string* buffer,
2865 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_MGF1(const TPMS_SCHEME_MGF1& value,
2868 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_MGF1(std::string* buffer,
2872 TRUNKS_EXPORT TPM_RC
2876 TRUNKS_EXPORT TPM_RC
2881 TRUNKS_EXPORT TPM_RC Serialize_TPMS_SCHEME_KDF2(const TPMS_SCHEME_KDF2& value,
2884 TRUNKS_EXPORT TPM_RC Parse_TPMS_SCHEME_KDF2(std::string* buffer,
2888 TRUNKS_EXPORT TPM_RC
2892 TRUNKS_EXPORT TPM_RC
2897 TRUNKS_EXPORT TPM_RC Serialize_TPMT_KDF_SCHEME(const TPMT_KDF_SCHEME& value,
2900 TRUNKS_EXPORT TPM_RC Parse_TPMT_KDF_SCHEME(std::string* buffer,
2904 TRUNKS_EXPORT TPM_RC Serialize_TPMT_ASYM_SCHEME(const TPMT_ASYM_SCHEME& value,
2907 TRUNKS_EXPORT TPM_RC Parse_TPMT_ASYM_SCHEME(std::string* buffer,
2911 TRUNKS_EXPORT TPM_RC Serialize_TPMT_RSA_SCHEME(const TPMT_RSA_SCHEME& value,
2914 TRUNKS_EXPORT TPM_RC Parse_TPMT_RSA_SCHEME(std::string* buffer,
2918 TRUNKS_EXPORT TPM_RC Serialize_TPMT_RSA_DECRYPT(const TPMT_RSA_DECRYPT& value,
2921 TRUNKS_EXPORT TPM_RC Parse_TPMT_RSA_DECRYPT(std::string* buffer,
2925 TRUNKS_EXPORT TPM_RC
2929 TRUNKS_EXPORT TPM_RC Parse_TPM2B_PUBLIC_KEY_RSA(std::string* buffer,
2933 TRUNKS_EXPORT TPM2B_PUBLIC_KEY_RSA
2935 TRUNKS_EXPORT std::string StringFrom_TPM2B_PUBLIC_KEY_RSA(
2938 TRUNKS_EXPORT TPM_RC
2942 TRUNKS_EXPORT TPM_RC Parse_TPM2B_PRIVATE_KEY_RSA(std::string* buffer,
2946 TRUNKS_EXPORT TPM2B_PRIVATE_KEY_RSA
2948 TRUNKS_EXPORT std::string StringFrom_TPM2B_PRIVATE_KEY_RSA(
2951 TRUNKS_EXPORT TPM_RC
2955 TRUNKS_EXPORT TPM_RC Parse_TPM2B_ECC_PARAMETER(std::string* buffer,
2959 TRUNKS_EXPORT TPM2B_ECC_PARAMETER
2961 TRUNKS_EXPORT std::string StringFrom_TPM2B_ECC_PARAMETER(
2964 TRUNKS_EXPORT TPM_RC Serialize_TPMS_ECC_POINT(const TPMS_ECC_POINT& value,
2967 TRUNKS_EXPORT TPM_RC Parse_TPMS_ECC_POINT(std::string* buffer,
2971 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_ECC_POINT(const TPM2B_ECC_POINT& value,
2974 TRUNKS_EXPORT TPM_RC Parse_TPM2B_ECC_POINT(std::string* buffer,
2978 TRUNKS_EXPORT TPM2B_ECC_POINT Make_TPM2B_ECC_POINT(const TPMS_ECC_POINT& inner);
2980 TRUNKS_EXPORT TPM_RC Serialize_TPMT_ECC_SCHEME(const TPMT_ECC_SCHEME& value,
2983 TRUNKS_EXPORT TPM_RC Parse_TPMT_ECC_SCHEME(std::string* buffer,
2987 TRUNKS_EXPORT TPM_RC
2991 TRUNKS_EXPORT TPM_RC
2996 TRUNKS_EXPORT TPM_RC
3000 TRUNKS_EXPORT TPM_RC Parse_TPMS_SIGNATURE_RSASSA(std::string* buffer,
3004 TRUNKS_EXPORT TPM_RC
3008 TRUNKS_EXPORT TPM_RC Parse_TPMS_SIGNATURE_RSAPSS(std::string* buffer,
3012 TRUNKS_EXPORT TPM_RC
3016 TRUNKS_EXPORT TPM_RC Parse_TPMS_SIGNATURE_ECDSA(std::string* buffer,
3020 TRUNKS_EXPORT TPM_RC Serialize_TPMT_SIGNATURE(const TPMT_SIGNATURE& value,
3023 TRUNKS_EXPORT TPM_RC Parse_TPMT_SIGNATURE(std::string* buffer,
3027 TRUNKS_EXPORT TPM_RC
3031 TRUNKS_EXPORT TPM_RC Parse_TPM2B_ENCRYPTED_SECRET(std::string* buffer,
3035 TRUNKS_EXPORT TPM2B_ENCRYPTED_SECRET
3037 TRUNKS_EXPORT std::string StringFrom_TPM2B_ENCRYPTED_SECRET(
3040 TRUNKS_EXPORT TPM_RC
3044 TRUNKS_EXPORT TPM_RC Parse_TPMS_KEYEDHASH_PARMS(std::string* buffer,
3048 TRUNKS_EXPORT TPM_RC Serialize_TPMS_ASYM_PARMS(const TPMS_ASYM_PARMS& value,
3051 TRUNKS_EXPORT TPM_RC Parse_TPMS_ASYM_PARMS(std::string* buffer,
3055 TRUNKS_EXPORT TPM_RC Serialize_TPMS_RSA_PARMS(const TPMS_RSA_PARMS& value,
3058 TRUNKS_EXPORT TPM_RC Parse_TPMS_RSA_PARMS(std::string* buffer,
3062 TRUNKS_EXPORT TPM_RC Serialize_TPMS_ECC_PARMS(const TPMS_ECC_PARMS& value,
3065 TRUNKS_EXPORT TPM_RC Parse_TPMS_ECC_PARMS(std::string* buffer,
3069 TRUNKS_EXPORT TPM_RC Serialize_TPMT_PUBLIC_PARMS(const TPMT_PUBLIC_PARMS& value,
3072 TRUNKS_EXPORT TPM_RC Parse_TPMT_PUBLIC_PARMS(std::string* buffer,
3076 TRUNKS_EXPORT TPM_RC Serialize_TPMT_PUBLIC(const TPMT_PUBLIC& value,
3079 TRUNKS_EXPORT TPM_RC Parse_TPMT_PUBLIC(std::string* buffer,
3083 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_PUBLIC(const TPM2B_PUBLIC& value,
3086 TRUNKS_EXPORT TPM_RC Parse_TPM2B_PUBLIC(std::string* buffer,
3090 TRUNKS_EXPORT TPM2B_PUBLIC Make_TPM2B_PUBLIC(const TPMT_PUBLIC& inner);
3092 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_PRIVATE_VENDOR_SPECIFIC(
3096 TRUNKS_EXPORT TPM_RC
3101 TRUNKS_EXPORT TPM2B_PRIVATE_VENDOR_SPECIFIC
3103 TRUNKS_EXPORT std::string StringFrom_TPM2B_PRIVATE_VENDOR_SPECIFIC(
3106 TRUNKS_EXPORT TPM_RC Serialize_TPMT_SENSITIVE(const TPMT_SENSITIVE& value,
3109 TRUNKS_EXPORT TPM_RC Parse_TPMT_SENSITIVE(std::string* buffer,
3113 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_SENSITIVE(const TPM2B_SENSITIVE& value,
3116 TRUNKS_EXPORT TPM_RC Parse_TPM2B_SENSITIVE(std::string* buffer,
3120 TRUNKS_EXPORT TPM2B_SENSITIVE Make_TPM2B_SENSITIVE(const TPMT_SENSITIVE& inner);
3122 TRUNKS_EXPORT TPM_RC Serialize__PRIVATE(const _PRIVATE& value,
3125 TRUNKS_EXPORT TPM_RC Parse__PRIVATE(std::string* buffer,
3129 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_PRIVATE(const TPM2B_PRIVATE& value,
3132 TRUNKS_EXPORT TPM_RC Parse_TPM2B_PRIVATE(std::string* buffer,
3136 TRUNKS_EXPORT TPM2B_PRIVATE Make_TPM2B_PRIVATE(const std::string& bytes);
3137 TRUNKS_EXPORT std::string StringFrom_TPM2B_PRIVATE(const TPM2B_PRIVATE& tpm2b);
3139 TRUNKS_EXPORT TPM_RC Serialize__ID_OBJECT(const _ID_OBJECT& value,
3142 TRUNKS_EXPORT TPM_RC Parse__ID_OBJECT(std::string* buffer,
3146 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_ID_OBJECT(const TPM2B_ID_OBJECT& value,
3149 TRUNKS_EXPORT TPM_RC Parse_TPM2B_ID_OBJECT(std::string* buffer,
3153 TRUNKS_EXPORT TPM2B_ID_OBJECT Make_TPM2B_ID_OBJECT(const std::string& bytes);
3154 TRUNKS_EXPORT std::string StringFrom_TPM2B_ID_OBJECT(
3157 TRUNKS_EXPORT TPM_RC Serialize_TPMS_NV_PUBLIC(const TPMS_NV_PUBLIC& value,
3160 TRUNKS_EXPORT TPM_RC Parse_TPMS_NV_PUBLIC(std::string* buffer,
3164 TRUNKS_EXPORT TPM_RC Serialize_TPM2B_NV_PUBLIC(const TPM2B_NV_PUBLIC& value,
3167 TRUNKS_EXPORT TPM_RC Parse_TPM2B_NV_PUBLIC(std::string* buffer,
3171 TRUNKS_EXPORT TPM2B_NV_PUBLIC Make_TPM2B_NV_PUBLIC(const TPMS_NV_PUBLIC& inner);
3173 TRUNKS_EXPORT TPM_RC
3177 TRUNKS_EXPORT TPM_RC
3182 TRUNKS_EXPORT TPM2B_CONTEXT_SENSITIVE
3184 TRUNKS_EXPORT std::string StringFrom_TPM2B_CONTEXT_SENSITIVE(
3187 TRUNKS_EXPORT TPM_RC Serialize_TPMS_CONTEXT_DATA(const TPMS_CONTEXT_DATA& value,
3190 TRUNKS_EXPORT TPM_RC Parse_TPMS_CONTEXT_DATA(std::string* buffer,
3194 TRUNKS_EXPORT TPM_RC
3198 TRUNKS_EXPORT TPM_RC Parse_TPM2B_CONTEXT_DATA(std::string* buffer,
3202 TRUNKS_EXPORT TPM2B_CONTEXT_DATA
3204 TRUNKS_EXPORT std::string StringFrom_TPM2B_CONTEXT_DATA(
3207 TRUNKS_EXPORT TPM_RC Serialize_TPMS_CONTEXT(const TPMS_CONTEXT& value,
3210 TRUNKS_EXPORT TPM_RC Parse_TPMS_CONTEXT(std::string* buffer,
3214 TRUNKS_EXPORT TPM_RC
3218 TRUNKS_EXPORT TPM_RC Parse_TPMS_CREATION_DATA(std::string* buffer,
3222 TRUNKS_EXPORT TPM_RC
3226 TRUNKS_EXPORT TPM_RC Parse_TPM2B_CREATION_DATA(std::string* buffer,
3230 TRUNKS_EXPORT TPM2B_CREATION_DATA
3233 TRUNKS_EXPORT TPM_RC Serialize_TPMU_HA(const TPMU_HA& value,
3236 TRUNKS_EXPORT TPM_RC Parse_TPMU_HA(std::string* buffer,
3240 TRUNKS_EXPORT TPM_RC Serialize_TPMU_NAME(const TPMU_NAME& value,
3243 TRUNKS_EXPORT TPM_RC Parse_TPMU_NAME(std::string* buffer,
3247 TRUNKS_EXPORT TPM_RC Serialize_TPMU_CAPABILITIES(const TPMU_CAPABILITIES& value,
3250 TRUNKS_EXPORT TPM_RC Parse_TPMU_CAPABILITIES(std::string* buffer,
3254 TRUNKS_EXPORT TPM_RC Serialize_TPMU_ATTEST(const TPMU_ATTEST& value,
3257 TRUNKS_EXPORT TPM_RC Parse_TPMU_ATTEST(std::string* buffer,
3261 TRUNKS_EXPORT TPM_RC Serialize_TPMU_SYM_KEY_BITS(const TPMU_SYM_KEY_BITS& value,
3264 TRUNKS_EXPORT TPM_RC Parse_TPMU_SYM_KEY_BITS(std::string* buffer,
3268 TRUNKS_EXPORT TPM_RC Serialize_TPMU_SYM_MODE(const TPMU_SYM_MODE& value,
3271 TRUNKS_EXPORT TPM_RC Parse_TPMU_SYM_MODE(std::string* buffer,
3275 TRUNKS_EXPORT TPM_RC
3279 TRUNKS_EXPORT TPM_RC Parse_TPMU_SCHEME_KEYEDHASH(std::string* buffer,
3283 TRUNKS_EXPORT TPM_RC Serialize_TPMU_SIG_SCHEME(const TPMU_SIG_SCHEME& value,
3286 TRUNKS_EXPORT TPM_RC Parse_TPMU_SIG_SCHEME(std::string* buffer,
3290 TRUNKS_EXPORT TPM_RC Serialize_TPMU_KDF_SCHEME(const TPMU_KDF_SCHEME& value,
3293 TRUNKS_EXPORT TPM_RC Parse_TPMU_KDF_SCHEME(std::string* buffer,
3297 TRUNKS_EXPORT TPM_RC Serialize_TPMU_ASYM_SCHEME(const TPMU_ASYM_SCHEME& value,
3300 TRUNKS_EXPORT TPM_RC Parse_TPMU_ASYM_SCHEME(std::string* buffer,
3304 TRUNKS_EXPORT TPM_RC Serialize_TPMU_SIGNATURE(const TPMU_SIGNATURE& value,
3307 TRUNKS_EXPORT TPM_RC Parse_TPMU_SIGNATURE(std::string* buffer,
3311 TRUNKS_EXPORT TPM_RC
3315 TRUNKS_EXPORT TPM_RC Parse_TPMU_ENCRYPTED_SECRET(std::string* buffer,
3319 TRUNKS_EXPORT TPM_RC Serialize_TPMU_PUBLIC_ID(const TPMU_PUBLIC_ID& value,
3322 TRUNKS_EXPORT TPM_RC Parse_TPMU_PUBLIC_ID(std::string* buffer,
3326 TRUNKS_EXPORT TPM_RC Serialize_TPMU_PUBLIC_PARMS(const TPMU_PUBLIC_PARMS& value,
3329 TRUNKS_EXPORT TPM_RC Parse_TPMU_PUBLIC_PARMS(std::string* buffer,
3333 TRUNKS_EXPORT TPM_RC
3337 TRUNKS_EXPORT TPM_RC
3342 TRUNKS_EXPORT TPM_RC Serialize_TPMU_SYM_DETAILS(const TPMU_SYM_DETAILS& value,
3345 TRUNKS_EXPORT TPM_RC Parse_TPMU_SYM_DETAILS(std::string* buffer,
3349 class TRUNKS_EXPORT Tpm {