CREATE OTP AEAD

Create a Yubico OTP AEAD.

Description

Create a Yubico OTP AEAD using the provided data.

Shell Example

Create a new AEAD using Otp-aead Key 0x027c with the key 000102030405060708090a0b0c0d0e0f and private ID 010203040506. Store the result in the file aead:

yubihsm> otp aead_create 0 0x027c 000102030405060708090a0b0c0d0e0f 010203040506 aead

Protocol Details

Command

Tc = 0x61

Lc = 24

Vc = I || K || P

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

K := OTP Key (16 bytes)

P := OTP Private ID (6 bytes)

Response

Tr = 0xe1

Lr = LA

Vr = A

A := Nonce concatenated with AEAD (36 bytes)