implement globalplatform SCP 03 KDF and PRF in javacard
Posted: Tue Jun 20, 2017 7:01 am
I want to implement Globalplatform SCP 03 protocol in javacard. The main problem is KDF and PRF implementation in card. I have three question:
1- Is there any opensource implementation of KDF and PRF in javacard?
2- I found "RandomData.getInstance(RandomData.ALG_PSEUDO_RANDOM);". there is 3 and 4 input for PRF function in NIST sp 800-108, but i can set only one parameter for RandomData in javacard (only seed). is it implementation of PRF?
3- Does PRF with same inputs, generates same result in different execution? if answer is no, why card and host can generate same session keys by using it?
Thank you very much.
Mohsen
1- Is there any opensource implementation of KDF and PRF in javacard?
2- I found "RandomData.getInstance(RandomData.ALG_PSEUDO_RANDOM);". there is 3 and 4 input for PRF function in NIST sp 800-108, but i can set only one parameter for RandomData in javacard (only seed). is it implementation of PRF?
3- Does PRF with same inputs, generates same result in different execution? if answer is no, why card and host can generate same session keys by using it?
Thank you very much.
Mohsen