Christmas is coming soon! To thank for the support from all our dear customers, Christmas promotional activity is going on in JavaCardOS online store. For more activities details, please check this post.

Search found 6 matches

by stanneraustin
Tue Jan 23, 2018 6:33 am
Forum: Algorithm School
Topic: How to compute MAC
Replies: 13
Views: 3794

Re: How to compute MAC

Ok i have solved issue. ICV is what we got from external auth. 1) ICV is des ecb each time we going to use with first 8 byte session MAC. used as IV on next step. 2) now if data is less then 8 byte or 8 byte skip this. des cbc first 8 byte data with first 8 byte session mac key and IV = ICV result w...
by stanneraustin
Fri Jan 19, 2018 6:40 am
Forum: Algorithm School
Topic: How to compute MAC
Replies: 13
Views: 3794

Re: How to compute MAC

This i know already.
http://xionghuilin.com/?p=326 this explain some part of puzzel.
i posted more details at here too https://stackoverflow.com/questions/247 ... tools?rq=1
still not returning valid C-MAC for another command then EXTERNAL AUTHENTICATE
by stanneraustin
Thu Jan 18, 2018 1:03 pm
Forum: Algorithm School
Topic: How to compute MAC
Replies: 13
Views: 3794

Re: How to compute MAC

Hello i need some clarification on C-MAC if any one can guide. my init update and ext auth work ok after external auth i got ICV last verified with ext auth in output of external auth now on next i plan to implement delete AID i have to use same ICV where for next msg ? i am testing on JCIDE with ex...
by stanneraustin
Fri Nov 10, 2017 7:55 am
Forum: Questions & Answers
Topic: SW_ILLEGAL_USE returned by cipher.dofinal()
Replies: 3
Views: 727

Re: SW_ILLEGAL_USE returned by cipher.dofinal()

using DES without padding is very weak.
You must use ISO9797_M1 or ISO9797_M2 or PKCS5 so cipher will auto pad it.
also u must not use LENGTH_DES instead use LENGTH_DES3_2KEY or higher for more security of ur project.
by stanneraustin
Fri Nov 10, 2017 7:48 am
Forum: Questions & Answers
Topic: des cbc with PKCS5 issue
Replies: 1
Views: 360

des cbc with PKCS5 issue

Hello i having issue on javacard 2.1.2 not accepting ALG_DES_CBC_PKCS5 install and select return with 6A88 if i change to ALG_DES_CBC_ISO9797_M1 or ALG_DES_CBC_ISO9797_M2 it work with installation. i am using JCOP21 and JCIDE . is there any short version of pad unpad PKCS5 ? I found many which are i...
by stanneraustin
Wed Nov 08, 2017 9:37 am
Forum: Questions & Answers
Topic: How to get IC serial number from java card
Replies: 2
Views: 749

Re: How to get IC serial number from java card

just for ICserial no need to use init update.. any wrong attempt or non successful external auth after this count as bad counter. maxim 10 allowed on older then card will be locked for ever.

use get CPLC data
80CA9F7F00

you will get all details here without init update.
JavaCard OS : Disclaimer