Type: New Feature
Affects Version/s: 3.4.0
Fix Version/s: 3.4.0
SM4 (formerly SMS4)is a block cipher used in the Chinese National Standard for Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure).
SM4 was a cipher proposed to for the IEEE 802.11i standard, but has so far been rejected by ISO. One of the reasons for the rejection has been opposition to the WAPI fast-track proposal by the IEEE. please see:
Use sm4 on hdfs as follows:
1.Configure Hadoop KMS
2.test HDFS sm4
hadoop key create key1 -cipher 'SM4/CTR/NoPadding'
hdfs dfs -mkdir /benchmarks
hdfs crypto -createZone -keyName key1 -path /benchmarks
1.openssl version >=1.1.1