Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMSSL3.1 大端如何使用 #1748

Open
LCHOICEzz opened this issue Sep 26, 2024 · 1 comment
Open

GMSSL3.1 大端如何使用 #1748

LCHOICEzz opened this issue Sep 26, 2024 · 1 comment

Comments

@LCHOICEzz
Copy link

请问GMSSL3.1 大端如何使用,我现在在小端机器上产生的SM2签名值,需要在大端上验签,但是验签失败。并且我在大端机器上产生的SM2签名值,在公开网站上验签也会失败。

@deatil
Copy link

deatil commented Sep 26, 2024

gmssl 默认的数据转换不是根据硬件变化的,签名和验证是固定的使用大端
如果有问题,你可以检查下输入的数据有转换是用的c隐式转换还是手动的转换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants