blob: 2e40d61431a3c76672d6436669d861751c79fc8e [file] [log] [blame] [raw]
SM4 Encrypt_ECB #1
sm4_encrypt_ecb:"0123456789abcdeffedcba9876543210":"0123456789abcdeffedcba9876543210":"681edf34d206965e86b3e94f536e4246":0
SM4 Decrypt_ECB #1
sm4_decrypt_ecb:"0123456789abcdeffedcba9876543210":"681edf34d206965e86b3e94f536e4246":"0123456789abcdeffedcba9876543210":0
SM4 Encrypt_ECB #2
sm4_encrypt_ecb:"fedcba98765432100123456789abcdef":"000102030405060708090a0b0c0d0e0f":"f766678f13f01adeac1b3ea955adb594":0
SM4 Decrypt_ECB #2
sm4_decrypt_ecb:"fedcba98765432100123456789abcdef":"f766678f13f01adeac1b3ea955adb594":"000102030405060708090a0b0c0d0e0f":0
SM4 Encrypt_ECB #3
sm4_encrypt_ecb:"0123456789abcdeffedcba9876543210":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":"5ec8143de509cff7b5179f8f474b86192f1d305a7fb17df985f81c8482192304":0
SM4 Decrypt_ECB #3
sm4_decrypt_ecb:"0123456789abcdeffedcba9876543210":"5ec8143de509cff7b5179f8f474b86192f1d305a7fb17df985f81c8482192304":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":0
SM4 Encrypt_ECB #4
sm4_encrypt_ecb:"fedcba98765432100123456789abcdef":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":"c5876897e4a59bbba72a10c83872245b12dd90bc2d200692b529a4155ac9e600":0
SM4 Decrypt_ECB #4
sm4_decrypt_ecb:"fedcba98765432100123456789abcdef":"c5876897e4a59bbba72a10c83872245b12dd90bc2d200692b529a4155ac9e600":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":0
SM4 Encrypt_CBC #1
sm4_encrypt_cbc:"0123456789abcdeffedcba9876543210":"0123456789abcdeffedcba9876543210":"0123456789abcdeffedcba98765432100123456789abcdeffedcba9876543210":"2677f46b09c122cc975533105bd4a22af6125f7275ce552c3a2bbcf533de8a3b":0
SM4 Decrypt_CBC #1
sm4_decrypt_cbc:"0123456789abcdeffedcba9876543210":"0123456789abcdeffedcba9876543210":"2677f46b09c122cc975533105bd4a22af6125f7275ce552c3a2bbcf533de8a3b":"0123456789abcdeffedcba98765432100123456789abcdeffedcba9876543210":0
SM4 Encrypt_CBC #2
sm4_encrypt_cbc:"0123456789abcdeffedcba9876543210":"000102030405060708090a0b0c0d0e0f":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":"78ebb11cc40b0a48312aaeb2040244cb4cb7016951909226979b0d15dc6a8f6d":0
SM4 Decrypt_CBC #2
sm4_decrypt_cbc:"0123456789abcdeffedcba9876543210":"000102030405060708090a0b0c0d0e0f":"78ebb11cc40b0a48312aaeb2040244cb4cb7016951909226979b0d15dc6a8f6d":"aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffaaaaaaaabbbbbbbb":0
SM4 Encrypt_CTR #1
sm4_crypt_ctr:"0123456789abcdeffedcba9876543210":"000102030405060708090a0b0c0d0e0f":"aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbccccccccccccccccddddddddddddddddeeeeeeeeeeeeeeeeffffffffffffffffaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb":"ac3236cb970cc20791364c395a1342d1a3cbc1878c6f30cd074cce385cdd70c7f234bc0e24c11980fd1286310ce37b926e02fcd0faa0baf38b2933851d824514":0
SM4 Decrypt_CTR #1
sm4_crypt_ctr:"0123456789abcdeffedcba9876543210":"000102030405060708090a0b0c0d0e0f":"ac3236cb970cc20791364c395a1342d1a3cbc1878c6f30cd074cce385cdd70c7f234bc0e24c11980fd1286310ce37b926e02fcd0faa0baf38b2933851d824514":"aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbccccccccccccccccddddddddddddddddeeeeeeeeeeeeeeeeffffffffffffffffaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb":0
SM4 Encrypt_CTR #2
sm4_crypt_ctr:"fedcba98765432100123456789abcdef":"000102030405060708090a0b0c0d0e0f":"aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbccccccccccccccccddddddddddddddddeeeeeeeeeeeeeeeeffffffffffffffffaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb":"5dcccd25b95ab07417a08512ee160e2f8f661521cbbab44cc87138445bc29e5c0ae0297205d62704173b21239b887f6c8cb5b800917a2488284bde9e16ea2906":0
SM4 Decrypt_CTR #2
sm4_crypt_ctr:"fedcba98765432100123456789abcdef":"000102030405060708090a0b0c0d0e0f":"5dcccd25b95ab07417a08512ee160e2f8f661521cbbab44cc87138445bc29e5c0ae0297205d62704173b21239b887f6c8cb5b800917a2488284bde9e16ea2906":"aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbccccccccccccccccddddddddddddddddeeeeeeeeeeeeeeeeffffffffffffffffaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb":0