RANDOMIZE OTP AEAD Command

Create an OTP AEAD from random data.

Description

Create a new OTP AEAD using random data for key and private ID.

Shell Example

Generate a new OTP AEAD using OTP AEAD Key 0xc5f4 and put the result in file aead:

yubihsm> otp aead_random 0 0xc5f4 aead

Protocol Details

Command

Tc = 0x62
Lc = 2
Vc = I

Parameters:

I := Object ID for the OTP AEAD Key (2 bytes)

Response

Tr = 0xe2
Lr = 36
Vr = A

Parameters:

A := Nonce concatenated with AEAD (36 bytes)