SM4 (cifrario)
| SM4 | |
|---|---|
| Generale | |
| Progettisti | Governo della Repubblica Popolare Cinese |
| Prima pubblicazione | 2006 |
| Dettagli | |
| Dimensione chiave | 128 bit |
| Dimensione blocco | 128 bit |
| Struttura | Rete di Feistel |
| Numero di passaggi | 32 |
SM4 (in cinese 商密4S, ShāngMì 4P) è un algoritmo di cifratura a blocchi sviluppato in Cina.[1] Viene utilizzato nello standard cinese WAPI e nel protocollo Transport Layer Security.[2]
Usa blocchi di dimensione 128 bit e chiavi di lunghezza 128 bit ed effettua 32 cicli di processamento.[3]
Storia
[modifica | modifica wikitesto]Il Governo cinese ha pubblicato l'algoritmo il 21 marzo 2012 nello standard industriale GM/T 0002-2012.[4]
L'algoritmo è descritto in un’Internet Draft che include un'implementazione di riferimento in C.[5]
Il supporto a SM4 è stato aggiunto all'architettura AArch64 nell'espansione ARMv8.4-A[6] e all'architettura RISC-V nell'estensione Zksed.[7] È anche supportato da alcuni processori Intel.[8]
SM4 è stato standardizzato come GB/T 32907–2016 nel 2016[9] e come ISO/IEC 18033-3/Amd 1 nel 2021.[10]
Note
[modifica | modifica wikitesto]- ↑ (EN) crypto: introduce SM4 symmetric cipher algorithm, su lwn.net.
- ↑ (EN) ShangMi (SM) Cipher Suites for TLS 1.3, su datatracker.ietf.org.
- ↑ (EN) China and the SM Ciphers: Here’s SM4, su medium.com.
- ↑ (EN) GM/T 0002-2012 SM4 Block Cipher Algorithm, su codeofchina.com.
- ↑ (EN) The SM4 Blockcipher Algorithm And Its Modes Of Operations, su datatracker.ietf.org.
- ↑ (EN) Introducing 2017’s extensions to the Arm Architecture, su community.arm.com.
- ↑ (EN) RISC-V Cryptography Extensions Task Group Announces Public Review of the Scalar Cryptography Extensions, su riscv.org.
- ↑ (EN) Intel confirms Arrow Lake-S & Lunar Lake CPUs will support instructions for AVX-VNNI, SHA512, SM3, SM4 and LAM, su videocardz.com.
- ↑ (EN) What Makes SM2 Encryption Special? China’s Recommended Algorithm, su nocturnalknight.co.
- ↑ (EN) ISO/IEC 18033-3:2010/Amd 1:2021, su iso.org.
