leachbj / hsm-emulator

Simple HSM emulator
Other
19 stars 11 forks source link

Some Enhancements (A0, M0, M2 commands) #2

Open Lekkie opened 6 years ago

Lekkie commented 6 years ago

I made some modification to the library.

Added response header (Basically returned request header in the response) Added M0 - Encrypt Dat (using ZEK/DEK), M2 - Decrypt Data (using ZEK/DEK), A0 - Generate DEK.

I will like to contribute it if you are open to it, otherwise I can start off a new repo on my own github.

leachbj commented 6 years ago

Sure, if you can send in a PR that would be great!