Skip to content

Releases: emmansun/gmsm

v0.29.3

22 Nov 09:48
e2c430a
Compare
Choose a tag to compare

Notable Changes:

  • pkcs7: improve compatibility with CFCA #270
  • pkcs7: change EncryptedContent to implicit
  • pkcs7: provide session interface #276
  • smx509: ParseCertificatePEM validate type
  • sm3: arm64 sm3ni change slice to array
  • sm3: ppc64x predefine constants for ROTL
  • sm3: ppc64x change T handling method #267
  • sm3: ppc64x transpose matrix #265
  • sm3: s390x transpose matrix #266
  • sm4: use package level instead of local for shared variables
  • zuc: refactoring
  • internal/subtle: document and test XORBytes overlap rules #272
  • internal/bigmod: drop math/big dependency #273
  • internal/byteorder: new package #275
  • internal/sm2ec: improve purego implementation's performance #274
  • build(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0

v0.29.3-beta.2

20 Nov 02:01
6e742e6
Compare
Choose a tag to compare
v0.29.3-beta.2 Pre-release
Pre-release

Notable Changes:

  • pkcs7: change EncryptedContent to implicit.

v0.29.3-beta.1

20 Nov 00:43
0e61642
Compare
Choose a tag to compare
v0.29.3-beta.1 Pre-release
Pre-release

Notable Changes:

  • pkcs7: improve compatibility with CFCA #270
  • smx509: ParseCertificatePEM validate type
  • sm3: arm64 sm3ni change slice to array
  • sm3: ppc64x predefine constants for ROTL
  • sm3: ppc64x change T handling method #267
  • sm3: ppc64x transpose matrix #265
  • sm3: s390x transpose matrix #266
  • sm4: use package level instead of local for shared variables
  • zuc: refactoring
  • build(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0

v0.29.2

08 Nov 09:47
b721bed
Compare
Choose a tag to compare

Notable Changes:

  • pkcs7: align pkix.AlgorithmIdentifier Null Parameters with others.
  • sm4: arm64 sm4key export optimization.
  • sm4: arm64 fix sm4ni gcm init issue (orignally used AES-NI).
  • sm4: gcm purego optimize NewGCM method.
  • sm4: ppc64x transpose matrix optimization with VMRGEW/VMRGOW/XXPERMDI instructions #261
  • sm4: ppc64x optimization with VPERMXOR instruction for SM4-SBOX #262
  • zuc: ppc64x optimization with VPERMXOR instruction for both ZUC-SBOX and data bit reverse #262

v0.29.1

11 Oct 00:15
6f3271d
Compare
Choose a tag to compare

Notable Changes:

  • pkcs7: SignWithoutAttr supports skip certificates #254
  • build(deps): bump golang.org/x/crypto from 0.27.0 to 0.28.0 #257
  • build(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0 #258

v0.29.0

06 Oct 07:26
c8a8033
Compare
Choose a tag to compare

Notable Changes:

(Mainly for ppc64x and s390x)

  • cipher: s390x/ppc64x xts optimzation.#250
  • pkcs7: support GetRecipients.
  • sm3: s390x/ppc64x block and kdf optimzation.#244 #245
  • sm4: ppc64x optimization with vsbox and clmul.#249
  • sm4: expandkey align with single block encryption.
  • sm4: arm64 cbc decrypt, reduce memory load.
  • sm9/bn256: ppc64x gfp and value copy/conditional move optimization.#256
  • zuc: ppc64x eea optimization with vsbox.#254
  • zuc: ppc64x eia and eia256 optimization with clmul.#253
  • zuc: arm64 eea optimization, reduce MOVW instructions.

v0.28.0

30 Aug 08:52
8a2ba16
Compare
Choose a tag to compare

Notable Changes:

  • pbes: initial supports GM/T 0091-2020 #243
  • pkcs8: support legacy PBES1 algorithms #242
  • sm2: public key recover from signature bug #239
  • smx509: 兼容PublicKeyAlgorithm OID等于1.2.156.10197.1.301的SM2证书的解析 #236
  • zuc: eea实现通过Stream规范性测试 #240
  • internal/cryptotest: 从最新的Golang引入,提高对称加密、HASH实现的规范性
  • internal/sm2ec: replace P256OrdInverse with generated code #241
  • internal/sm2ec: ppc64le asm implementation #237
  • internal/sm2ec: s390x asm implementation #235
  • internal/subtle: port ppc64x from Golang and implement s390x #238

v0.27.4

28 Jun 09:52
8b0ad54
Compare
Choose a tag to compare

Notable Changes:

  • smx509: fix CSRResponse sign certs handle issue
  • pkcs7: follow GB/T 35275-2017 9.1 strictly
  • pkcs7: polish, improve maintainability
  • doc: add pkcs12.md, zuc.md

v0.27.3

14 Jun 09:41
1ef4cf9
Compare
Choose a tag to compare

Notable Changes:

  • pkcs7: Support legacy CFCA SADK(3.1.X)'s envelope message functions.
  • smx509: Support CSR Response Marshalling/Parsing according to "GM/T 0092-2020 Specification of certificate request syntax based on SM2 cryptographic algorithm".
  • doc: 新增《CFCA互操作性指南》

v0.27.3-beta.1

11 Jun 03:04
4db3046
Compare
Choose a tag to compare
v0.27.3-beta.1 Pre-release
Pre-release

Just for #225 test