DECRYPT AES CBC

Available with firmware version 2.3.1 or later.

Decrypt data in CBC mode.

Description

Decrypt data in CBC mode.

Shell Example

Decrypt data using key 0x008c:

yubihsm> decrypt aescbc 0 0x0064 00000000000000000000000000000000 SG0OU4CT2pH2dnd967KyTU5OgdJ8edxJjOf3Yt52gGQ=
c5cffa1c2333fd824a86951cf602bca1=

Protocol Details

Command

Tc = 0x71

Lc = 2 + 16 + LE

Vc = I || IV || E

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

IV := Encryption initialization vector (IV) in HEX (16 bytes)

E := Decryption data (multiple of 16 bytes)

Response

Tr = 0xf1

Lr = LD

Vr = D

D := Decrypted data