SM4(ECB、CBC、CTR、CFB、OFB)加密算法C语言实现

上传者: hudaolei040414 | 上传时间: 2021-08-03 11:39:11 | 文件大小: 25KB | 文件类型: RAR
1、完整的SM4算法,包括ECB、CBC、CTR、CFB、OFB,C语言实现; 2、内含测试程序,在Linux环境下进入目录后make即可编译,已经在ubuntu16.04环境下编译测试OK; 3、参考GMSSL源码移植而成,做了部分修改; 4、已经在金融POS领域的实战项目中得到应用; 5、SM4 (GM/T 0002-2012): block cipher with 128-bit key length and 128-bit block size, also named SMS4.

文件下载

资源详情

[{"title":"( 21 个子文件 25KB ) SM4(ECB、CBC、CTR、CFB、OFB)加密算法C语言实现","children":[{"title":"sms4","children":[{"title":"sms4_cbc.c <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"sms4.h <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"sms4_ofb.c <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"ctr128.c <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"sms4_cfb.c <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"sms4_common.c <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"modes_lcl.h <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"sms4_ecb.c <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"hexdump.c <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"cfb128.c <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"sms4_enc.c <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"ofb128.c <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"hexdump.h <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"sms4_ctr.c <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"modes.h <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"cbc128.c <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"sms4_lcl.h <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"sms4_enc_nblks.c <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"sms4_setkey.c <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • delphishen007 :
    只有ECB CBC CFB 加密,解密都没有。
    2020-01-01
  • sonahri :
    以前的找不到了,重新下载
    2019-07-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明