Quantcast
Channel: Thales Simulator Library
Viewing all articles
Browse latest Browse all 332

New Post: "SA" command

$
0
0
Hi,

SA/SB command is a customisation added to 1141-0802 HSM8000 firmware - Export a key using 3DES/CBC mode. The structure of command is as follows:
Command:
Header - m A - command header
Command code - 2 A - value 'SA'
Key tyoe - 3 H - key from key type table 
ZMK - 32 H or 1A + 32 H or 1 A + 48 H - ZMK key (000)
Key to be exported - 1A + 32 H or 1 A + 48 H - Key under LMK
IV - 16 H - Initial vector
Atalla Variant - 1 N or 2 N - optional, Atalla Variant, if it is enabled in CS
Delimiter - 1 C - optional, value 0x19
Message Trailer - n A - optional 

Response:
Header - m A - response header, the same as in command
Response code - 2 A - value 'SB'
Error code - 2 N - error code as in error code table in Host Command Reference Manual
Key under ZMK - 32 H or 48 H - key under ZMK
KCV - 6 H - key check value
Delimiter - 1 C - optional, value 0x19
Message trailer - n A - optional, as in commnad
Regards,
Juris

Viewing all articles
Browse latest Browse all 332

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>