Skip to content
#

tpm2

Here are 53 public repositories matching this topic...

bnevis-i
bnevis-i commented Jul 30, 2020

Environment

Board: APL UPSquared with PTT
OS: Ubuntu 20.04 (opensc 0.20.0-3)
tpm2-tss: 4.2.1 (tarball)
tpm2-pkcs11: 1.3.1 (tarball)
tpm2-tools: 4.1.3 (tarball)
tpm2-abrmd: Not installed
Token initialized with tpm2_ptool with label tpmhsm

Error message

id=`uuidgen | tr -d -`
pkcs11-tool --module /usr/lib/libtpm2_pkcs11.so --token-label tpmhsm --login --pin (redacted) --key-
zanebeckwith
zanebeckwith commented Nov 19, 2018

The functions in the marshal.c file convert from the C structures to on-the-wire format, and vice-versa. Currently, this code is only tested implicitly, by testing the higher-level functions that use the (un)marshaling code.

As a quick first step to testing this important code, we should add tests that simply create each of the tss2_tpm_types.h structs, marshals each one to a buffer, un-marsh

Improve this page

Add a description, image, and links to the tpm2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tpm2 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.