KVS/builder/scripts/tpmutil.sh
2024-03-06 15:13:02 -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"
}