mirror of
https://github.com/Infineon/eltt2.git
synced 2026-01-12 03:23:46 +00:00
Improve help message for Get Random
The previous help message for Get Random indicated that the user can enter a value of 32 for 0x32 (=50 bytes) . However the maximum supported number of bytes is 0x20 = 32 bytes. This patch improves the help message to reflect this maximum. Reported by @zveriu in issue #11. Signed-off-by: Peter Huewe <peter.huewe@infineon.com>
This commit is contained in:
2
eltt2.c
2
eltt2.c
@@ -733,7 +733,7 @@ static void print_help()
|
||||
printf("'-g': Get fixed capability values\n");
|
||||
printf("'-v': Get variable capability values\n");
|
||||
printf("'-G <byte count>': Get Random\n");
|
||||
printf(" -> Enter desired number of random bytes in hex like '32' for 0x32\n");
|
||||
printf(" -> Enter desired number of random bytes in hex like '20' for 0x20 (=32 bytes, maximum)\n");
|
||||
printf("'-h': Help\n");
|
||||
printf("'-r <PCR index>': PCR Read SHA-1\n");
|
||||
printf(" -> PCR index: Enter PCR number in hex like '17' for 0x17\n");
|
||||
|
||||
Reference in New Issue
Block a user