Sign with EdDSA.
Computes a digital signature using EdDSA on the provided data.
Perform an EdDSA signature with key 0xddf6
of the content of file data
:
yubihsm> sign eddsa 0 0xddf6 ed25519 data wZljrOstOLPuMHGrXDnpAb5Wxo79+wX/vQkb/6K34tOd8se/QfLNRVTonfErttkWUAz/UlNtaG4XJYnY8vabCQ==
Tc = 0x6a |
Lc = 2 + LD |
Vc = I || D |
I := Object ID of the Asymmetric Key (2 bytes)
The DSI for EdDSA is the raw data D
.
DSI := D
For a given DSI, the command will generate a digital signature DS
. The
length of DS
, LDS, depends on the Algorithm used. At this time only
Ed25519 is implemented.
DS := EdDSA(DSI). Key is omitted
LDS:= 0x0040 bytes
Tr = 0xea |
Lr = LDS |
Vr = DS |
DS := Resulting signature