# SM2-encrypt-and-decrypt
    An implementation of computing SM2 encryption and decryption is provided. Header files and library files of OpenSSL 1.1.1 or higher version is needed while compiling and linking. OpenSSL website is: https://www.openssl.org
    SM2 is a cryptographic algorithm based on elliptic curves. It is defined in the following standards of China:
- GB/T32918.1-2016,
- GB/T32918.2-2016,
- GB/T32918.3-2016,
- GB/T32918.4-2016,
- GM/T 0003-2012.
    Computing SM2 encryption and decryption are supported in OpenSSL 1.1.1. In the source package, "/crypto/sm2/sm2_crypt.c" is a good example. SM2 Encryption and decryption are encapsulated in an abstract level called EVP. In some cases using EVP interfaces to compute SM2 encryption and decryption is a little inconvenient. An implementation bypassing invoking OpenSSL EVP interfaces directly is given here.
没有合适的资源?快使用搜索试试~ 我知道了~
SM2加解密算法代码实现
共61个文件
sample:11个
h:4个
c:4个
3星 · 超过75%的资源 需积分: 5 36 下载量 79 浏览量
2019-04-29
16:05:49
上传
评论
收藏 50KB RAR 举报
温馨提示
基于openssl的国密SM2加解密算法实现 linux C代码编程
资源推荐
资源详情
资源评论
收起资源包目录
SM2-encrypt-and-decrypt.rar (61个子文件)
SM2-encrypt-and-decrypt
sm2_create_key_pair.c 2KB
sm2_encrypt_and_decrypt.h 5KB
sm2_create_key_pair.h 1KB
.git
index 922B
hooks
fsmonitor-watchman.sample 3KB
pre-push.sample 1KB
prepare-commit-msg.sample 1KB
applypatch-msg.sample 478B
pre-commit.sample 2KB
pre-receive.sample 544B
pre-applypatch.sample 424B
commit-msg.sample 896B
pre-rebase.sample 5KB
update.sample 4KB
post-update.sample 189B
config 318B
description 73B
refs
tags
heads
master 41B
remotes
origin
HEAD 32B
logs
refs
heads
master 205B
remotes
origin
HEAD 205B
HEAD 205B
packed-refs 114B
objects
0b
dd482907ef4f19d70339c2c32f8787f8fe6110 85B
1f
f2d5f0a6888803977af0acab5114839a92c8b8 651B
36
88d5d71517272d148a6ff09889568087f66637 465B
0c
a08e246988d20d9b6012e0444f98f69e3635ac 481B
64
f9a31d511d65baa067b4016867acfca79db331 559B
05
a4537c14e383a2336d625f531b7b5c92ba5a7c 1KB
bb
9b1437cee9df934e6b063817969594b77150d2 571B
be
26768e7aba4a5c1a2ffa984c6e197e3a31d52f 352B
84
dd48234b9225c9933dbf6de2e019b9013e69fa 2KB
3e
25706f90adc03cb2fc36953844ab10abfe8b4a 85B
59
340f05236d05d2cefb9795f77bfe4ea30345fc 556B
72
e27b2d78fb9dfb718b07ff404b145bc7ba01c0 459B
c7
cdc01f4acfdeb13190c00a363f7af99a6e65e2 517B
info
cc
d395ea772bbb2eb35d65284cb140acb9ee7db2 352B
ad
0cad0acd2578c6e8553d74a492d25a89ae9480 351B
8c
22b61a180e39a9efdc87bd85b91e77b72db9bc 3KB
3f
ba7b0385a3a08a6fc02f71ec5ba07c4697f3ca 2KB
b7
0e4288e3833913d313e05f08691134bd097a21 564B
pack
20
e4c3e7dcf26f6de5d7c69534ea34a74496b2e0 566B
d4
c925cabf813c891f67a97e24ce09c468367faf 3KB
9dc98f3fd4a32f2b3f27bf1bfe21447ed43f73 559B
8b
8b72ed1b2c64cefbfd252d0afd2526f14ce82b 915B
e2
067b01fa342dc766430fce2f2cdabc2378aa06 478B
17
d8a69f14bee74a86d04b6889416a1703df20c4 1KB
b5
ee626478e4122ac4fa7497ee9f98408f098a78 157B
30bc7fcb288ca169b5ea797e8cef9d28b71de9 568B
e8
594dff889821cd3083f6868ef4908e579b356b 351B
32
76d6e148334e5a2311be40a2c3542041d8949a 907B
f1
937ec087d3fbe91d8d6cb797516aa58853628e 352B
info
exclude 240B
HEAD 23B
LICENSE 1KB
test_demo.c 1KB
sm2_cipher_error_codes.h 1KB
test_sm2_encrypt_and_decrypt.c 8KB
README.md 954B
test_sm2_encrypt_and_decrypt.h 1KB
sm2_encrypt_and_decrypt.c 16KB
共 61 条
- 1
资源评论
- qq_282339952020-04-16编译不过,也没写怎么进行编译
- 西伯利亚的风2019-10-18不错,不错,非常好,代码简洁无冗余,非常有参考价值!
qq_44695487
- 粉丝: 2
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功