11 Commits

Author SHA1 Message Date
Sun Yimin
2c688bb9d3
subtle: align byte equal alg 2024-05-28 17:33:48 +08:00
Sun Yimin
c99ad27ce1
kdf: share Z hash state #220 2024-05-15 08:28:47 +08:00
Sun Yimin
880691746d
sm2: makes CalculateSM2Hash public 2023-12-12 08:12:28 +08:00
Sun Yimin
8041c5e310
sm2: remove CSPRNG usage 2023-06-27 08:57:31 +08:00
Sun Yimin
1ed0dbb068
sm2: make opts fields private 2023-03-22 17:29:16 +08:00
Sun Yimin
32acdfea7e
sm2: ErrDecryption, avoid adaptive attacks 2022-12-06 08:39:16 +08:00
Sun Yimin
60c3caf9db
sm2: align error message 2022-12-05 17:12:14 +08:00
Sun Yimin
13f777bb2f
sm2: verify validity of signature parameters in Verify 2022-12-02 08:41:41 +08:00
Sun Yimin
aede405cdd
sm2: add deprecated comment 2022-11-24 10:18:03 +08:00
Sun Yimin
fc8fe5c631
sm2/enc: use bigmod and sm2ec instead of math/big and crypto/elliptic 2022-11-23 17:34:08 +08:00
Sun Yimin
3bd57e44f4
move file 2022-11-23 10:21:29 +08:00