ZEK generation problem

Sep 27, 2011 at 4:51 AM
Edited Sep 27, 2011 at 5:01 AM

I try generate ZEK , the key can be generate by using Key scheme U but cant generate by Using key scheme X. May i know y cant to use X to generate the ZEK

 

I am Using the A0 command and below is my input info

 

 

A0  -->Command code

1   -->Generate Mode

ZEK key scheme for encrypting the key under the LMK -- > it is working if i put  "U" and not working if i put " X" 

 

 

ZMK key scheme for encrypting key for export --> U

U   -->Key scheme for encrypting key for export

Coordinator
Sep 27, 2011 at 8:02 AM

Can you post what you're sending and what you're getting back, including traces and events?

Sep 27, 2011 at 8:50 AM
nickntg wrote:

Can you post what you're sending and what you're getting back, including traces and events?

Below is the testing i done

 

 

Online-AUTH>fk

Enter LMK id [0-4]: 0
Enter key length [1,2,3]: 2
Enter key type: 000
Enter key scheme: u
Enter component type [X,H,T,E,S]: x
Enter number of components [1-9]: 1

Enter component 1: 12121212121212121212121212121212

Encrypted key: U89E6 6620 74CF 1800 32CB 2CBF FB7D 6E60
Key check value: A8B7 B5

 


1234 A0 1 00A U   U89E6662074CF180032CB2CBFFB7D6E60  U
1234A0100AUU89E6662074CF180032CB2CBFFB7D6E60U

output :  1234A100UEAE48F146E0F76E909F1B3A4151A1E7FUDD3211846FB9722D54ADC90BB8DBA49CA514C1

 

(when use X key scheme there is error 26)

1234 A0 1 00A X U89E6662074CF180032CB2CBFFB7D6E60 U
1234A0100AXU89E6662074CF180032CB2CBFFB7D6E60U

output : 1234A126

Coordinator
Sep 27, 2011 at 9:26 AM

This works in the current development version of the simulator. It was originally reported at this thread. Can you please download the latest dev build and let me know if that solves your problem?