/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | tpm2_marshal.h | 56 inline BYTE* pack_BYTE_ARRAY(BYTE* ptr, const BYTE* array, UINT32 size) in pack_BYTE_ARRAY() 65 inline BYTE* pack_TPMA_SESSION(BYTE* ptr, const TPMA_SESSION *attr) in pack_TPMA_SESSION() 71 inline BYTE* unpack_TPMA_SESSION(BYTE* ptr, TPMA_SESSION *attr) in unpack_TPMA_SESSION() 83 inline BYTE* unpack_TPMI_ALG_HASH(BYTE *ptr, TPMI_ALG_HASH *hash) in unpack_TPMI_ALG_HASH() 142 inline BYTE* unpack_TPM2B_DIGEST(BYTE* ptr, TPM2B_DIGEST *digest) in unpack_TPM2B_DIGEST() 168 inline BYTE* pack_TPM2B_NAME(BYTE* ptr,const TPM2B_NAME *name ) in pack_TPM2B_NAME() 176 inline BYTE* unpack_TPM2B_NAME(BYTE* ptr, TPM2B_NAME *name) in unpack_TPM2B_NAME() 192 inline BYTE* pack_TPM2B_AUTH(BYTE* ptr, const TPM2B_AUTH *auth) in pack_TPM2B_AUTH() 200 inline BYTE* pack_TPM2B_DATA(BYTE* ptr, const TPM2B_DATA *data) in pack_TPM2B_DATA() 280 inline BYTE* unpack_TPML_DIGEST(BYTE* ptr,TPML_DIGEST *digest) in unpack_TPML_DIGEST() [all …]
|
A D | marshal.h | 51 inline BYTE* pack_BYTE(BYTE* ptr, BYTE t) { in pack_BYTE() 57 inline BYTE* unpack_BYTE(BYTE* ptr, BYTE* t) { in unpack_BYTE() 249 inline BYTE* pack_BUFFER(BYTE* ptr, const BYTE* buf, UINT32 size) { in pack_BUFFER() 255 inline BYTE* unpack_BUFFER(BYTE* ptr, BYTE* buf, UINT32 size) { in unpack_BUFFER() 272 inline BYTE* unpack_ALIAS(BYTE* ptr, BYTE** buf, UINT32 size) { in unpack_ALIAS() 278 inline BYTE* unpack_ALLOC(BYTE* ptr, BYTE** buf, UINT32 size) { in unpack_ALLOC() 289 inline BYTE* unpack_PTR(BYTE* ptr, BYTE** buf, UINT32 size, UnpackPtr alloc) { in unpack_PTR() 445 inline BYTE* unpack_TPM_NONCE(BYTE* ptr, TPM_NONCE* n) { in unpack_TPM_NONCE() 712 inline BYTE* pack_TPM_KEY(BYTE* ptr, const TPM_KEY* k) { in pack_TPM_KEY() 894 inline BYTE* pack_TPM_RQU_HEADER(BYTE* ptr, in pack_TPM_RQU_HEADER() [all …]
|
A D | tpm.h | 94 const BYTE* inData, // in 105 BYTE** out, //out 125 BYTE* randomBytes // out 135 const BYTE* subCap, 137 BYTE** resp); 156 BYTE** identityBinding); // out 160 BYTE* blob, // in 175 BYTE** sig, // out 179 BYTE* in, 181 BYTE* out,
|
A D | tpm.c | 256 BYTE* ptr = hmacText; in generateAuth() 387 (BYTE*) ownerAuth, in TPM_TakeOwnership() 396 (BYTE*) srkAuth, in TPM_TakeOwnership() 537 BYTE** out, //out in TPM_Unseal() 632 BYTE* kptr = NULL; in TPM_ReadPubek() 700 BYTE** resp) in TPM_GetCapability() 723 BYTE* kptr = NULL; in TPM_CreateEndorsementKeyPair() 803 BYTE* blob, // in in TPM_ActivateIdentity() 836 BYTE** sig, // out in TPM_Quote() 859 BYTE* in, in TPM_TransmitData() [all …]
|
A D | tcg.h | 446 BYTE major; 447 BYTE minor; 448 BYTE revMajor; 449 BYTE revMinor; 458 BYTE errataRev; 488 BYTE* IV; 495 BYTE* data; 510 BYTE* exponent; 552 BYTE* key; 685 BYTE* encData; [all …]
|
A D | tpm2_types.h | 250 typedef BYTE TPMA_SESSION; 251 typedef BYTE TPMA_LOCALITY; 254 typedef BYTE TPMI_YES_NO; 372 BYTE sha1[SHA1_DIGEST_SIZE]; 375 BYTE sha256[SHA256_DIGEST_SIZE]; 381 BYTE sha384[SHA384_DIGEST_SIZE]; 384 BYTE sha512[SHA512_DIGEST_SIZE]; 395 BYTE buffer[sizeof(TPMU_HA)]; 418 BYTE name[sizeof(TPMT_HA)]; 519 BYTE buffer[MAX_SYM_DATA]; [all …]
|
A D | tpm2.c | 65 BYTE in_buf[TCPA_MAX_BUFFER_LENGTH];\ 66 BYTE out_buf[TCPA_MAX_BUFFER_LENGTH];\ 68 BYTE* ptr = in_buf;\ 78 BYTE* authbase = ptr - sizeof(TPM_COMMAND_CODE);\ 428 TPM_RC TPM2_GetRandom(UINT32 * bytesRequested, BYTE * randomBytes) in TPM2_GetRandom()
|
A D | common_types.h | 3 typedef unsigned char BYTE; typedef
|
A D | init.c | 88 BYTE* res = NULL; in check_tpm_version() 128 BYTE* keylist = NULL; in flush_tpm() 130 BYTE* ptr; in flush_tpm() 139 (BYTE*)(&beres), in flush_tpm() 248 static int parse_auth_string(char* authstr, BYTE* target) { in parse_auth_string()
|
A D | tpm2.h | 99 BYTE* randomBytes);
|
A D | mgmt_authority.c | 57 BYTE* identityBinding = NULL; in do_provision_aik() 330 BYTE* sig; in vtpm_do_quote()
|
A D | vtpm_cmd_handler.c | 321 BYTE *pubkey; in vtpmmgr_GroupNew()
|
/xen-4.10.0-shim-comet/xen/common/lz4/ |
A D | decompress.c | 47 const BYTE *ip = (const BYTE *) source; in lz4_uncompress() 48 const BYTE *ref; in lz4_uncompress() 49 BYTE *op = (BYTE *) dest; in lz4_uncompress() 50 BYTE * const oend = op + osize; in lz4_uncompress() 51 BYTE *cpy; in lz4_uncompress() 169 const BYTE *ip = (const BYTE *) source; in lz4_uncompress_unknownoutputsize() 170 const BYTE *const iend = ip + isize; in lz4_uncompress_unknownoutputsize() 171 const BYTE *ref; in lz4_uncompress_unknownoutputsize() 174 BYTE *op = (BYTE *) dest; in lz4_uncompress_unknownoutputsize() 176 BYTE *cpy; in lz4_uncompress_unknownoutputsize() [all …]
|
A D | defs.h | 38 #define BYTE u8 macro
|
/xen-4.10.0-shim-comet/stubdom/ |
A D | vtpm-deepquote-anyloc.patch | 10 - BYTE *sig; 12 + BYTE *quote_blob; 13 BYTE *ptr; 63 BYTE **sig 75 + UINT32 extraInfoFlags, UINT32 *sigSize, BYTE **sig); 78 TPM_AUTH *auth1, UINT32 *sigSize, BYTE **sig) 97 @@ -218,7 +219,7 @@ static const BYTE dquot_hdr[] = { 101 - UINT32 *sigSize, BYTE **sig) 102 + UINT32 extraInfoFlags, UINT32 *quote_blob_size, BYTE **quote_blob) 126 int tpm_marshal_UINT32_ARRAY(BYTE **ptr, UINT32 *length, UINT32 *v, UINT32 n); [all …]
|
A D | vtpm-deepquote.patch | 14 + BYTE *sig; 15 + BYTE *ptr; 62 BYTE **sig 81 + BYTE **sig 96 +static const BYTE dquot_hdr[] = { 102 + UINT32 *sigSize, BYTE **sig) 108 + BYTE *buf, *ptr; 167 + * BYTE[] sig Signature provided by physical TPM 178 + * BYTE[4] fixed MUST be the string "DQUT"
|
A D | vtpm-parent-sign-ek.patch | 14 + BYTE *sig; 15 + BYTE *ptr; 77 + BYTE **sig 94 +TPM_RESULT VTPM_GetParentQuote(TPM_DIGEST* data, TPM_PCR_SELECTION *sel, UINT32 *sigSize, BYTE **s… 97 + TPM_AUTH *auth1, UINT32 *sigSize, BYTE **sig) 171 + * BYTE[] sig Signature provided by physical TPM
|
A D | vtpm-implicit-fallthrough.patch | 5 tpm_hmac_update(&hmac, (BYTE*)&rsp->auth2->continueAuthSession, 1);
|
A D | vtpm-locality.patch | 5 @@ -949,6 +949,8 @@ static TPM_RESULT set_vendor(UINT32 subCap, BYTE *setValue,
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | atomic.h | 38 #define BYTE "" macro 41 #define BYTE "w" macro 45 build_atomic_read(read_u8_atomic, "b", BYTE, uint8_t, "=r") 50 build_atomic_write(write_u8_atomic, "b", BYTE, uint8_t, "r") 60 build_add_sized(add_u8_sized, "b", BYTE, uint8_t, "ri")
|
/xen-4.10.0-shim-comet/stubdom/vtpm/ |
A D | vtpm_cmd.h | 23 TPM_RESULT VTPM_GetRandom(struct tpmfront_dev* tpmfront_dev, BYTE* bytes, UINT32* numbytes); 29 TPM_RESULT VTPM_PCRRead(struct tpmfront_dev* tpmfront_dev, UINT32 pcrIndex, BYTE* outDigest);
|
A D | vtpm_cmd.c | 95 TPM_RESULT VTPM_GetRandom(struct tpmfront_dev* tpmfront_dev, BYTE* bytes, UINT32 *numbytes) { in VTPM_GetRandom() 222 UINT32 extraInfoFlags, UINT32 *quote_blob_size, BYTE **quote_blob) in VTPM_GetParentQuote() 266 TPM_RESULT VTPM_PCRRead(struct tpmfront_dev* tpmfront_dev, UINT32 pcrIndex, BYTE* outDigest) in VTPM_PCRRead()
|
A D | vtpm.c | 124 BYTE* ptr; in check_passthru() 158 BYTE* ptr; in check_ordinal()
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/ |
A D | rombios.c | 8686 and BYTE [bp + 0x06], #0xfe 8692 or BYTE [bp + 0x06], #0x01 11240 and BYTE [bp + 0x06], #0xbf 11248 or BYTE [bp + 0x06], #0x40 11324 mov al, BYTE [0x496] ;; mf2_state |= 0x02 11326 mov BYTE [0x496], al 11334 mov al, BYTE [0x496] ;; mf2_state |= 0x01 11336 mov BYTE [0x496], al 11665 inc BYTE 0x0470 ;; increment rollover flag
|