发布 v0.2.1:SM2 密钥交换、HKDF-SM3、DER 编解码

新增功能:
- SM2 密钥交换:GB/T 32918.3 完整协议(exchange_a/b)、ECDH
- SM2 DER 编解码:签名 DER、SEC1/PKCS#8 私钥解析
- SM2 便捷 API:sign_message/verify_message 自动计算 Z 值
- HKDF-SM3:RFC 5869 兼容的 HKDF
- SM3 Hasher 增强:reset/finalize_reset 流式复用
- SM4 AEAD 合并格式:GCM/CCM combined(TLS 格式)

文档更新:
- CHANGELOG 添加 v0.2.1 变更记录
This commit is contained in:
huangxt
2026-03-08 20:58:36 +08:00
parent a58fe8275e
commit 2580571881
11 changed files with 1525 additions and 17 deletions
Generated
+1 -1
View File
@@ -422,7 +422,7 @@ checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
[[package]]
name = "libsmx"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"criterion",
"crypto-bigint",