World Library  
Flag as Inappropriate
Email this Article

Sms4

Article Id: WHEBN0004446998
Reproduction Date:

Title: Sms4  
Author: World Heritage Encyclopedia
Language: English
Subject: Cobra ciphers, Xor-encrypt-xor, BEAR and LION ciphers, Chiasmus (cipher), CRYPTON
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Sms4

SMS4
General
First published 2006 (declassified)
Cipher detail
Key sizes 128 bits
Block sizes 128 bits
Structure unbalanced Feistel network
Rounds 32
Best public cryptanalysis
linear and differential attacks against 22 rounds

SMS4 is a block cipher used in the Chinese National Standard for Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure).

SMS4 was a proposed cipher to be used in ISO. One of the reasons for the rejection has been opposition to the WAPI fast-track proposal by the IEEE.

The SMS4 algorithm was invented by Prof. LU Shu-wang(吕述望). The algorithm was declassified in January, 2006. A few details of the SMS4 cipher are:

  • It has a block size of 128 bits.
  • Uses an 8-bit S-box
  • The key size is 128 bits.
  • The only operations used are XOR, circular shifts and S-Box applications
  • Performs 32 rounds to process one block.
  • Each round updates a quarter (32 bits) of the internal state.
  • A non-linear key schedule is used to produce the round keys.
  • Decryption is using the same keys as encryption, but in reversed order.

Terms and Definitions

Word and Byte

Define Z^e_2 as a vector set of e bits.

Z^{32}_2 is a word.

Z^8_2 is a byte.

S-box

S-box is fixed for 8-bit input and 8-bit output, noted as Sbox().

Keys and Key Parameters

The length of encryption keys are 128-bit, represented as MK=(MK_0,\ MK_1,\ MK_2,\ MK_3), in which MK_i\ (i=0,\ 1,\ 2,\ 3) is a word.

A round key is represented as (rk_0,\ rk_1,\ \ldots,\ rk_{31}). It is generated by the encryption key.

FK=(FK_0,\ FK_1,\ FK_2,\ FK_3) is a system parameter.

CK=(CK_0,\ CK_1,\ \ldots,\ CK_{31}) is a fixed parameter.

FK_i and CK_i are words, used for extension of the algorithm.

External links

  • Chinese document describing the SMS4 cipher
  • English translation of the Chinese document
  • Linear and Differential Cryptanalysis of Reduced SMS4 Block Cipher
  • Example of SMS4 implemented as a Spreadsheet
  • Page of Prof. LU Shu-wang(吕述望) in Chinese
  • Example of SMS4 implemented in ANSI C
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.