Home
last modified time | relevance | path

Searched refs:TPMA_SESSION (Results 1 – 25 of 37) sorted by relevance

12

/external/tpm2-tss/test/unit/
DTPMA-marshal.c26 TPMA_SESSION session = {0}, *ptr2; in tpma_marshal_success()
46 ptr2 = (TPMA_SESSION *)buffer2; in tpma_marshal_success()
60 TPMA_SESSION session = {0}, *ptr2; in tpma_marshal_success_offset()
82 ptr2 = (TPMA_SESSION *)&buffer2[14]; in tpma_marshal_success_offset()
97 TPMA_SESSION session = {0}; in tpma_marshal_buffer_null_with_offset()
125 TPMA_SESSION session = {0}; in tpma_marshal_buffer_null_offset_null()
149 TPMA_SESSION session = {0}; in tpma_marshal_buffer_size_lt_data_nad_lt_offset()
180 TPMA_SESSION session = {0}; in tpma_unmarshal_success()
234 TPMA_SESSION session = {0}; in tpma_unmarshal_buffer_null_offset_null()
253 TPMA_SESSION session = {0}; in tpma_unmarshal_dest_null_offset_valid()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c820 BYTE marshalBuffer[sizeof(TPMA_SESSION)]; in ComputeCommandHMAC()
1127 TPMA_SESSION sessionAttributes; in RetrieveSessionData()
1180 if(IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, encrypt) in RetrieveSessionData()
1181 || IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, decrypt) in RetrieveSessionData()
1182 || IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, audit) in RetrieveSessionData()
1183 || IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, auditExclusive) in RetrieveSessionData()
1184 || IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, auditReset)) in RetrieveSessionData()
1214 if(IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, decrypt)) in RetrieveSessionData()
1230 if(IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, encrypt)) in RetrieveSessionData()
1246 if(IS_ATTRIBUTE(sessionAttributes, TPMA_SESSION, audit)) in RetrieveSessionData()
[all …]
/external/tpm2-tss/src/tss2-esys/
Desys_types.h59TPMA_SESSION sessionAttributes; /**< Flags which define the session behavi…
60TPMA_SESSION origSessionAttributes; /**< Copy of flags which define the sessio…
Desys_tr.c469 TPMA_SESSION * flags) in Esys_TRSess_GetAttributes()
499 TPMA_SESSION flags, TPMA_SESSION mask) in Esys_TRSess_SetAttributes()
Desys_crypto.h60 TPMA_SESSION sessionAttributes,
/external/tpm2-tss/src/tss2-fapi/
Dfapi_util.h34 TPMA_SESSION flags);
78 TPMA_SESSION attribute_flags1,
79 TPMA_SESSION attribute_flags2);
Dfapi_int.h1003 TPMA_SESSION session1_attribute_flags;
1004 TPMA_SESSION session2_attribute_flags;
/external/tpm2-tss/src/tss2-mu/
Dtpma-types.c163 TPMA_MARSHAL (TPMA_SESSION);
164 TPMA_UNMARSHAL(TPMA_SESSION);
/external/tpm2-tss/test/integration/
Desys-auto-session-flags.int.c70 TPMA_SESSION sessionAttributes = TPMA_SESSION_DECRYPT | in test_esys_auto_flags()
132 TPMA_SESSION sessionAttributesVerify; in test_esys_auto_flags()
Desys-clear.int.c45 TPMA_SESSION sessionAttributes; in test_esys_clear()
Desys-hashsequencestart.int.c51 TPMA_SESSION sessionAttributes; in test_esys_hashsequencestart()
Desys-create-session-auth.int.c232 TPMA_SESSION sessionAttributes; in test_esys_create_session_auth()
233 TPMA_SESSION sessionAttributes2; in test_esys_create_session_auth()
Desys-ecdh-keygen.int.c44 TPMA_SESSION sessionAttributes; in test_esys_ecdh_keygen()
Desys-ecdh-zgen.int.c46 TPMA_SESSION sessionAttributes; in test_esys_ecdh_zgen()
Desys-commit.int.c60 TPMA_SESSION sessionAttributes; in test_esys_commit()
Desys-policy-nv-undefine-special.int.c165 TPMA_SESSION sessionAttributes = TPMA_SESSION_AUDIT | in test_esys_policy_nv_undefine_special()
Desys-zgen-2phase.int.c52 TPMA_SESSION sessionAttributes; in test_esys_zgen_2phase()
Desys-nv-ram-set-bits.int.c55 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_set_bits()
Desys-nv-ram-counter.int.c56 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_counter()
Desys-nv-ram-extend-index.int.c58 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_extend_index()
Desys-session-attributes.int.c26 TPMA_SESSION session1_attributes;
Desys-hmacsequencestart.int.c59 TPMA_SESSION sessionAttributes; in test_esys_hmacsequencestart()
Desys-audit.int.c147 TPMA_SESSION sessionAttributes = TPMA_SESSION_CONTINUESESSION | in test_esys_audit()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h696 typedef UINT8 TPMA_SESSION; typedef
698 #define TPMA_SESSION_CONTINUESESSION ((TPMA_SESSION) 0x00000001) /* SET 1 In a command this setting…
699 #define TPMA_SESSION_AUDITEXCLUSIVE ((TPMA_SESSION) 0x00000002) /* SET 1 In a command this setting…
700 #define TPMA_SESSION_AUDITRESET ((TPMA_SESSION) 0x00000004) /* SET 1 In a command this setting…
701 #define TPMA_SESSION_RESERVED1_MASK ((TPMA_SESSION) 0x00000018) /* shall be CLEAR */
702 #define TPMA_SESSION_DECRYPT ((TPMA_SESSION) 0x00000020) /* SET 1 In a command this setting…
703 #define TPMA_SESSION_ENCRYPT ((TPMA_SESSION) 0x00000040) /* SET 1 In a command this setting…
704 #define TPMA_SESSION_AUDIT ((TPMA_SESSION) 0x00000080) /* SET 1 In a command or response …
1196 TPMA_SESSION sessionAttributes; /* the session attributes */
1203 TPMA_SESSION sessionAttributes; /* the session attributes */
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h866 #define UINT8_TO_TPMA_SESSION(a) (*((TPMA_SESSION *)&(a)))
872 typedef struct TPMA_SESSION { // Table 2:32 struct
880 } TPMA_SESSION; /* Bits */ argument
889 typedef UINT8 TPMA_SESSION; typedef
891 #define TPMA_SESSION_continueSession ((TPMA_SESSION)1 << 0)
892 #define TPMA_SESSION_auditExclusive ((TPMA_SESSION)1 << 1)
893 #define TPMA_SESSION_auditReset ((TPMA_SESSION)1 << 2)
894 #define TPMA_SESSION_decrypt ((TPMA_SESSION)1 << 5)
895 #define TPMA_SESSION_encrypt ((TPMA_SESSION)1 << 6)
896 #define TPMA_SESSION_audit ((TPMA_SESSION)1 << 7)
[all …]

12