/external/tpm2-tss/test/unit/ |
D | TPMA-marshal.c | 26 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/ |
D | SessionProcess.c | 820 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/ |
D | esys_types.h | 59 …TPMA_SESSION sessionAttributes; /**< Flags which define the session behavi… 60 …TPMA_SESSION origSessionAttributes; /**< Copy of flags which define the sessio…
|
D | esys_tr.c | 469 TPMA_SESSION * flags) in Esys_TRSess_GetAttributes() 499 TPMA_SESSION flags, TPMA_SESSION mask) in Esys_TRSess_SetAttributes()
|
D | esys_crypto.h | 60 TPMA_SESSION sessionAttributes,
|
/external/tpm2-tss/src/tss2-fapi/ |
D | fapi_util.h | 34 TPMA_SESSION flags); 78 TPMA_SESSION attribute_flags1, 79 TPMA_SESSION attribute_flags2);
|
D | fapi_int.h | 1003 TPMA_SESSION session1_attribute_flags; 1004 TPMA_SESSION session2_attribute_flags;
|
/external/tpm2-tss/src/tss2-mu/ |
D | tpma-types.c | 163 TPMA_MARSHAL (TPMA_SESSION); 164 TPMA_UNMARSHAL(TPMA_SESSION);
|
/external/tpm2-tss/test/integration/ |
D | esys-auto-session-flags.int.c | 70 TPMA_SESSION sessionAttributes = TPMA_SESSION_DECRYPT | in test_esys_auto_flags() 132 TPMA_SESSION sessionAttributesVerify; in test_esys_auto_flags()
|
D | esys-clear.int.c | 45 TPMA_SESSION sessionAttributes; in test_esys_clear()
|
D | esys-hashsequencestart.int.c | 51 TPMA_SESSION sessionAttributes; in test_esys_hashsequencestart()
|
D | esys-create-session-auth.int.c | 232 TPMA_SESSION sessionAttributes; in test_esys_create_session_auth() 233 TPMA_SESSION sessionAttributes2; in test_esys_create_session_auth()
|
D | esys-ecdh-keygen.int.c | 44 TPMA_SESSION sessionAttributes; in test_esys_ecdh_keygen()
|
D | esys-ecdh-zgen.int.c | 46 TPMA_SESSION sessionAttributes; in test_esys_ecdh_zgen()
|
D | esys-commit.int.c | 60 TPMA_SESSION sessionAttributes; in test_esys_commit()
|
D | esys-policy-nv-undefine-special.int.c | 165 TPMA_SESSION sessionAttributes = TPMA_SESSION_AUDIT | in test_esys_policy_nv_undefine_special()
|
D | esys-zgen-2phase.int.c | 52 TPMA_SESSION sessionAttributes; in test_esys_zgen_2phase()
|
D | esys-nv-ram-set-bits.int.c | 55 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_set_bits()
|
D | esys-nv-ram-counter.int.c | 56 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_counter()
|
D | esys-nv-ram-extend-index.int.c | 58 TPMA_SESSION sessionAttributes; in test_esys_nv_ram_extend_index()
|
D | esys-session-attributes.int.c | 26 TPMA_SESSION session1_attributes;
|
D | esys-hmacsequencestart.int.c | 59 TPMA_SESSION sessionAttributes; in test_esys_hmacsequencestart()
|
D | esys-audit.int.c | 147 TPMA_SESSION sessionAttributes = TPMA_SESSION_CONTINUESESSION | in test_esys_audit()
|
/external/tpm2-tss/include/tss2/ |
D | tss2_tpm2_types.h | 696 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/ |
D | TpmTypes.h | 866 #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 …]
|