JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
implement globalplatform SCP 03 KDF and PRF in javacard
-
- Posts: 24
- Joined: Thu Apr 07, 2016 12:14 pm
- Points :457
- Contact:
implement globalplatform SCP 03 KDF and PRF in javacard
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
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: implement globalplatform SCP 03 KDF and PRF in javacard
The opensource GP tool GlobalPlatformPro can answer all your questions.
And you can refer to GPCrypto for SCP03 KDF and PRF implementation.
If any other question(s) after you read the source code, tell me.
And you can refer to GPCrypto for SCP03 KDF and PRF implementation.
If any other question(s) after you read the source code, tell me.
sense and simplicity
-
- Posts: 24
- Joined: Thu Apr 07, 2016 12:14 pm
- Points :457
- Contact:
Re: implement globalplatform SCP 03 KDF and PRF in javacard
Thank you for your reply.
I saw globalplatformpro before and i used it in my host side. but i want an implementation for card side (Javacard implementation).
Anyway thank you very much.
I saw globalplatformpro before and i used it in my host side. but i want an implementation for card side (Javacard implementation).
Anyway thank you very much.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: implement globalplatform SCP 03 KDF and PRF in javacard
mhsnmaghsoodloo wrote:Thank you for your reply.
I saw globalplatformpro before and i used it in my host side. but i want an implementation for card side (Javacard implementation).
Anyway thank you very much.
You can refer to implement the javacard side.
The implementation of the javacard side is same as client side. Only apis to Signature/Cipher is different.
sense and simplicity
Who is online
Users browsing this forum: No registered users and 26 guests