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

sm4_cbc 命令加解密报错 #1759

Open
joema-m opened this issue Oct 18, 2024 · 0 comments
Open

sm4_cbc 命令加解密报错 #1759

joema-m opened this issue Oct 18, 2024 · 0 comments

Comments

@joema-m
Copy link

joema-m commented Oct 18, 2024

KEY=0123456789ABCDEFFEDCBA9876543210
IV=0123456789ABCDEFFEDCBA9876543210

gmssl sm4_cbc -encrypt -key $KEY -iv $IV -in README.md -out sm4.cbc
gmssl sm4_cbc -decrypt -key $KEY -iv $IV -in sm4.cbc -out a.md

/root/download/GmSSL-master/src/sm4_cbc.c:68:sm4_cbc_padding_decrypt():
/root/download/GmSSL-master/src/sm4_cbc.c:236:sm4_cbc_decrypt_finish():
/root/download/GmSSL-master/tools/sm4_cbc.c:189:sm4_cbc_main():

image

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