Reputation: 1
I want establish a scp03 secure channel.
My static keys are of length 32bytes or 256bits
Using 32 byte keys I want to generate session keys according to scp03 protocol, when I tried implementing after generating session keys when I use the generate mac key to verify card cryptogram it is failing.
Following are steps that I have implemented:
This is how I generate enc, mac, r-mac keys
Can I know the proper values to generate session keys and verify card cryptogram
Upvotes: 0
Views: 129
Reputation: 6298
globalplatform for c on GitHub can do this. There might be also a test case in a file scp03Test.c
Upvotes: 0