{"action":"created","issue":{"url":"https://api.github.com/repos/guanzhi/GmSSL/issues/489","repository_url":"https://api.github.com/repos/guanzhi/GmSSL","labels_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/489/comments","events_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/489/events","html_url":"https://github.com/guanzhi/GmSSL/issues/489","id":320732000,"node_id":"MDU6SXNzdWUzMjA3MzIwMDA=","number":489,"title":"sm2签名算法的一些疑问","user":{"login":"Guokeeng","id":39049121,"node_id":"MDQ6VXNlcjM5MDQ5MTIx","avatar_url":"https://avatars1.githubusercontent.com/u/39049121?v=4","gravatar_id":"","url":"https://api.github.com/users/Guokeeng","html_url":"https://github.com/Guokeeng","followers_url":"https://api.github.com/users/Guokeeng/followers","following_url":"https://api.github.com/users/Guokeeng/following{/other_user}","gists_url":"https://api.github.com/users/Guokeeng/gists{/gist_id}","starred_url":"https://api.github.com/users/Guokeeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guokeeng/subscriptions","organizations_url":"https://api.github.com/users/Guokeeng/orgs","repos_url":"https://api.github.com/users/Guokeeng/repos","events_url":"https://api.github.com/users/Guokeeng/events{/privacy}","received_events_url":"https://api.github.com/users/Guokeeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-07T09:15:06Z","updated_at":"2018-11-06T03:50:59Z","closed_at":null,"author_association":"NONE","body":"@guanzhi 老师您好，我需要用bouncycastle库实现java版，有几个问题请教一下\r\n1.sm2签名算法流程是否与下图一致\r\n2.计算杂凑值时AID是否为默认值1234567812345678\r\n3.是否可以公开一下椭圆参数曲线：p，a，b，xG，yG，n\r\n![sm](https://user-images.githubusercontent.com/39049121/39694456-f849d5ec-5219-11e8-9893-8822c1143784.png)\r\n"},"comment":{"url":"https://api.github.com/repos/guanzhi/GmSSL/issues/comments/436122445","html_url":"https://github.com/guanzhi/GmSSL/issues/489#issuecomment-436122445","issue_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/489","id":436122445,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjEyMjQ0NQ==","user":{"login":"ZZMarquis","id":7624583,"node_id":"MDQ6VXNlcjc2MjQ1ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/7624583?v=4","gravatar_id":"","url":"https://api.github.com/users/ZZMarquis","html_url":"https://github.com/ZZMarquis","followers_url":"https://api.github.com/users/ZZMarquis/followers","following_url":"https://api.github.com/users/ZZMarquis/following{/other_user}","gists_url":"https://api.github.com/users/ZZMarquis/gists{/gist_id}","starred_url":"https://api.github.com/users/ZZMarquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZZMarquis/subscriptions","organizations_url":"https://api.github.com/users/ZZMarquis/orgs","repos_url":"https://api.github.com/users/ZZMarquis/repos","events_url":"https://api.github.com/users/ZZMarquis/events{/privacy}","received_events_url":"https://api.github.com/users/ZZMarquis/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T03:50:59Z","updated_at":"2018-11-06T03:50:59Z","author_association":"NONE","body":"我们同事发现了问题所在：BC是在签名的时候自动做了预处理的。GMSSL需要自己调用SM2_compute_message_digest先做预处理再调用验签接口。签名同理。"}}
{"actor":{"display_login":"ZZMarquis"}}