duanhongyi / gmssl

a python crypto for sm2/sm3/sm4
MIT License
474 stars 139 forks source link

SM2 的mode默认值注释和实际传入的不相符 #92

Open Miguitian opened 2 months ago

Miguitian commented 2 months ago

image 网上查到的默认是也1,但是实际默认的是0

fengjing commented 2 months ago

强制 mode=1