DocumentCode
503830
Title
Design and Implementation of SMS4 on Java Card
Author
Zhang, Dawei
Author_Institution
Sch. of Comput. & Inf. Technol., Beijing Jiaotong Univ., Beijing, China
Volume
1
fYear
2009
fDate
19-21 May 2009
Firstpage
145
Lastpage
149
Abstract
SMS4 is the first national standard of cryptographic algorithm in China. It is a block cipher with 128 bits key. Because SMS4 is a relatively new algorithm, there are no hardware accelerators specific to it on smartcards and it is not a standard algorithm in Java Card specification until now. In this paper, SMS4 was designed and implemented on Java Card. At first, we designed the architecture and hierarchy of Java Card APIs for SMS4. Two layers structure was given. The basic cipher was implemented in native code and APIs was designed by Java. Secondly, the key interface and key builder class were implemented based on factory pattern. Thirdly, the encryption/decryption algorithm was implemented by SMS4Cipher class based on adapter pattern. At last, we designed the test applets based on our APIs and run them on SLE66CLX800PE hardware emulator. The test results show that the implementation of SMS4 is proven applicable on JavaCard with average encryption/decryption time about 0.68 ms at system clock 30 MHz.
Keywords
Java; application program interfaces; cryptography; object-oriented programming; smart cards; China; Java Card API specification; SLE66CLX800PE hardware emulator; SMS4Cipher class design; adapter factory pattern; block cipher; cryptographic algorithm; encryption/decryption algorithm; frequency 30 MHz; hardware accelerator; key builder class; key interface; national standard; native code; smart card; test applet design; time 0.68 ms; Algorithm design and analysis; Central Processing Unit; Cryptography; EPROM; Hardware; Java; Read only memory; Read-write memory; Smart cards; Testing; Java Card; SMS4;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2009. WCSE '09. WRI World Congress on
Conference_Location
Xiamen
Print_ISBN
978-0-7695-3570-8
Type
conf
DOI
10.1109/WCSE.2009.220
Filename
5319000
Link To Document