mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Update usage.md
This commit is contained in:
parent
a018699283
commit
5a2ec221b7
1 changed files with 12 additions and 0 deletions
12
doc/usage.md
12
doc/usage.md
|
|
@ -188,6 +188,18 @@ Certificate Object; type = X.509 cert
|
||||||
ID: 01
|
ID: 01
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Generate random numbers
|
||||||
|
|
||||||
|
To generate random numbers:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ pkcs11-tool -l --pin 648219 --generate-random 64 | xxd -c 64 -p
|
||||||
|
Using slot 0 with a present token (0x0)
|
||||||
|
773ec49733435915f5cf056497d97d2b1e6a4af23e2851eb2adf75af40db6677115c401aa26d46677184f4cf878da6289cf3ff1a5192711377b869adbc7f2b6b
|
||||||
|
```
|
||||||
|
|
||||||
|
It supports up to $1024$ random bytes in a single call.
|
||||||
|
|
||||||
## Backup and restore
|
## Backup and restore
|
||||||
|
|
||||||
For backup, restore and DKEK share management, check [doc/backup-and-restore.md](/doc/backup-and-restore.md).
|
For backup, restore and DKEK share management, check [doc/backup-and-restore.md](/doc/backup-and-restore.md).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue