Send a command over an established session.
Sends a wrapped command for a previously established session. The command is encrypted and authenticated.
Send an echo over Session 0
:
yubihsm> echo 0 0xff 1 Response (1 bytes): ff
Tc = 0x05 |
Lc = 1 + Linner_c + 8 |
Vc = S || Ic || Mc |
S := Session ID (1 byte)
Linner_c/inner_r := Length of the encrypted inner command / response (2 bytes)
Mc/r := CMAC of the outer command / response (8 bytes)
Tr = 0x85 |
Lr = 1 + Linner_r + 8 |
Vr = S || Ir || Mr |