TPM emulator control tool version 0.10.2, Copyright (c) 2015 IBM Corp. Usage: /usr/bin/swtpm_ioctl command The following commands are supported: --tpm-device : use the given device; default is /dev/tpm0 --tcp []:[]: connect to TPM on given host and port; default host is 127.0.0.1, default port is 6546 --unix : connect to TPM using UnixIO socket -c : get ptm capabilities -i : do a hardware TPM_Init; if volatile state is found, it will resume the TPM with it and delete it afterwards --stop : stop the TPM without exiting -s : shutdown the TPM; stops and exists -e : get the tpmEstablished bit -r : reset the tpmEstablished bit; use the given locality -v : store the TPM's volatile data -C : cancel an ongoing TPM command -l : set the locality to the given number; valid localities are 0-4 -h : hash the given data; if data is '-' then data are read from stdin --save : store the TPM state blob of given type in a file; type may be one of volatile, permanent, or savestate --load : load the TPM state blob of given type from a file; type may be one of volatile, permanent, or savestate -g : get configuration flags indicating which keys are in use -b : set the buffer size of the TPM and get its current size; get minimum and maximum supported sizes --info : get TPM implementation specific information; flags must be an integer value --lock-storage : lock the storage after it was unlocked; retry n times with 10ms delay in between --version : display version and exit --help : display help screen and exit