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

当所选对称算法块长度大于16字节(128位)时out_buf[]预留的空间不足将发生溢出 #1

Open
liuqun opened this issue Apr 9, 2018 · 0 comments

Comments

@liuqun
Copy link
Owner

liuqun commented Apr 9, 2018

测试程序中假定块长度必须是16字节, 否则输出缓冲区会溢出

https://github.com/liuqun/openssl-sm4-demo/blob/475732997a3727a682b5bb61bf6adb407baef6ce/main.c#L32

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