We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
对于下面这个测试例,输出的密文CipherText是正确的,但校验值Authentication Tag不正确
SM4-GCM Test Vectors Initialization Vector: 00001234567800000000ABCD Key: 0123456789ABCDEFFEDCBA9876543210 Plaintext: AAAAAAAAAAAAAAAABBBBBBBBBBBBBBBB CCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDD EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFF EEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAA Associated Data: FEEDFACEDEADBEEFFEEDFACEDEADBEEFABADDAD2 CipherText: 17F399F08C67D5EE19D0DC9969C4BB7D 5FD46FD3756489069157B282BB200735 D82710CA5C22F0CCFA7CBF93D496AC15 A56834CBCF98C397B4024A2691233B8D Authentication Tag: 83DE3541E4C2B58177E065A9BF7B62EC
The text was updated successfully, but these errors were encountered:
你可以参考cipher/gcm_sm4_test.go中TestSM4GCM的最后一组测试数据。
TestSM4GCM
Sorry, something went wrong.
No branches or pull requests
对于下面这个测试例,输出的密文CipherText是正确的,但校验值Authentication Tag不正确
The text was updated successfully, but these errors were encountered: