tag:blogger.com,1999:blog-4376417828574391409.post7470711915701108274..comments2023-11-23T08:55:01.108-05:00Comments on Victor Costan: JCOP Smartcard PerformanceAnonymoushttp://www.blogger.com/profile/15471814314476820630noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4376417828574391409.post-42312687524240711722013-07-18T04:01:18.016-04:002013-07-18T04:01:18.016-04:00Hi Victor
I am also new to java card development.i...Hi Victor<br />I am also new to java card development.i am playing with jcop 31/36 contact less smart card.i encrypted some data from the card using RSA.when i used RSA-2048 it will always give some exception it seems to be it needs some high power consumption.then i used RSA-512 algorithem.then It works but most of the times i can't receive the data.some times it returns 64 bytes.i am used nexus s phone to send the data.i want to know what is the low power consumption java card in jcop cards.(contactless)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-2805509375648575292010-05-27T03:15:23.909-04:002010-05-27T03:15:23.909-04:00your blog is very nice Well, it’s amazing. The mir...your blog is very nice Well, it’s amazing. The miracle has been done. Well done.<br />--------------------------------<br /><a href="http://www.smart-card.com" rel="nofollow">smart card</a><br />Does anyone know where I can find deep technical information about smart cards?. I'm doing a report for the company I'm working for.cynthia1https://www.blogger.com/profile/08236884356906886150noreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-49240703660873118882010-01-25T17:26:21.364-05:002010-01-25T17:26:21.364-05:00Can you put somewhere applets you used in speed te...Can you put somewhere applets you used in speed testing? I have some Gemalto TOP cards and would like to compare performance with JCOP.FractalizeRhttp://www.fractalizer.runoreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-85262481043266500642010-01-11T07:50:09.917-05:002010-01-11T07:50:09.917-05:00@lexdabear: Thank you for your feedback! I have se...@lexdabear: Thank you for your feedback! I have seen your posts in various smart-card forums, and I know you are very knowledgeable on smart-card issues. I am honored that you read my blog post, and I'm sorry if the contents is confusing.<br /><br />My main point was that if you're a smart-card application developer, it's very hard to know the performance of the chips that you're buying.<br /><br />I supported this main point with examples where different revisions / configurations of the same chip gave different performance results.<br /><br />I did not say that the software must be slower. There's certainly a possibility that very different chips are marketed under what appears to be the same name. My point was that developers need to know this, and need to measure the performance on the exact chip they're getting.<br /><br />The source code for the JavaCard applet that I measured is at http://github.com/costan/tem_fw and the driver is at http://github.com/costan/tem_ruby/ (the benchmarks are in lib/tem/benchmarks).<br /><br />In my TEM paper, I say that the bytecode interpreter that I wrote in JavaCard would likely run 20x faster if it ran directly on native hardware. I did also say that crypto is probably implemented natively, and would not get the same speed-up.<br /><br />I came up with the 20X number based on what I figured the JavaCard VM has to do to run my interpreter, versus what my interpreter would look like if I could code it in assembly or do native code generation.<br /><br />I'm wondering if you could help me get my hands on the proper SDKs to write native code for these chips. Then I could port my application, measure, and remove the speculation.<br /><br />I tried approaching Atmel and Infineon, but I'm having trouble getting them to pay attention to my request. That's probably because I'm a PhD student, and I don't have an order of 1 million units.<br /><br />It's disappointing and a bit infuriating that cable pirates have SDKs for these smart-card chips, but a security researcher like me can't get them. Do you think you could help me get my hands on an SDK?<br /><br />Thanks so much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-85045809928965927692010-01-11T07:06:55.535-05:002010-01-11T07:06:55.535-05:00Your measurements can be hardly taken to proof tha...Your measurements can be hardly taken to proof that JCOP performance depends on the interface. You don't have the knowledge about the configuration of JCOP for the products you measured and not even the underlying chip technology. Here are some comments to think:<br />- JCOP v2.2.1 includes more security countermeasures<br />- Underlying HW platform, the SmartMX, has asynchronous design. Specifically it affects performance in the 'free running mode', where the chip runs as fast as possible depending on the energy it has.<br />- Most performance issues are based on the applet coding style (key and cipher initialization, memory usage, ..,). I cannot find the source of your performance applet (tc.cap).<br />- You're not only measuring the smart card OS, but also your off-card program, computer and reader.<br />- There is not much information on your test strategy and equipment used.<br />- The statement that native it would be "likely on the order of 20X" is highly speculative without any proof.lexdabearnoreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-26136921549365161162009-11-27T01:26:41.469-05:002009-11-27T01:26:41.469-05:00@jax: I read about the new cards, but I don't ...@jax: I read about the new cards, but I don't know where to find them, either. I'd like to get my hands on them too, to see if they're faster, and if they have AES.<br /><br />Sorry I can't be of any help!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4376417828574391409.post-4807682052478283482009-11-26T09:14:25.605-05:002009-11-26T09:14:25.605-05:00Hi Victor
I'm also playing with JCOP cards, a...Hi Victor<br /><br />I'm also playing with JCOP cards, and already have JCOP 41 2.2.1 cards. Do you know where I could purchase the new JCOP 41/31 with the OS 2.3.1 or 2.4.1 from NXP? It seems impossible to locate where to buy those cards.<br /><br />Thanks in advance.Anonymousnoreply@blogger.com