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

TLCP中ECDHE_SM4_GCM_SM3/ECDHE_SM4_CBC_SM3,使用SM2 key exchange生成的到底是预主密钥还是主密钥? #66

Open
emmansun opened this issue Oct 17, 2022 · 1 comment

Comments

@emmansun
Copy link

TLCP中ECDHE_SM4_GCM_SM3/ECDHE_SM4_CBC_SM3,使用SM2 key exchange生成的到底是预主密钥还是主密钥?
如果是预主密钥,长度是多少?这个在GB/T 38636-2020也没有看到详细信息。

@emmansun
Copy link
Author

else if (alg_k & SSL_kSM2DH)

这里是预主密钥,长度48

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

1 participant