Home | History | Annotate | Download | only in utility

Lines Matching refs:tpmc

14 tpmc=${USR_BIN:=/usr/bin}/tpmc
72 $tpmc clear
73 $tpmc enable
74 $tpmc activate
161 if $tpmc definespace $test_space $size $perm_ppwrite; then
178 $tpmc definespace $index $size $permissions
190 observed_permissions=$($tpmc getp $index | $awk '{print $5;}')
197 if ! $tpmc read 0x1008 0x5 | grep -q " 4c 57 52 47[ ]*$"; then
206 if ! $tpmc read $index $size > /dev/null; then
228 $tpmc write $index $bytes || log "writing to $index failed with code $?"
279 if [ ! -e $tpmc -o ! -e $nvtool -o ! -e $tpm_takeownership ]; then
280 quit "tpmc or nvtool or tpm_takeownership are missing"
285 if ! ($tpmc getpf | grep -q "physicalPresenceLifetimeLock 1" &&
286 $tpmc getpf | grep -q "physicalPresenceHWEnable 0" &&
287 $tpmc getpf | grep -q "physicalPresenceCMDEnable 1"); then
289 if $tpmc ppfin; then
298 if $tpmc getvf | grep -q "physicalPresence 0"; then
301 if $tpmc ppon; then
318 BGLOBALLOCK=$($tpmc getvf | $awk '/bGlobalLock/ {print $2;}')