diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-26 05:11:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-26 05:11:33 +0000 |
commit | a751023422eadf87cd8d6484878193a4914a9d85 (patch) | |
tree | 3fca0ae6325173fc2583e7d88abe4c38e6193277 /Documentation/nvme-rpmb.txt | |
parent | Adding upstream version 2.0. (diff) | |
download | nvme-cli-a751023422eadf87cd8d6484878193a4914a9d85.tar.xz nvme-cli-a751023422eadf87cd8d6484878193a4914a9d85.zip |
Adding upstream version 2.1~rc0.upstream/2.1_rc0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/nvme-rpmb.txt')
-rw-r--r-- | Documentation/nvme-rpmb.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/nvme-rpmb.txt b/Documentation/nvme-rpmb.txt index f9b371a..c30c83d 100644 --- a/Documentation/nvme-rpmb.txt +++ b/Documentation/nvme-rpmb.txt @@ -41,7 +41,7 @@ OPTIONS RPMB target given with --target or -t options. As per spec, this is one time action which can't be undone. - read-couter - Read 'write counter' of specified RPMB target. The + read-counter - Read 'write counter' of specified RPMB target. The counter value read is printed onto STDOUT read-config - Read 512 bytes of device configuration block data of @@ -59,7 +59,7 @@ OPTIONS -o option should be given to read the amount of data to be read in 512 byte blocks. - write-data - Supports authenticated data writting to specified RPMB + write-data - Supports authenticated data writing to specified RPMB target (--target or -t option) at given offset specified with --address or -o option, using key specified using --keyfile or -k options. --blocks or @@ -99,10 +99,10 @@ OPTIONS -o <offset>:: --address=<offset>:: The address (in 512 byte sector offset from 0) to be used for data - trasnfer commands (read or write) for a specified RPMB target. + transfer commands (read or write) for a specified RPMB target. -b:: --blocks=<sectors>:: - The size in 512 byte sectors to be used for data trasnfer commands + The size in 512 byte sectors to be used for data transfer commands (read or write) for a specified RPMB target. EXAMPLES @@ -113,7 +113,7 @@ EXAMPLES # nvme rpmb /dev/nvme0 --cmd=info ----------- + -* Program 'SecreteKey' as authentication key for target 1 +* Program 'SecretKey' as authentication key for target 1 + ------------ # nvme rpmb /dev/nvme0 --cmd=program-key -key='SecretKey' --target=1 @@ -134,7 +134,7 @@ EXAMPLES * Write 200 blocks of (512 bytes) from input.bin onto target 0 + ------------ -# nvme rpmb /dev/nvme0 -c write-data -t 0 -f input.bin -b 200 -k 'SecreteKey' +# nvme rpmb /dev/nvme0 -c write-data -t 0 -f input.bin -b 200 -k 'SecretKey' ------------ + * Read 200 blocks of (512 bytes) from target 2, at offset 0x100 and save the |