Lines Matching defs:ptr

51 inline BYTE* pack_BYTE(BYTE* ptr, BYTE t) {  in pack_BYTE()
57 inline BYTE* unpack_BYTE(BYTE* ptr, BYTE* t) { in unpack_BYTE()
63 inline int unpack3_BYTE(BYTE* ptr, UINT32* pos, UINT32 max, BYTE *t) in unpack3_BYTE()
79 inline BYTE* pack_UINT16(void* ptr, UINT16 t) { in pack_UINT16()
86 inline BYTE* unpack_UINT16(void* ptr, UINT16* t) { in unpack_UINT16()
93 inline int unpack3_UINT16(BYTE* ptr, UINT32* pos, UINT32 max, UINT16 *t) in unpack3_UINT16()
103 inline BYTE* pack_UINT32(void* ptr, UINT32 t) { in pack_UINT32()
110 inline BYTE* unpack_UINT32(void* ptr, UINT32* t) { in unpack_UINT32()
117 inline int unpack3_UINT32(BYTE* ptr, UINT32* pos, UINT32 max, UINT32 *t) in unpack3_UINT32()
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()
261 inline int unpack3_BUFFER(BYTE* ptr, UINT32* pos, UINT32 max, BYTE* buf, UINT32 size) { in unpack3_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()
298 inline int unpack3_PTR(BYTE* ptr, UINT32* pos, UINT32 max, BYTE** buf, UINT32 size, UnpackPtr alloc… in unpack3_PTR()
309 #define unpack3_VPTR(ptr, pos, max, buf, size, alloc) unpack3_PTR(ptr, pos, max, (void*)(buf), size… argument
312 inline BYTE* pack_TPM_AUTHDATA(BYTE* ptr, const TPM_AUTHDATA* d) { in pack_TPM_AUTHDATA()
317 inline BYTE* unpack_TPM_AUTHDATA(BYTE* ptr, TPM_AUTHDATA* d) { in unpack_TPM_AUTHDATA()
322 inline int unpack3_TPM_AUTHDATA(BYTE* ptr, UINT32* pos, UINT32 len, TPM_AUTHDATA* d) { in unpack3_TPM_AUTHDATA()
348 inline BYTE* pack_TPM_VERSION(BYTE* ptr, const TPM_VERSION* t) { in pack_TPM_VERSION()
357 inline BYTE* unpack_TPM_VERSION(BYTE* ptr, TPM_VERSION* t) { in unpack_TPM_VERSION()
366 inline int unpack3_TPM_VERSION(BYTE* ptr, UINT32 *pos, UINT32 max, TPM_VERSION* t) { in unpack3_TPM_VERSION()
381 inline BYTE* pack_TPM_CAP_VERSION_INFO(BYTE* ptr, const TPM_CAP_VERSION_INFO* v) { in pack_TPM_CAP_VERSION_INFO()
393 inline BYTE* unpack_TPM_CAP_VERSION_INFO(BYTE* ptr, TPM_CAP_VERSION_INFO* v, UnpackPtr alloc) { in unpack_TPM_CAP_VERSION_INFO()
405 inline BYTE* pack_TPM_DIGEST(BYTE* ptr, const TPM_DIGEST* d) { in pack_TPM_DIGEST()
410 inline BYTE* unpack_TPM_DIGEST(BYTE* ptr, TPM_DIGEST* d) { in unpack_TPM_DIGEST()
415 inline int unpack3_TPM_DIGEST(BYTE* ptr, UINT32* pos, UINT32 max, TPM_DIGEST* d) { in unpack3_TPM_DIGEST()
421 #define pack_TPM_PCRVALUE(ptr, d) pack_TPM_DIGEST(ptr, d) argument
422 #define unpack_TPM_PCRVALUE(ptr, d) unpack_TPM_DIGEST(ptr, d) argument
425 #define pack_TPM_COMPOSITE_HASH(ptr, d) pack_TPM_DIGEST(ptr, d) argument
426 #define unpack_TPM_COMPOSITE_HASH(ptr, d) unpack_TPM_DIGEST(ptr, d) argument
427 #define unpack3_TPM_COMPOSITE_HASH(ptr, p, m, d) unpack3_TPM_DIGEST(ptr, p, m, d) argument
430 #define pack_TPM_DIRVALUE(ptr, d) pack_TPM_DIGEST(ptr, d) argument
431 #define unpack_TPM_DIRVALUE(ptr, d) unpack_TPM_DIGEST(ptr, d) argument
433 #define pack_TPM_HMAC(ptr, d) pack_TPM_DIGEST(ptr, d) argument
434 #define unpack_TPM_HMAC(ptr, d) unpack_TPM_DIGEST(ptr, d) argument
436 #define pack_TPM_CHOSENID_HASH(ptr, d) pack_TPM_DIGEST(ptr, d) argument
437 #define unpack_TPM_CHOSENID_HASH(ptr, d) unpack_TPM_DIGEST(ptr, d) argument
440 inline BYTE* pack_TPM_NONCE(BYTE* ptr, const TPM_NONCE* n) { in pack_TPM_NONCE()
445 inline BYTE* unpack_TPM_NONCE(BYTE* ptr, TPM_NONCE* n) { in unpack_TPM_NONCE()
452 inline int unpack3_TPM_NONCE(BYTE* ptr, UINT32* pos, UINT32 max, TPM_NONCE* n) { in unpack3_TPM_NONCE()
457 inline BYTE* pack_TPM_SYMMETRIC_KEY_PARMS(BYTE* ptr, const TPM_SYMMETRIC_KEY_PARMS* k) { in pack_TPM_SYMMETRIC_KEY_PARMS()
465 inline BYTE* pack_TPM_SYMMETRIC_KEY(BYTE* ptr, const TPM_SYMMETRIC_KEY* k) { in pack_TPM_SYMMETRIC_KEY()
473 inline int unpack3_TPM_SYMMETRIC_KEY_PARMS(BYTE* ptr, UINT32* pos, UINT32 max, TPM_SYMMETRIC_KEY_PA… in unpack3_TPM_SYMMETRIC_KEY_PARMS()
486 inline int unpack3_TPM_SYMMETRIC_KEY(BYTE* ptr, UINT32* pos, UINT32 max, TPM_SYMMETRIC_KEY* k, Unpa… in unpack3_TPM_SYMMETRIC_KEY()
494 inline BYTE* pack_TPM_RSA_KEY_PARMS(BYTE* ptr, const TPM_RSA_KEY_PARMS* k) { in pack_TPM_RSA_KEY_PARMS()
502 inline int unpack3_TPM_RSA_KEY_PARMS(BYTE* ptr, UINT32* pos, UINT32 max, TPM_RSA_KEY_PARMS* k, Unpa… in unpack3_TPM_RSA_KEY_PARMS()
516 inline BYTE* pack_TPM_KEY_PARMS(BYTE* ptr, const TPM_KEY_PARMS* k) { in pack_TPM_KEY_PARMS()
536 inline int unpack3_TPM_KEY_PARMS(BYTE* ptr, UINT32* pos, UINT32 len, TPM_KEY_PARMS* k, UnpackPtr al… in unpack3_TPM_KEY_PARMS()
577 inline BYTE* pack_TPM_STORE_PUBKEY(BYTE* ptr, const TPM_STORE_PUBKEY* k) { in pack_TPM_STORE_PUBKEY()
584 inline int unpack3_TPM_STORE_PUBKEY(BYTE* ptr, UINT32* pos, UINT32 max, TPM_STORE_PUBKEY* k, Unpack… in unpack3_TPM_STORE_PUBKEY()
595 inline BYTE* pack_TPM_PUBKEY(BYTE* ptr, const TPM_PUBKEY* k) { in pack_TPM_PUBKEY()
601 inline int unpack3_TPM_PUBKEY(BYTE* ptr, UINT32* pos, UINT32 len, TPM_PUBKEY* k, UnpackPtr alloc) { in unpack3_TPM_PUBKEY()
607 inline BYTE* pack_TPM_PCR_SELECTION(BYTE* ptr, const TPM_PCR_SELECTION* p) { in pack_TPM_PCR_SELECTION()
614 inline BYTE* unpack_TPM_PCR_SELECTION(BYTE* ptr, TPM_PCR_SELECTION* p, UnpackPtr alloc) { in unpack_TPM_PCR_SELECTION()
621 inline int unpack3_TPM_PCR_SELECTION(BYTE* ptr, UINT32* pos, UINT32 max, TPM_PCR_SELECTION* p, Unpa… in unpack3_TPM_PCR_SELECTION()
632 inline BYTE* pack_TPM_PCR_INFO(BYTE* ptr, const TPM_PCR_INFO* p) { in pack_TPM_PCR_INFO()
640 inline int unpack3_TPM_PCR_INFO(BYTE* ptr, UINT32* pos, UINT32 max, TPM_PCR_INFO* p, UnpackPtr allo… in unpack3_TPM_PCR_INFO()
656 inline BYTE* pack_TPM_PCR_INFO_LONG(BYTE* ptr, const TPM_PCR_INFO_LONG* p) { in pack_TPM_PCR_INFO_LONG()
681 inline int unpack3_TPM_PCR_INFO_LONG(BYTE* ptr, UINT32* pos, UINT32 max, TPM_PCR_INFO_LONG* p, Unpa… in unpack3_TPM_PCR_INFO_LONG()
697 inline BYTE* pack_TPM_PCR_COMPOSITE(BYTE* ptr, const TPM_PCR_COMPOSITE* p) { in pack_TPM_PCR_COMPOSITE()
705 inline int unpack3_TPM_PCR_COMPOSITE(BYTE* ptr, UINT32* pos, UINT32 max, TPM_PCR_COMPOSITE* p, Unpa… in unpack3_TPM_PCR_COMPOSITE()
712 inline BYTE* pack_TPM_KEY(BYTE* ptr, const TPM_KEY* k) { in pack_TPM_KEY()
728 inline int unpack3_TPM_KEY(BYTE* ptr, UINT32* pos, UINT32 max, TPM_KEY* k, UnpackPtr alloc) { in unpack3_TPM_KEY()
764 inline BYTE* pack_TPM_BOUND_DATA(BYTE* ptr, const TPM_BOUND_DATA* b, UINT32 payloadSize) { in pack_TPM_BOUND_DATA()
771 inline BYTE* unpack_TPM_BOUND_DATA(BYTE* ptr, TPM_BOUND_DATA* b, UINT32 payloadSize, UnpackPtr allo… in unpack_TPM_BOUND_DATA()
778 inline BYTE* pack_TPM_STORED_DATA(BYTE* ptr, const TPM_STORED_DATA* d) { in pack_TPM_STORED_DATA()
801 inline int unpack3_TPM_STORED_DATA(BYTE* ptr, UINT32* pos, UINT32 len, TPM_STORED_DATA* d, UnpackPt… in unpack3_TPM_STORED_DATA()
816 inline BYTE* pack_TPM_STORED_DATA12(BYTE* ptr, const TPM_STORED_DATA12* d) { in pack_TPM_STORED_DATA12()
842 inline int unpack3_TPM_STORED_DATA12(BYTE* ptr, UINT32* pos, UINT32 len, TPM_STORED_DATA12* d, Unpa… in unpack3_TPM_STORED_DATA12()
859 inline BYTE* pack_TPM_AUTH_SESSION(BYTE* ptr, const TPM_AUTH_SESSION* auth) { in pack_TPM_AUTH_SESSION()
868 inline BYTE* unpack_TPM_AUTH_SESSION(BYTE* ptr, TPM_AUTH_SESSION* auth) { in unpack_TPM_AUTH_SESSION()
876 inline int unpack3_TPM_AUTH_SESSION(BYTE* ptr, UINT32* pos, UINT32 len, TPM_AUTH_SESSION* auth) { in unpack3_TPM_AUTH_SESSION()
894 inline BYTE* pack_TPM_RQU_HEADER(BYTE* ptr, in pack_TPM_RQU_HEADER()
904 inline BYTE* unpack_TPM_RQU_HEADER(BYTE* ptr, in unpack_TPM_RQU_HEADER()
915 inline int unpack3_TPM_RQU_HEADER(BYTE* ptr, UINT32* pos, UINT32 max, in unpack3_TPM_RQU_HEADER()