M0 Command

Jul 6, 2010 at 11:58 AM

Hi,

Can you please tell me whether M0 command is supported by simulator? I would encrypt the data by using M0 command on our HSM and then send it to simulator to decrypt it.

Regards,

Tushar Pant.

Coordinator
Jul 6, 2010 at 2:45 PM

The M0 command isn't currently implemented. nor any one of M2 or M4. It's not terribly difficult to implement M0 and M2.

However, even if they were implemented and you wanted to run M0 against a real HSM and M2 against the simulator, you'd have to first know the clear value of the ZEK/DEK used to run M0, then import it in the simulator - otherwise, there's no point in running M0 and M2 with different keys.

If you have a way of knowing the clear value of the key and the above isn't a problem for you then I'd be happy to code M0 and M2.