KVS/builder/scripts/kvs/tpmutil.sh
2024-03-07 00:05:10 -05:00

16 lines
176 B
Bash
Executable File

#!/bin/bash
write_tpm(){
local index=$1
local data=$2
tpmc write "$index" "$data"
}
read_tpm(){
local index=$1
local bytes=$2
tpmc read "$index" "$bytes"
}