tpm_json_deserialize.h
/* SPDX-License-Identifier: BSD-2-Clause */
/*******************************************************************************
* Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
* All rights reserved.
******************************************************************************/
#ifndef FAPI_TPM_JSON_DESERIALIZE_H
#define FAPI_TPM_JSON_DESERIALIZE_H
#include <stdbool.h>
#include <json-c/json.h>
#include <json-c/json_util.h>
#include "tss2_tpm2_types.h"
#include "fapi_int.h"
#define YES 1
#define NO 0
/* Deserialize according to the rules of parenttype and then filter against values
provided in the ... list. */
#define SUBTYPE_FILTER(type, parenttype, ...) \
TSS2_RC r; \
type tab[] = { __VA_ARGS__ }; \
type v; \
r = ifapi_json_ ## parenttype ## _deserialize(jso, &v); \
return_if_error(r, "Bad value"); \
for (size_t i = 0; i < sizeof(tab) / sizeof(tab[0]); i++) { \
if (v == tab[i]) { \
*out = v; \
return TSS2_RC_SUCCESS; \
} \
} \
LOG_ERROR("Bad sub-value"); \
return TSS2_FAPI_RC_BAD_VALUE;
json_object*
ifapi_parse_json(const char *jstring) ;
TSS2_RC
ifapi_hex_to_byte_ary(const char hex[], UINT32 vlen, BYTE val[]);
TSS2_RC
ifapi_json_BYTE_array_deserialize(size_t max, json_object *jso, BYTE *out);
TSS2_RC
ifapi_json_UINT8_ARY_deserialize(json_object *jso, UINT8_ARY *out);
bool
ifapi_get_sub_object(json_object *jso, char *name, json_object **sub_jso);
TSS2_RC
ifapi_json_BYTE_deserialize(json_object *jso, BYTE *out);
TSS2_RC
ifapi_json_UINT16_deserialize(json_object *jso, UINT16 *out);
TSS2_RC
ifapi_json_UINT32_deserialize(json_object *jso, UINT32 *out);
TSS2_RC
ifapi_json_UINT64_deserialize(json_object *jso, UINT64 *out);
TSS2_RC
ifapi_json_TPM2_GENERATED_deserialize(json_object *jso, TPM2_GENERATED *out);
TSS2_RC
ifapi_json_TPM2_ALG_ID_deserialize(json_object *jso, TPM2_ALG_ID *out);
TSS2_RC
ifapi_json_TPM2_ECC_CURVE_deserialize(json_object *jso, TPM2_ECC_CURVE *out);
TSS2_RC
ifapi_json_TPM2_CC_deserialize(json_object *jso, TPM2_CC *out);
TSS2_RC
ifapi_json_TPM2_EO_deserialize(json_object *jso, TPM2_EO *out);
TSS2_RC
ifapi_json_TPM2_ST_deserialize(json_object *jso, TPM2_ST *out);
TSS2_RC
ifapi_json_TPM2_PT_PCR_deserialize(json_object *jso, TPM2_PT_PCR *out);
TSS2_RC
ifapi_json_TPM2_HANDLE_deserialize(json_object *jso, TPM2_HANDLE *out);
TSS2_RC
ifapi_json_TPMA_OBJECT_deserialize(json_object *jso, TPMA_OBJECT *out);
TSS2_RC
ifapi_json_TPMA_LOCALITY_deserialize(json_object *jso, TPMA_LOCALITY *out);
TSS2_RC
ifapi_json_TPMA_ACT_deserialize(json_object *jso, TPMA_ACT *out);
TSS2_RC
ifapi_json_TPMI_YES_NO_deserialize(json_object *jso, TPMI_YES_NO *out);
TSS2_RC
ifapi_json_TPMI_RH_HIERARCHY_deserialize(json_object *jso,
TPMI_RH_HIERARCHY *out);
TSS2_RC
ifapi_json_TPMI_RH_NV_INDEX_deserialize(json_object *jso,
TPMI_RH_NV_INDEX *out);
TSS2_RC
ifapi_json_TPMI_ALG_HASH_deserialize(json_object *jso, TPMI_ALG_HASH *out);
TSS2_RC
ifapi_json_TPMI_ALG_SYM_deserialize(json_object *jso, TPMI_ALG_SYM *out);
TSS2_RC
ifapi_json_TPMI_ALG_SYM_OBJECT_deserialize(json_object *jso,
TPMI_ALG_SYM_OBJECT *out);
TSS2_RC
ifapi_json_TPMI_ALG_CIPHER_MODE_deserialize(json_object *jso,
TPMI_ALG_CIPHER_MODE *out);
TSS2_RC
ifapi_json_TPMI_ALG_SYM_MODE_deserialize(json_object *jso,
TPMI_ALG_SYM_MODE *out);
TSS2_RC
ifapi_json_TPMI_ALG_KDF_deserialize(json_object *jso, TPMI_ALG_KDF *out);
TSS2_RC
ifapi_json_TPMI_ALG_SIG_SCHEME_deserialize(json_object *jso,
TPMI_ALG_SIG_SCHEME *out);
TSS2_RC
ifapi_json_TPMS_EMPTY_deserialize(json_object *jso, TPMS_EMPTY *out);
TSS2_RC
ifapi_json_TPMU_HA_deserialize(UINT32 selector, json_object *jso, TPMU_HA *out);
TSS2_RC
ifapi_json_TPMT_HA_deserialize(json_object *jso, TPMT_HA *out);
TSS2_RC
ifapi_json_TPM2B_DIGEST_deserialize(json_object *jso, TPM2B_DIGEST *out);
TSS2_RC
ifapi_json_TPM2B_DATA_deserialize(json_object *jso, TPM2B_DATA *out);
TSS2_RC
ifapi_json_TPM2B_NONCE_deserialize(json_object *jso, TPM2B_NONCE *out);
TSS2_RC
ifapi_json_TPM2B_OPERAND_deserialize(json_object *jso, TPM2B_OPERAND *out);
TSS2_RC
ifapi_json_TPM2B_EVENT_deserialize(json_object *jso, TPM2B_EVENT *out);
TSS2_RC
ifapi_json_TPM2B_MAX_NV_BUFFER_deserialize(json_object *jso,
TPM2B_MAX_NV_BUFFER *out);
TSS2_RC
ifapi_json_TPM2B_NAME_deserialize(json_object *jso, TPM2B_NAME *out);
TSS2_RC
ifapi_json_TPMS_PCR_SELECT_deserialize(json_object *jso, TPMS_PCR_SELECT *out);
TSS2_RC
ifapi_json_TPMS_PCR_SELECTION_deserialize(json_object *jso,
TPMS_PCR_SELECTION *out);
TSS2_RC
ifapi_json_TPMS_TAGGED_POLICY_deserialize(json_object *jso,
TPMS_TAGGED_POLICY *out);
TSS2_RC
ifapi_json_TPMS_ACT_DATA_deserialize(json_object *jso,
TPMS_ACT_DATA *out);
TSS2_RC
ifapi_json_TPMT_TK_CREATION_deserialize(json_object *jso,
TPMT_TK_CREATION *out);
TSS2_RC
ifapi_json_TPML_DIGEST_VALUES_deserialize(json_object *jso,
TPML_DIGEST_VALUES *out);
TSS2_RC
ifapi_json_TPML_PCR_SELECTION_deserialize(json_object *jso,
TPML_PCR_SELECTION *out);
TSS2_RC
ifapi_json_TPMS_CLOCK_INFO_deserialize(json_object *jso, TPMS_CLOCK_INFO *out);
TSS2_RC
ifapi_json_TPMS_TIME_INFO_deserialize(json_object *jso, TPMS_TIME_INFO *out);
TSS2_RC
ifapi_json_TPMS_TIME_ATTEST_INFO_deserialize(json_object *jso,
TPMS_TIME_ATTEST_INFO *out);
TSS2_RC
ifapi_json_TPMS_CERTIFY_INFO_deserialize(json_object *jso,
TPMS_CERTIFY_INFO *out);
TSS2_RC
ifapi_json_TPMS_QUOTE_INFO_deserialize(json_object *jso, TPMS_QUOTE_INFO *out);
TSS2_RC
ifapi_json_TPMS_COMMAND_AUDIT_INFO_deserialize(json_object *jso,
TPMS_COMMAND_AUDIT_INFO *out);
TSS2_RC
ifapi_json_TPMS_SESSION_AUDIT_INFO_deserialize(json_object *jso,
TPMS_SESSION_AUDIT_INFO *out);
TSS2_RC
ifapi_json_TPMS_CREATION_INFO_deserialize(json_object *jso,
TPMS_CREATION_INFO *out);
TSS2_RC
ifapi_json_TPMS_NV_CERTIFY_INFO_deserialize(json_object *jso,
TPMS_NV_CERTIFY_INFO *out);
TSS2_RC
ifapi_json_TPMI_ST_ATTEST_deserialize(json_object *jso, TPMI_ST_ATTEST *out);
TSS2_RC
ifapi_json_TPMU_ATTEST_deserialize(UINT32 selector, json_object *jso,
TPMU_ATTEST *out);
TSS2_RC
ifapi_json_TPMS_ATTEST_deserialize(json_object *jso, TPMS_ATTEST *out);
TSS2_RC
ifapi_json_TPMI_AES_KEY_BITS_deserialize(json_object *jso,
TPMI_AES_KEY_BITS *out);
TSS2_RC
ifapi_json_TPMU_SYM_KEY_BITS_deserialize(UINT32 selector, json_object *jso,
TPMU_SYM_KEY_BITS *out);
TSS2_RC
ifapi_json_TPMU_SYM_MODE_deserialize(UINT32 selector, json_object *jso,
TPMU_SYM_MODE *out);
TSS2_RC
ifapi_json_TPMT_SYM_DEF_deserialize(json_object *jso, TPMT_SYM_DEF *out);
TSS2_RC
ifapi_json_TPMT_SYM_DEF_OBJECT_deserialize(json_object *jso,
TPMT_SYM_DEF_OBJECT *out);
TSS2_RC
ifapi_json_TPMS_SYMCIPHER_PARMS_deserialize(json_object *jso,
TPMS_SYMCIPHER_PARMS *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_HASH_deserialize(json_object *jso,
TPMS_SCHEME_HASH *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_ECDAA_deserialize(json_object *jso,
TPMS_SCHEME_ECDAA *out);
TSS2_RC
ifapi_json_TPMI_ALG_KEYEDHASH_SCHEME_deserialize(json_object *jso,
TPMI_ALG_KEYEDHASH_SCHEME *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_HMAC_deserialize(json_object *jso,
TPMS_SCHEME_HMAC *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_XOR_deserialize(json_object *jso, TPMS_SCHEME_XOR *out);
TSS2_RC
ifapi_json_TPMU_SCHEME_KEYEDHASH_deserialize(UINT32 selector, json_object *jso,
TPMU_SCHEME_KEYEDHASH *out);
TSS2_RC
ifapi_json_TPMT_KEYEDHASH_SCHEME_deserialize(json_object *jso,
TPMT_KEYEDHASH_SCHEME *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_RSASSA_deserialize(json_object *jso,
TPMS_SIG_SCHEME_RSASSA *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_RSAPSS_deserialize(json_object *jso,
TPMS_SIG_SCHEME_RSAPSS *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_ECDSA_deserialize(json_object *jso,
TPMS_SIG_SCHEME_ECDSA *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_SM2_deserialize(json_object *jso,
TPMS_SIG_SCHEME_SM2 *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_ECSCHNORR_deserialize(json_object *jso,
TPMS_SIG_SCHEME_ECSCHNORR *out);
TSS2_RC
ifapi_json_TPMS_SIG_SCHEME_ECDAA_deserialize(json_object *jso,
TPMS_SIG_SCHEME_ECDAA *out);
TSS2_RC
ifapi_json_TPMU_SIG_SCHEME_deserialize(UINT32 selector, json_object *jso,
TPMU_SIG_SCHEME *out);
TSS2_RC
ifapi_json_TPMT_SIG_SCHEME_deserialize(json_object *jso, TPMT_SIG_SCHEME *out);
TSS2_RC
ifapi_json_TPMS_ENC_SCHEME_OAEP_deserialize(json_object *jso,
TPMS_ENC_SCHEME_OAEP *out);
TSS2_RC
ifapi_json_TPMS_ENC_SCHEME_RSAES_deserialize(json_object *jso,
TPMS_ENC_SCHEME_RSAES *out);
TSS2_RC
ifapi_json_TPMS_KEY_SCHEME_ECDH_deserialize(json_object *jso,
TPMS_KEY_SCHEME_ECDH *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_MGF1_deserialize(json_object *jso,
TPMS_SCHEME_MGF1 *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_KDF1_SP800_56A_deserialize(json_object *jso,
TPMS_SCHEME_KDF1_SP800_56A *out);
TSS2_RC
ifapi_json_TPMS_SCHEME_KDF1_SP800_108_deserialize(json_object *jso,
TPMS_SCHEME_KDF1_SP800_108 *out);
TSS2_RC
ifapi_json_TPMU_KDF_SCHEME_deserialize(UINT32 selector, json_object *jso,
TPMU_KDF_SCHEME *out);
TSS2_RC
ifapi_json_TPMT_KDF_SCHEME_deserialize(json_object *jso, TPMT_KDF_SCHEME *out);
TSS2_RC
ifapi_json_TPMU_ASYM_SCHEME_deserialize(UINT32 selector, json_object *jso,
TPMU_ASYM_SCHEME *out);
TSS2_RC
ifapi_json_TPMI_ALG_RSA_SCHEME_deserialize(json_object *jso,
TPMI_ALG_RSA_SCHEME *out);
TSS2_RC
ifapi_json_TPMT_RSA_SCHEME_deserialize(json_object *jso, TPMT_RSA_SCHEME *out);
TSS2_RC
ifapi_json_TPMI_ALG_RSA_DECRYPT_deserialize(json_object *jso,
TPMI_ALG_RSA_DECRYPT *out);
TSS2_RC
ifapi_json_TPMT_RSA_DECRYPT_deserialize(json_object *jso,
TPMT_RSA_DECRYPT *out);
TSS2_RC
ifapi_json_TPM2B_PUBLIC_KEY_RSA_deserialize(json_object *jso,
TPM2B_PUBLIC_KEY_RSA *out);
TSS2_RC
ifapi_json_TPMI_RSA_KEY_BITS_deserialize(json_object *jso,
TPMI_RSA_KEY_BITS *out);
TSS2_RC
ifapi_json_TPM2B_ECC_PARAMETER_deserialize(json_object *jso,
TPM2B_ECC_PARAMETER *out);
TSS2_RC
ifapi_json_TPMS_ECC_POINT_deserialize(json_object *jso, TPMS_ECC_POINT *out);
TSS2_RC
ifapi_json_TPMI_ALG_ECC_SCHEME_deserialize(json_object *jso,
TPMI_ALG_ECC_SCHEME *out);
TSS2_RC
ifapi_json_TPMI_ECC_CURVE_deserialize(json_object *jso, TPMI_ECC_CURVE *out);
TSS2_RC
ifapi_json_TPMT_ECC_SCHEME_deserialize(json_object *jso, TPMT_ECC_SCHEME *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_RSA_deserialize(json_object *jso,
TPMS_SIGNATURE_RSA *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_RSASSA_deserialize(json_object *jso,
TPMS_SIGNATURE_RSASSA *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_RSAPSS_deserialize(json_object *jso,
TPMS_SIGNATURE_RSAPSS *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_ECC_deserialize(json_object *jso,
TPMS_SIGNATURE_ECC *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_ECDSA_deserialize(json_object *jso,
TPMS_SIGNATURE_ECDSA *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_ECDAA_deserialize(json_object *jso,
TPMS_SIGNATURE_ECDAA *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_SM2_deserialize(json_object *jso,
TPMS_SIGNATURE_SM2 *out);
TSS2_RC
ifapi_json_TPMS_SIGNATURE_ECSCHNORR_deserialize(json_object *jso,
TPMS_SIGNATURE_ECSCHNORR *out);
TSS2_RC
ifapi_json_TPMU_SIGNATURE_deserialize(UINT32 selector, json_object *jso,
TPMU_SIGNATURE *out);
TSS2_RC
ifapi_json_TPMT_SIGNATURE_deserialize(json_object *jso, TPMT_SIGNATURE *out);
TSS2_RC
ifapi_json_TPM2B_ENCRYPTED_SECRET_deserialize(json_object *jso,
TPM2B_ENCRYPTED_SECRET *out);
TSS2_RC
ifapi_json_TPMI_ALG_PUBLIC_deserialize(json_object *jso, TPMI_ALG_PUBLIC *out);
TSS2_RC
ifapi_json_TPMU_PUBLIC_ID_deserialize(UINT32 selector, json_object *jso,
TPMU_PUBLIC_ID *out);
TSS2_RC
ifapi_json_TPMS_KEYEDHASH_PARMS_deserialize(json_object *jso,
TPMS_KEYEDHASH_PARMS *out);
TSS2_RC
ifapi_json_TPMS_RSA_PARMS_deserialize(json_object *jso, TPMS_RSA_PARMS *out);
TSS2_RC
ifapi_json_TPMS_ECC_PARMS_deserialize(json_object *jso, TPMS_ECC_PARMS *out);
TSS2_RC
ifapi_json_TPMU_PUBLIC_PARMS_deserialize(UINT32 selector, json_object *jso,
TPMU_PUBLIC_PARMS *out);
TSS2_RC
ifapi_json_TPMT_PUBLIC_deserialize(json_object *jso, TPMT_PUBLIC *out);
TSS2_RC
ifapi_json_TPM2B_PUBLIC_deserialize(json_object *jso, TPM2B_PUBLIC *out);
TSS2_RC
ifapi_json_TPM2B_PRIVATE_deserialize(json_object *jso, TPM2B_PRIVATE *out);
TSS2_RC
ifapi_json_TPM2_NT_deserialize(json_object *jso, TPM2_NT *out);
TSS2_RC
ifapi_json_TPMA_NV_deserialize(json_object *jso, TPMA_NV *out);
TSS2_RC
ifapi_json_TPMS_NV_PUBLIC_deserialize(json_object *jso, TPMS_NV_PUBLIC *out);
TSS2_RC
ifapi_json_TPM2B_NV_PUBLIC_deserialize(json_object *jso, TPM2B_NV_PUBLIC *out);
TSS2_RC
ifapi_json_TPMS_CREATION_DATA_deserialize(json_object *jso,
TPMS_CREATION_DATA *out);
TSS2_RC
ifapi_json_TPM2B_CREATION_DATA_deserialize(json_object *jso,
TPM2B_CREATION_DATA *out);
#endif /* FAPI_TPM_JSON_DESERIALIZE_H */
ifapi_json_UINT32_deserialize
TSS2_RC ifapi_json_UINT32_deserialize(json_object *jso, UINT32 *out)
Definition tpm_json_deserialize.c:623
ifapi_json_TPMI_RH_HIERARCHY_deserialize
TSS2_RC ifapi_json_TPMI_RH_HIERARCHY_deserialize(json_object *jso, TPMI_RH_HIERARCHY *out)
Definition tpm_json_deserialize.c:1439
ifapi_json_TPM2_PT_PCR_deserialize
TSS2_RC ifapi_json_TPM2_PT_PCR_deserialize(json_object *jso, TPM2_PT_PCR *out)
Definition tpm_json_deserialize.c:1063
ifapi_json_TPMS_ECC_POINT_deserialize
TSS2_RC ifapi_json_TPMS_ECC_POINT_deserialize(json_object *jso, TPMS_ECC_POINT *out)
Definition tpm_json_deserialize.c:3637
ifapi_json_TPMU_ASYM_SCHEME_deserialize
TSS2_RC ifapi_json_TPMU_ASYM_SCHEME_deserialize(UINT32 selector, json_object *jso, TPMU_ASYM_SCHEME *out)
Definition tpm_json_deserialize.c:3403
ifapi_json_TPM2_NT_deserialize
TSS2_RC ifapi_json_TPM2_NT_deserialize(json_object *jso, TPM2_NT *out)
Definition tpm_json_deserialize.c:4419
ifapi_json_TPMA_OBJECT_deserialize
TSS2_RC ifapi_json_TPMA_OBJECT_deserialize(json_object *jso, TPMA_OBJECT *out)
Definition tpm_json_deserialize.c:1137
ifapi_json_TPMS_SIGNATURE_ECDAA_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_ECDAA_deserialize(json_object *jso, TPMS_SIGNATURE_ECDAA *out)
Definition tpm_json_deserialize.c:3891
ifapi_json_TPMS_SIG_SCHEME_ECDSA_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECDSA_deserialize(json_object *jso, TPMS_SIG_SCHEME_ECDSA *out)
Definition tpm_json_deserialize.c:3073
ifapi_json_TPMS_CERTIFY_INFO_deserialize
TSS2_RC ifapi_json_TPMS_CERTIFY_INFO_deserialize(json_object *jso, TPMS_CERTIFY_INFO *out)
Definition tpm_json_deserialize.c:2143
ifapi_json_TPMS_KEYEDHASH_PARMS_deserialize
TSS2_RC ifapi_json_TPMS_KEYEDHASH_PARMS_deserialize(json_object *jso, TPMS_KEYEDHASH_PARMS *out)
Definition tpm_json_deserialize.c:4103
ifapi_json_TPMU_SIGNATURE_deserialize
TSS2_RC ifapi_json_TPMU_SIGNATURE_deserialize(UINT32 selector, json_object *jso, TPMU_SIGNATURE *out)
Definition tpm_json_deserialize.c:3941
ifapi_json_TPM2B_NONCE_deserialize
TSS2_RC ifapi_json_TPM2B_NONCE_deserialize(json_object *jso, TPM2B_NONCE *out)
Definition tpm_json_deserialize.c:1747
ifapi_json_TPMS_SIGNATURE_ECSCHNORR_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_ECSCHNORR_deserialize(json_object *jso, TPMS_SIGNATURE_ECSCHNORR *out)
Definition tpm_json_deserialize.c:3923
ifapi_json_TPMT_SYM_DEF_OBJECT_deserialize
TSS2_RC ifapi_json_TPMT_SYM_DEF_OBJECT_deserialize(json_object *jso, TPMT_SYM_DEF_OBJECT *out)
Definition tpm_json_deserialize.c:2726
ifapi_json_TPM2B_NV_PUBLIC_deserialize
TSS2_RC ifapi_json_TPM2B_NV_PUBLIC_deserialize(json_object *jso, TPM2B_NV_PUBLIC *out)
Definition tpm_json_deserialize.c:4657
ifapi_json_TPMS_SIGNATURE_ECDSA_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_ECDSA_deserialize(json_object *jso, TPMS_SIGNATURE_ECDSA *out)
Definition tpm_json_deserialize.c:3875
ifapi_json_TPMS_SCHEME_ECDAA_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_ECDAA_deserialize(json_object *jso, TPMS_SCHEME_ECDAA *out)
Definition tpm_json_deserialize.c:2850
ifapi_json_TPM2_ALG_ID_deserialize
TSS2_RC ifapi_json_TPM2_ALG_ID_deserialize(json_object *jso, TPM2_ALG_ID *out)
Definition tpm_json_deserialize.c:729
ifapi_json_TPMT_TK_CREATION_deserialize
TSS2_RC ifapi_json_TPMT_TK_CREATION_deserialize(json_object *jso, TPMT_TK_CREATION *out)
Definition tpm_json_deserialize.c:1864
ifapi_json_TPMS_ATTEST_deserialize
TSS2_RC ifapi_json_TPMS_ATTEST_deserialize(json_object *jso, TPMS_ATTEST *out)
Definition tpm_json_deserialize.c:2493
ifapi_json_TPMI_ALG_SYM_deserialize
TSS2_RC ifapi_json_TPMI_ALG_SYM_deserialize(json_object *jso, TPMI_ALG_SYM *out)
Definition tpm_json_deserialize.c:1498
ifapi_json_TPMS_ENC_SCHEME_OAEP_deserialize
TSS2_RC ifapi_json_TPMS_ENC_SCHEME_OAEP_deserialize(json_object *jso, TPMS_ENC_SCHEME_OAEP *out)
Definition tpm_json_deserialize.c:3224
ifapi_json_TPMS_SIG_SCHEME_RSASSA_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_RSASSA_deserialize(json_object *jso, TPMS_SIG_SCHEME_RSASSA *out)
Definition tpm_json_deserialize.c:3039
ifapi_json_TPMT_SIG_SCHEME_deserialize
TSS2_RC ifapi_json_TPMT_SIG_SCHEME_deserialize(json_object *jso, TPMT_SIG_SCHEME *out)
Definition tpm_json_deserialize.c:3185
ifapi_json_UINT8_ARY_deserialize
TSS2_RC ifapi_json_UINT8_ARY_deserialize(json_object *jso, UINT8_ARY *out)
Definition tpm_json_deserialize.c:340
ifapi_json_TPMI_ALG_CIPHER_MODE_deserialize
TSS2_RC ifapi_json_TPMI_ALG_CIPHER_MODE_deserialize(json_object *jso, TPMI_ALG_CIPHER_MODE *out)
Definition tpm_json_deserialize.c:1542
ifapi_json_TPMU_SIG_SCHEME_deserialize
TSS2_RC ifapi_json_TPMU_SIG_SCHEME_deserialize(UINT32 selector, json_object *jso, TPMU_SIG_SCHEME *out)
Definition tpm_json_deserialize.c:3139
ifapi_json_TPM2B_ENCRYPTED_SECRET_deserialize
TSS2_RC ifapi_json_TPM2B_ENCRYPTED_SECRET_deserialize(json_object *jso, TPM2B_ENCRYPTED_SECRET *out)
Definition tpm_json_deserialize.c:4025
ifapi_json_TPMI_ST_ATTEST_deserialize
TSS2_RC ifapi_json_TPMI_ST_ATTEST_deserialize(json_object *jso, TPMI_ST_ATTEST *out)
Definition tpm_json_deserialize.c:2423
ifapi_json_TPMS_RSA_PARMS_deserialize
TSS2_RC ifapi_json_TPMS_RSA_PARMS_deserialize(json_object *jso, TPMS_RSA_PARMS *out)
Definition tpm_json_deserialize.c:4141
ifapi_json_TPMI_ALG_RSA_DECRYPT_deserialize
TSS2_RC ifapi_json_TPMI_ALG_RSA_DECRYPT_deserialize(json_object *jso, TPMI_ALG_RSA_DECRYPT *out)
Definition tpm_json_deserialize.c:3504
ifapi_json_TPMS_ECC_PARMS_deserialize
TSS2_RC ifapi_json_TPMS_ECC_PARMS_deserialize(json_object *jso, TPMS_ECC_PARMS *out)
Definition tpm_json_deserialize.c:4199
ifapi_json_TPMI_RH_NV_INDEX_deserialize
TSS2_RC ifapi_json_TPMI_RH_NV_INDEX_deserialize(json_object *jso, TPMI_RH_NV_INDEX *out)
Definition tpm_json_deserialize.c:1471
ifapi_json_TPMT_SYM_DEF_deserialize
TSS2_RC ifapi_json_TPMT_SYM_DEF_deserialize(json_object *jso, TPMT_SYM_DEF *out)
Definition tpm_json_deserialize.c:2671
ifapi_json_TPMS_KEY_SCHEME_ECDH_deserialize
TSS2_RC ifapi_json_TPMS_KEY_SCHEME_ECDH_deserialize(json_object *jso, TPMS_KEY_SCHEME_ECDH *out)
Definition tpm_json_deserialize.c:3257
ifapi_json_TPM2B_DATA_deserialize
TSS2_RC ifapi_json_TPM2B_DATA_deserialize(json_object *jso, TPM2B_DATA *out)
Definition tpm_json_deserialize.c:1719
ifapi_json_TPM2B_DIGEST_deserialize
TSS2_RC ifapi_json_TPM2B_DIGEST_deserialize(json_object *jso, TPM2B_DIGEST *out)
Definition tpm_json_deserialize.c:1693
ifapi_json_TPMS_SIG_SCHEME_ECSCHNORR_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECSCHNORR_deserialize(json_object *jso, TPMS_SIG_SCHEME_ECSCHNORR *out)
Definition tpm_json_deserialize.c:3105
ifapi_json_TPMS_SIGNATURE_RSA_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_RSA_deserialize(json_object *jso, TPMS_SIGNATURE_RSA *out)
Definition tpm_json_deserialize.c:3751
ifapi_json_TPM2B_OPERAND_deserialize
TSS2_RC ifapi_json_TPM2B_OPERAND_deserialize(json_object *jso, TPM2B_OPERAND *out)
Definition tpm_json_deserialize.c:1764
ifapi_json_TPMS_SCHEME_KDF1_SP800_56A_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_KDF1_SP800_56A_deserialize(json_object *jso, TPMS_SCHEME_KDF1_SP800_56A *out)
Definition tpm_json_deserialize.c:3290
ifapi_json_TPMS_SESSION_AUDIT_INFO_deserialize
TSS2_RC ifapi_json_TPMS_SESSION_AUDIT_INFO_deserialize(json_object *jso, TPMS_SESSION_AUDIT_INFO *out)
Definition tpm_json_deserialize.c:2292
ifapi_json_BYTE_deserialize
TSS2_RC ifapi_json_BYTE_deserialize(json_object *jso, BYTE *out)
Definition tpm_json_deserialize.c:548
ifapi_json_TPM2B_CREATION_DATA_deserialize
TSS2_RC ifapi_json_TPM2B_CREATION_DATA_deserialize(json_object *jso, TPM2B_CREATION_DATA *out)
Definition tpm_json_deserialize.c:4782
ifapi_json_TPMI_YES_NO_deserialize
TSS2_RC ifapi_json_TPMI_YES_NO_deserialize(json_object *jso, TPMI_YES_NO *out)
Definition tpm_json_deserialize.c:1408
ifapi_json_TPMU_SCHEME_KEYEDHASH_deserialize
TSS2_RC ifapi_json_TPMU_SCHEME_KEYEDHASH_deserialize(UINT32 selector, json_object *jso, TPMU_SCHEME_KEYEDHASH *out)
Definition tpm_json_deserialize.c:2962
ifapi_json_TPMS_CREATION_DATA_deserialize
TSS2_RC ifapi_json_TPMS_CREATION_DATA_deserialize(json_object *jso, TPMS_CREATION_DATA *out)
Definition tpm_json_deserialize.c:4705
ifapi_json_TPMS_CLOCK_INFO_deserialize
TSS2_RC ifapi_json_TPMS_CLOCK_INFO_deserialize(json_object *jso, TPMS_CLOCK_INFO *out)
Definition tpm_json_deserialize.c:2002
ifapi_json_TPMS_SIG_SCHEME_ECDAA_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECDAA_deserialize(json_object *jso, TPMS_SIG_SCHEME_ECDAA *out)
Definition tpm_json_deserialize.c:3121
ifapi_json_TPMS_SCHEME_HASH_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_HASH_deserialize(json_object *jso, TPMS_SCHEME_HASH *out)
Definition tpm_json_deserialize.c:2814
ifapi_json_TPM2B_ECC_PARAMETER_deserialize
TSS2_RC ifapi_json_TPM2B_ECC_PARAMETER_deserialize(json_object *jso, TPM2B_ECC_PARAMETER *out)
Definition tpm_json_deserialize.c:3604
ifapi_json_TPMI_ALG_PUBLIC_deserialize
TSS2_RC ifapi_json_TPMI_ALG_PUBLIC_deserialize(json_object *jso, TPMI_ALG_PUBLIC *out)
Definition tpm_json_deserialize.c:4051
ifapi_json_TPMS_TIME_ATTEST_INFO_deserialize
TSS2_RC ifapi_json_TPMS_TIME_ATTEST_INFO_deserialize(json_object *jso, TPMS_TIME_ATTEST_INFO *out)
Definition tpm_json_deserialize.c:2100
ifapi_json_UINT64_deserialize
TSS2_RC ifapi_json_UINT64_deserialize(json_object *jso, UINT64 *out)
Definition tpm_json_deserialize.c:648
ifapi_hex_to_byte_ary
TSS2_RC ifapi_hex_to_byte_ary(const char hex[], UINT32 vlen, BYTE val[])
Definition tpm_json_deserialize.c:121
ifapi_json_TPMI_ALG_KEYEDHASH_SCHEME_deserialize
TSS2_RC ifapi_json_TPMI_ALG_KEYEDHASH_SCHEME_deserialize(json_object *jso, TPMI_ALG_KEYEDHASH_SCHEME *out)
Definition tpm_json_deserialize.c:2885
ifapi_json_TPMT_KEYEDHASH_SCHEME_deserialize
TSS2_RC ifapi_json_TPMT_KEYEDHASH_SCHEME_deserialize(json_object *jso, TPMT_KEYEDHASH_SCHEME *out)
Definition tpm_json_deserialize.c:2998
ifapi_json_TPMI_ALG_SYM_MODE_deserialize
TSS2_RC ifapi_json_TPMI_ALG_SYM_MODE_deserialize(json_object *jso, TPMI_ALG_SYM_MODE *out)
Definition tpm_json_deserialize.c:1527
ifapi_json_TPMI_AES_KEY_BITS_deserialize
TSS2_RC ifapi_json_TPMI_AES_KEY_BITS_deserialize(json_object *jso, TPMI_AES_KEY_BITS *out)
Definition tpm_json_deserialize.c:2560
ifapi_json_TPMT_SIGNATURE_deserialize
TSS2_RC ifapi_json_TPMT_SIGNATURE_deserialize(json_object *jso, TPMT_SIGNATURE *out)
Definition tpm_json_deserialize.c:3988
ifapi_json_TPMS_NV_PUBLIC_deserialize
TSS2_RC ifapi_json_TPMS_NV_PUBLIC_deserialize(json_object *jso, TPMS_NV_PUBLIC *out)
Definition tpm_json_deserialize.c:4594
ifapi_json_TPMI_ALG_RSA_SCHEME_deserialize
TSS2_RC ifapi_json_TPMI_ALG_RSA_SCHEME_deserialize(json_object *jso, TPMI_ALG_RSA_SCHEME *out)
Definition tpm_json_deserialize.c:3446
ifapi_json_TPMU_SYM_KEY_BITS_deserialize
TSS2_RC ifapi_json_TPMU_SYM_KEY_BITS_deserialize(UINT32 selector, json_object *jso, TPMU_SYM_KEY_BITS *out)
Definition tpm_json_deserialize.c:2599
ifapi_json_TPMS_PCR_SELECT_deserialize
TSS2_RC ifapi_json_TPMS_PCR_SELECT_deserialize(json_object *jso, TPMS_PCR_SELECT *out)
Definition tpm_json_deserialize.c:365
ifapi_json_TPMU_PUBLIC_PARMS_deserialize
TSS2_RC ifapi_json_TPMU_PUBLIC_PARMS_deserialize(UINT32 selector, json_object *jso, TPMU_PUBLIC_PARMS *out)
Definition tpm_json_deserialize.c:4250
ifapi_json_TPMS_SCHEME_MGF1_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_MGF1_deserialize(json_object *jso, TPMS_SCHEME_MGF1 *out)
Definition tpm_json_deserialize.c:3275
ifapi_json_TPMI_ALG_HASH_deserialize
TSS2_RC ifapi_json_TPMI_ALG_HASH_deserialize(json_object *jso, TPMI_ALG_HASH *out)
Definition tpm_json_deserialize.c:1484
ifapi_json_TPMS_EMPTY_deserialize
TSS2_RC ifapi_json_TPMS_EMPTY_deserialize(json_object *jso, TPMS_EMPTY *out)
Definition tpm_json_deserialize.c:104
ifapi_json_TPM2B_PUBLIC_KEY_RSA_deserialize
TSS2_RC ifapi_json_TPM2B_PUBLIC_KEY_RSA_deserialize(json_object *jso, TPM2B_PUBLIC_KEY_RSA *out)
Definition tpm_json_deserialize.c:3564
ifapi_json_TPMT_KDF_SCHEME_deserialize
TSS2_RC ifapi_json_TPMT_KDF_SCHEME_deserialize(json_object *jso, TPMT_KDF_SCHEME *out)
Definition tpm_json_deserialize.c:3364
ifapi_json_TPMS_SIGNATURE_SM2_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_SM2_deserialize(json_object *jso, TPMS_SIGNATURE_SM2 *out)
Definition tpm_json_deserialize.c:3907
ifapi_get_sub_object
bool ifapi_get_sub_object(json_object *jso, char *name, json_object **sub_jso)
Definition tpm_json_deserialize.c:230
ifapi_json_TPMS_COMMAND_AUDIT_INFO_deserialize
TSS2_RC ifapi_json_TPMS_COMMAND_AUDIT_INFO_deserialize(json_object *jso, TPMS_COMMAND_AUDIT_INFO *out)
Definition tpm_json_deserialize.c:2234
ifapi_json_TPMS_TIME_INFO_deserialize
TSS2_RC ifapi_json_TPMS_TIME_INFO_deserialize(json_object *jso, TPMS_TIME_INFO *out)
Definition tpm_json_deserialize.c:2058
ifapi_json_TPM2B_MAX_NV_BUFFER_deserialize
TSS2_RC ifapi_json_TPM2B_MAX_NV_BUFFER_deserialize(json_object *jso, TPM2B_MAX_NV_BUFFER *out)
Definition tpm_json_deserialize.c:1804
ifapi_json_TPMU_HA_deserialize
TSS2_RC ifapi_json_TPMU_HA_deserialize(UINT32 selector, json_object *jso, TPMU_HA *out)
Definition tpm_json_deserialize.c:1590
ifapi_json_TPMS_CREATION_INFO_deserialize
TSS2_RC ifapi_json_TPMS_CREATION_INFO_deserialize(json_object *jso, TPMS_CREATION_INFO *out)
Definition tpm_json_deserialize.c:2336
ifapi_json_TPMS_SIGNATURE_RSASSA_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_RSASSA_deserialize(json_object *jso, TPMS_SIGNATURE_RSASSA *out)
Definition tpm_json_deserialize.c:3789
ifapi_json_TPMU_PUBLIC_ID_deserialize
TSS2_RC ifapi_json_TPMU_PUBLIC_ID_deserialize(UINT32 selector, json_object *jso, TPMU_PUBLIC_ID *out)
Definition tpm_json_deserialize.c:4068
ifapi_json_TPM2_GENERATED_deserialize
TSS2_RC ifapi_json_TPM2_GENERATED_deserialize(json_object *jso, TPM2_GENERATED *out)
Definition tpm_json_deserialize.c:692
ifapi_json_BYTE_array_deserialize
TSS2_RC ifapi_json_BYTE_array_deserialize(size_t max, json_object *jso, BYTE *out)
Definition tpm_json_deserialize.c:519
ifapi_json_TPMU_ATTEST_deserialize
TSS2_RC ifapi_json_TPMU_ATTEST_deserialize(UINT32 selector, json_object *jso, TPMU_ATTEST *out)
Definition tpm_json_deserialize.c:2442
ifapi_json_TPMT_HA_deserialize
TSS2_RC ifapi_json_TPMT_HA_deserialize(json_object *jso, TPMT_HA *out)
Definition tpm_json_deserialize.c:1656
ifapi_json_TPM2B_NAME_deserialize
TSS2_RC ifapi_json_TPM2B_NAME_deserialize(json_object *jso, TPM2B_NAME *out)
Definition tpm_json_deserialize.c:1831
ifapi_json_TPMS_ENC_SCHEME_RSAES_deserialize
TSS2_RC ifapi_json_TPMS_ENC_SCHEME_RSAES_deserialize(json_object *jso, TPMS_ENC_SCHEME_RSAES *out)
Definition tpm_json_deserialize.c:3239
ifapi_json_TPMI_ALG_KDF_deserialize
TSS2_RC ifapi_json_TPMI_ALG_KDF_deserialize(json_object *jso, TPMI_ALG_KDF *out)
Definition tpm_json_deserialize.c:1557
ifapi_json_TPMS_SCHEME_XOR_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_XOR_deserialize(json_object *jso, TPMS_SCHEME_XOR *out)
Definition tpm_json_deserialize.c:2925
ifapi_json_TPMS_SYMCIPHER_PARMS_deserialize
TSS2_RC ifapi_json_TPMS_SYMCIPHER_PARMS_deserialize(json_object *jso, TPMS_SYMCIPHER_PARMS *out)
Definition tpm_json_deserialize.c:2779
ifapi_json_TPM2_HANDLE_deserialize
TSS2_RC ifapi_json_TPM2_HANDLE_deserialize(json_object *jso, TPM2_HANDLE *out)
Definition tpm_json_deserialize.c:1111
ifapi_json_TPMU_SYM_MODE_deserialize
TSS2_RC ifapi_json_TPMU_SYM_MODE_deserialize(UINT32 selector, json_object *jso, TPMU_SYM_MODE *out)
Definition tpm_json_deserialize.c:2633
ifapi_json_TPML_DIGEST_VALUES_deserialize
TSS2_RC ifapi_json_TPML_DIGEST_VALUES_deserialize(json_object *jso, TPML_DIGEST_VALUES *out)
Definition tpm_json_deserialize.c:1910
ifapi_json_TPMS_SCHEME_KDF1_SP800_108_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_KDF1_SP800_108_deserialize(json_object *jso, TPMS_SCHEME_KDF1_SP800_108 *out)
Definition tpm_json_deserialize.c:3306
ifapi_json_TPMI_ALG_SYM_OBJECT_deserialize
TSS2_RC ifapi_json_TPMI_ALG_SYM_OBJECT_deserialize(json_object *jso, TPMI_ALG_SYM_OBJECT *out)
Definition tpm_json_deserialize.c:1512
ifapi_json_TPM2B_EVENT_deserialize
TSS2_RC ifapi_json_TPM2B_EVENT_deserialize(json_object *jso, TPM2B_EVENT *out)
Definition tpm_json_deserialize.c:1779
ifapi_json_TPMI_RSA_KEY_BITS_deserialize
TSS2_RC ifapi_json_TPMI_RSA_KEY_BITS_deserialize(json_object *jso, TPMI_RSA_KEY_BITS *out)
Definition tpm_json_deserialize.c:3588
ifapi_json_TPMU_KDF_SCHEME_deserialize
TSS2_RC ifapi_json_TPMU_KDF_SCHEME_deserialize(UINT32 selector, json_object *jso, TPMU_KDF_SCHEME *out)
Definition tpm_json_deserialize.c:3324
ifapi_json_TPMS_PCR_SELECTION_deserialize
TSS2_RC ifapi_json_TPMS_PCR_SELECTION_deserialize(json_object *jso, TPMS_PCR_SELECTION *out)
Definition tpm_json_deserialize.c:389
ifapi_json_TPM2B_PUBLIC_deserialize
TSS2_RC ifapi_json_TPM2B_PUBLIC_deserialize(json_object *jso, TPM2B_PUBLIC *out)
Definition tpm_json_deserialize.c:4362
ifapi_json_UINT16_deserialize
TSS2_RC ifapi_json_UINT16_deserialize(json_object *jso, UINT16 *out)
Definition tpm_json_deserialize.c:598
ifapi_json_TPMS_SCHEME_HMAC_deserialize
TSS2_RC ifapi_json_TPMS_SCHEME_HMAC_deserialize(json_object *jso, TPMS_SCHEME_HMAC *out)
Definition tpm_json_deserialize.c:2903
ifapi_json_TPM2_ST_deserialize
TSS2_RC ifapi_json_TPM2_ST_deserialize(json_object *jso, TPM2_ST *out)
Definition tpm_json_deserialize.c:1017
ifapi_json_TPMS_SIGNATURE_ECC_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_ECC_deserialize(json_object *jso, TPMS_SIGNATURE_ECC *out)
Definition tpm_json_deserialize.c:3830
ifapi_json_TPMI_ALG_SIG_SCHEME_deserialize
TSS2_RC ifapi_json_TPMI_ALG_SIG_SCHEME_deserialize(json_object *jso, TPMI_ALG_SIG_SCHEME *out)
Definition tpm_json_deserialize.c:1571
ifapi_json_TPMS_NV_CERTIFY_INFO_deserialize
TSS2_RC ifapi_json_TPMS_NV_CERTIFY_INFO_deserialize(json_object *jso, TPMS_NV_CERTIFY_INFO *out)
Definition tpm_json_deserialize.c:2381
ifapi_json_TPMI_ECC_CURVE_deserialize
TSS2_RC ifapi_json_TPMI_ECC_CURVE_deserialize(json_object *jso, TPMI_ECC_CURVE *out)
Definition tpm_json_deserialize.c:3685
ifapi_json_TPMI_ALG_ECC_SCHEME_deserialize
TSS2_RC ifapi_json_TPMI_ALG_ECC_SCHEME_deserialize(json_object *jso, TPMI_ALG_ECC_SCHEME *out)
Definition tpm_json_deserialize.c:3671
ifapi_json_TPMS_SIGNATURE_RSAPSS_deserialize
TSS2_RC ifapi_json_TPMS_SIGNATURE_RSAPSS_deserialize(json_object *jso, TPMS_SIGNATURE_RSAPSS *out)
Definition tpm_json_deserialize.c:3805
ifapi_json_TPMT_RSA_SCHEME_deserialize
TSS2_RC ifapi_json_TPMT_RSA_SCHEME_deserialize(json_object *jso, TPMT_RSA_SCHEME *out)
Definition tpm_json_deserialize.c:3468
ifapi_json_TPM2_ECC_CURVE_deserialize
TSS2_RC ifapi_json_TPM2_ECC_CURVE_deserialize(json_object *jso, TPM2_ECC_CURVE *out)
Definition tpm_json_deserialize.c:794
ifapi_json_TPM2_CC_deserialize
TSS2_RC ifapi_json_TPM2_CC_deserialize(json_object *jso, TPM2_CC *out)
Definition tpm_json_deserialize.c:832
ifapi_json_TPMT_ECC_SCHEME_deserialize
TSS2_RC ifapi_json_TPMT_ECC_SCHEME_deserialize(json_object *jso, TPMT_ECC_SCHEME *out)
Definition tpm_json_deserialize.c:3708
ifapi_json_TPM2_EO_deserialize
TSS2_RC ifapi_json_TPM2_EO_deserialize(json_object *jso, TPM2_EO *out)
Definition tpm_json_deserialize.c:976
ifapi_json_TPMS_SIG_SCHEME_SM2_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_SM2_deserialize(json_object *jso, TPMS_SIG_SCHEME_SM2 *out)
Definition tpm_json_deserialize.c:3089
ifapi_json_TPMT_PUBLIC_deserialize
TSS2_RC ifapi_json_TPMT_PUBLIC_deserialize(json_object *jso, TPMT_PUBLIC *out)
Definition tpm_json_deserialize.c:4293
ifapi_json_TPM2B_PRIVATE_deserialize
TSS2_RC ifapi_json_TPM2B_PRIVATE_deserialize(json_object *jso, TPM2B_PRIVATE *out)
Definition tpm_json_deserialize.c:4393
ifapi_json_TPMA_NV_deserialize
TSS2_RC ifapi_json_TPMA_NV_deserialize(json_object *jso, TPMA_NV *out)
Definition tpm_json_deserialize.c:4455
ifapi_json_TPML_PCR_SELECTION_deserialize
TSS2_RC ifapi_json_TPML_PCR_SELECTION_deserialize(json_object *jso, TPML_PCR_SELECTION *out)
Definition tpm_json_deserialize.c:1951
ifapi_json_TPMT_RSA_DECRYPT_deserialize
TSS2_RC ifapi_json_TPMT_RSA_DECRYPT_deserialize(json_object *jso, TPMT_RSA_DECRYPT *out)
Definition tpm_json_deserialize.c:3526
ifapi_json_TPMS_QUOTE_INFO_deserialize
TSS2_RC ifapi_json_TPMS_QUOTE_INFO_deserialize(json_object *jso, TPMS_QUOTE_INFO *out)
Definition tpm_json_deserialize.c:2187
ifapi_json_TPMS_SIG_SCHEME_RSAPSS_deserialize
TSS2_RC ifapi_json_TPMS_SIG_SCHEME_RSAPSS_deserialize(json_object *jso, TPMS_SIG_SCHEME_RSAPSS *out)
Definition tpm_json_deserialize.c:3055
ifapi_json_TPMA_LOCALITY_deserialize
TSS2_RC ifapi_json_TPMA_LOCALITY_deserialize(json_object *jso, TPMA_LOCALITY *out)
Definition tpm_json_deserialize.c:1227
UINT8_ARY
Definition fapi_types.h:15